Пример #1
0
 internal void SetHandle(VideoTrackSourceHandle nativeHandle)
 {
     Debug.Assert(_nativeHandle == null);
     Debug.Assert(!nativeHandle.IsClosed);
     _nativeHandle = nativeHandle;
     // Note that this prevents the object from being garbage-collected until it is disposed.
     _selfHandle = Utils.MakeWrapperRef(this);
 }
Пример #2
0
 internal DeviceVideoTrackSource(VideoTrackSourceHandle nativeHandle) : base(nativeHandle)
 {
 }
Пример #3
0
 internal void SetHandle(VideoTrackSourceHandle nativeHandle)
 {
     Debug.Assert(_nativeHandle == null);
     _nativeHandle = nativeHandle;
 }
Пример #4
0
 internal VideoTrackSource(VideoTrackSourceHandle nativeHandle)
 {
     Debug.Assert(!nativeHandle.IsClosed);
     _nativeHandle = nativeHandle;
 }
Пример #5
0
 internal VideoTrackSource(VideoTrackSourceHandle nativeHandle)
 {
     SetHandle(nativeHandle);
 }