internal RTCTrackEvent(IntPtr ptrTransceiver, RTCPeerConnection peer) { IntPtr ptrTrack = NativeMethods.TransceiverGetTrack(ptrTransceiver); Track = WebRTC.FindOrCreate(ptrTrack, ptr => new MediaStreamTrack(ptr)); Transceiver = new RTCRtpTransceiver(ptrTransceiver, peer); }
internal RTCTrackEvent(IntPtr ptrTransceiver, RTCPeerConnection peer) { Transceiver = new RTCRtpTransceiver(ptrTransceiver, peer); }