Esempio n. 1
0
        public Task AddIceCandidate(RTCIceCandidateInit candidate)
        {
            var x = candidate.ToNative();

            ((Webrtc.RTCPeerConnection)NativeObject).AddIceCandidate(x /*candidate.ToNative()*/);
            return(Task.CompletedTask);
        }
Esempio n. 2
0
        public Task AddIceCandidate(RTCIceCandidateInit candidate)
        {
            var x = candidate.ToNative();

            System.Diagnostics.Debug.WriteLine($"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ SET ICE: {x.AdapterType} {x.Sdp} {x.SdpMid} {x.SdpMLineIndex} {x.ServerUrl}");
            ((Webrtc.PeerConnection)NativeObject).AddIceCandidate(x);
            return(Task.CompletedTask);
        }