Exemplo n.º 1
0
 public static RTCIceCandidateInit FromNative(this Webrtc.RTCIceCandidate nativeIceCandidate) =>
 new RTCIceCandidateInit
 {
     Candidate     = nativeIceCandidate.Sdp,
     SdpMid        = nativeIceCandidate.SdpMid,
     SdpMLineIndex = (ushort)nativeIceCandidate.SdpMLineIndex,
     //UsernameFragment = ???
 };
Exemplo n.º 2
0
 private RTCPeerConnectionIceEvent(Webrtc.RTCIceCandidate nativeIceCandidate)
 {
     _nativeIceCandidate = nativeIceCandidate;
 }
Exemplo n.º 3
0
 public static IRTCPeerConnectionIceEvent Create(Webrtc.RTCIceCandidate nativeIceCandidate) =>
 new RTCPeerConnectionIceEvent(nativeIceCandidate);
Exemplo n.º 4
0
 public void DidChangeLocalCandidate(Webrtc.RTCPeerConnection peerConnection, Webrtc.RTCIceCandidate local,
                                     Webrtc.RTCIceCandidate remote, int lastDataReceivedMs, string reason)
 {
 }
Exemplo n.º 5
0
 public void DidGenerateIceCandidate(Webrtc.RTCPeerConnection peerConnection, Webrtc.RTCIceCandidate candidate)
 {
     OnIceCandidate?.Invoke(this, RTCPeerConnectionIceEvent.Create(candidate));
 }
Exemplo n.º 6
0
 private RTCIceCandidate(Webrtc.RTCIceCandidate nativeIceCandidate) : base(nativeIceCandidate)
 {
 }
Exemplo n.º 7
0
 public static IRTCIceCandidate Create(Webrtc.RTCIceCandidate nativeIceCandidate) =>
 new RTCIceCandidate(nativeIceCandidate);