예제 #1
0
        internal RTCTrackEvent(IntPtr ptrTransceiver, RTCPeerConnection peer)
        {
            IntPtr ptrTrack = NativeMethods.TransceiverGetTrack(ptrTransceiver);

            Track       = WebRTC.FindOrCreate(ptrTrack, ptr => new MediaStreamTrack(ptr));
            Transceiver = new RTCRtpTransceiver(ptrTransceiver, peer);
        }
예제 #2
0
 internal RTCTrackEvent(IntPtr ptrTransceiver, RTCPeerConnection peer)
 {
     Transceiver = new RTCRtpTransceiver(ptrTransceiver, peer);
 }