internal MediaStreamTrack(WebRTC webRtc, MediaType type, uint trackId)
 {
     _webRtc  = webRtc;
     _trackId = trackId;
     Type     = type;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebRTCDataChannel"/> class.
 /// </summary>
 /// <param name="webRtc">The owner of this WebRTCDataChannel.</param>
 /// <param name="label">The name of this data channel.</param>
 /// <exception cref="ArgumentNullException">The webRtc or label is null.</exception>
 /// <since_tizen> 9 </since_tizen>
 public WebRTCDataChannel(WebRTC webRtc, string label)
     : this(webRtc, label, null)
 {
 }