This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peerConnection = peerConnectionFactory.createPeerConnection(rtcConfig, new CustomPeerConnectionObserver() { | |
@Override | |
public void onIceCandidate(IceCandidate iceCandidate) { | |
super.onIceCandidate(iceCandidate); | |
// | |
} | |
@Override | |
public void onDataChannel(DataChannel dataChannel) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.matrixf...n; | |
import org.webrtc.SdpObserver; | |
import org.webrtc.SessionDescription; | |
public class CustomSdpObserver implements SdpObserver { | |
public CustomSdpObserver(){ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.m...; | |
import com.mat...; | |
import org.webrtc.DataChannel; | |
import org.webrtc.IceCandidate; | |
import org.webrtc.MediaStream; | |
import org.webrtc.PeerConnection; | |
import org.webrtc.RtpReceiver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.m...; | |
import org.webrtc.DataChannel; | |
public class CustomDataChannelObserver implements DataChannel.Observer { | |
public CustomDataChannelObserver(){ | |
} | |
@Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 29 | |
buildToolsVersion "29.0.2" | |
defaultConfig { | |
applicationId "com.matr..." | |
minSdkVersion 21 | |
targetSdkVersion 29 | |
versionCode 1 |
NewerOlder