public void SetIdentityProvider(string domainName, string protocol = null, string userName = null) => JsRuntime.CallJsMethodVoid(NativeObject, "setIdentifierProvider", new object[] { domainName, protocol, userName });
public void InsertDTMF(string tones, ulong duration = 100, ulong interToneGap = 70) => JsRuntime.CallJsMethodVoid(NativeObject, "insertDTMF", tones, duration, interToneGap);
public void RestartIce() => JsRuntime.CallJsMethodVoid(NativeObject, "restartIce");
public void SetConfiguration(RTCConfiguration configuration) => JsRuntime.CallJsMethodVoid(NativeObject, "setConfiguration", configuration);
public void RemoveTrack(IRTCRtpSender sender) => JsRuntime.CallJsMethodVoid(NativeObject, "removeTrack", sender.NativeObject);
public void GetIdentityAssertion() => JsRuntime.CallJsMethodVoid(NativeObject, "getIdentityAssertion");
public void Close() => JsRuntime.CallJsMethodVoid(NativeObject, "close");
public void SetStreams(IMediaStream[] mediaStreams) => JsRuntime.CallJsMethodVoid( NativeObject, "setStreams", mediaStreams.Select(stream => stream.NativeObject).ToArray());
public void RemoveTrack(IMediaStreamTrack track) => JsRuntime.CallJsMethodVoid(NativeObject, "removeTrack", track.NativeObject);