Java 类org.webrtc.RtpSender 实例源码

项目:nc-android-webrtcpeer    文件:PeerConnectionClient.java   
private void findVideoSender() {
    for (RtpSender sender : peerConnection.getSenders()) {
        if (sender.track() != null) {
            String trackType = sender.track().kind();
            if (trackType.equals(VIDEO_TRACK_TYPE)) {
                Log.d(TAG, "Found video sender.");
                localVideoSender = sender;
            }
        }
    }
}
项目:AppRTC-Android    文件:PeerConnectionClient.java   
private void findVideoSender() {
  for (RtpSender sender : peerConnection.getSenders()) {
    if (sender.track() != null) {
      String trackType = sender.track().kind();
      if (trackType.equals(VIDEO_TRACK_TYPE)) {
        Log.d(TAG, "Found video sender.");
        localVideoSender = sender;
      }
    }
  }
}
项目:AndroidRTC    文件:PeerConnectionClient.java   
private void findVideoSender() {
    for (RtpSender sender : peerConnection.getSenders()) {
        if (sender.track() != null) {
            String trackType = sender.track().kind();
            if (trackType.equals(VIDEO_TRACK_TYPE)) {
                Log.d(TAG, "Found video sender.");
                localVideoSender = sender;
            }
        }
    }
}
项目:voip_android    文件:PeerConnectionClient.java   
private void findVideoSender() {
    for (RtpSender sender : peerConnection.getSenders()) {
        if (sender.track() != null) {
            String trackType = sender.track().kind();
            if (trackType.equals(VIDEO_TRACK_TYPE)) {
                Log.d(TAG, "Found video sender.");
                localVideoSender = sender;
            }
        }
    }
}
项目:restcomm-android-sdk    文件:PeerConnectionClient.java   
private void findVideoSender() {
  for (RtpSender sender : peerConnection.getSenders()) {
    if (sender.track() != null) {
      String trackType = sender.track().kind();
      if (trackType.equals(VIDEO_TRACK_TYPE)) {
        Log.d(TAG, "Found video sender.");
        localVideoSender = sender;
      }
    }
  }
}