Java Code Examples for org.webrtc.PeerConnection#SignalingState

The following examples show how to use org.webrtc.PeerConnection#SignalingState . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WebRTCWrapper.java    From Pix-Art-Messenger with GNU General Public License v3.0 5 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    Log.d(EXTENDED_LOGGING_TAG, "onSignalingChange(" + signalingState + ")");
    //this is called after removeTrack or addTrack
    //and should then trigger a content-add or content-remove or something
    //https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack
}
 
Example 2
Source File: P2PPeerConnectionChannel.java    From owt-client-android with Apache License 2.0 5 votes vote down vote up
@Override
public void onSignalingChange(final PeerConnection.SignalingState signalingState) {
    callbackExecutor.execute(() -> {
        Log.d(LOG_TAG, "onSignalingChange " + signalingState);
        P2PPeerConnectionChannel.this.signalingState = signalingState;
        if (signalingState == STABLE) {
            synchronized (negLock) {
                negotiating = false;
            }
            checkWaitingList();
        }
    });
}
 
Example 3
Source File: WebRTCWrapper.java    From Conversations with GNU General Public License v3.0 5 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    Log.d(EXTENDED_LOGGING_TAG, "onSignalingChange(" + signalingState + ")");
    //this is called after removeTrack or addTrack
    //and should then trigger a content-add or content-remove or something
    //https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack
}
 
Example 4
Source File: PeerConnectionClient.java    From sample-videoRTC with Apache License 2.0 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState newState) {
  Log.d(TAG, "SignalingState: " + newState);
}
 
Example 5
Source File: AppRTCDemoActivity.java    From WebRTCDemo with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override public void onSignalingChange(
    PeerConnection.SignalingState newState) {
}
 
Example 6
Source File: NBMPeerConnection.java    From webrtcpeer-android with Apache License 2.0 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    Log.d(TAG, "SignalingState: " + signalingState);
}
 
Example 7
Source File: PnPeer.java    From android-webrtc-api with MIT License 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
}
 
Example 8
Source File: RespokeCall.java    From respoke-sdk-android with MIT License 4 votes vote down vote up
@Override public void onSignalingChange(
    PeerConnection.SignalingState newState) {
}
 
Example 9
Source File: P2PPeerConnectionChannel.java    From owt-client-android with Apache License 2.0 4 votes vote down vote up
PeerConnection.SignalingState getSignalingState() {
    return signalingState;
}
 
Example 10
Source File: PeerConnectionChannel.java    From owt-client-android with Apache License 2.0 4 votes vote down vote up
@Override
abstract public void onSignalingChange(PeerConnection.SignalingState signalingState);
 
Example 11
Source File: PeerConnectionAdapter.java    From webrtc-android-tutorial with Apache License 2.0 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    log("onSignalingChange " + signalingState);
}
 
Example 12
Source File: WebRtcClient.java    From imsdk-android with MIT License 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    LogUtil.d(TAG,"onSignalingChange value :"+signalingState);
    Logger.i(TAG + " onSignalingChange value :"+signalingState);
}
 
Example 13
Source File: AppRTCDemoActivity.java    From droidkit-webrtc with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override public void onSignalingChange(
    PeerConnection.SignalingState newState) {
}
 
Example 14
Source File: WebRtcCallService.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState newState) {
    ALog.w(TAG, "onSignalingChange: " + newState);
}
 
Example 15
Source File: Peer.java    From webrtc_android with MIT License 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    Log.i(TAG, "onSignalingChange: " + signalingState);
}
 
Example 16
Source File: PnPeer.java    From AndroidRTC with MIT License 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
}
 
Example 17
Source File: PeerConnectionAdapter.java    From webrtc-android-tutorial with Apache License 2.0 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    log("onSignalingChange " + signalingState);
}
 
Example 18
Source File: PeerConnectionAdapter.java    From webrtc-android-tutorial with Apache License 2.0 4 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {
    log("onSignalingChange " + signalingState);
}
 
Example 19
Source File: VideoChatHelper.java    From Socket.io-FLSocketIM-Android with MIT License 2 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {

}
 
Example 20
Source File: DefaultObserver.java    From Meshenger with GNU General Public License v3.0 2 votes vote down vote up
@Override
public void onSignalingChange(PeerConnection.SignalingState signalingState) {

}