Example #1
0
 /// <summary>
 /// Creates a NativeRenderer for the provided PeerConnection.
 /// </summary>
 /// <param name="peerConnection"></param>
 public NativeVideo(IntPtr videoHandle)
 {
     _nativeVideoHandle             = NativeVideoInterop.Create(videoHandle);
     _lookupDictionary[videoHandle] = this;
 }
Example #2
0
 /// <summary>
 /// Creates a NativeRenderer for the provided PeerConnection.
 /// </summary>
 /// <param name="peerConnection"></param>
 public NativeVideo(IntPtr videoHandle)
 {
     _nativeVideoHandle = NativeVideoInterop.Create(videoHandle);
 }