コード例 #1
0
 public void SetIdentityProvider(string domainName, string protocol = null, string userName = null) =>
 JsRuntime.CallJsMethodVoid(NativeObject, "setIdentifierProvider",
                            new object[]
 {
     domainName,
     protocol,
     userName
 });
コード例 #2
0
ファイル: RTCDTMFSender.cs プロジェクト: melihercan/WebRTCme
 public void InsertDTMF(string tones, ulong duration = 100, ulong interToneGap = 70) =>
 JsRuntime.CallJsMethodVoid(NativeObject, "insertDTMF", tones, duration, interToneGap);
コード例 #3
0
 public void RestartIce() => JsRuntime.CallJsMethodVoid(NativeObject, "restartIce");
コード例 #4
0
 public void SetConfiguration(RTCConfiguration configuration) => JsRuntime.CallJsMethodVoid(NativeObject,
                                                                                            "setConfiguration", configuration);
コード例 #5
0
 public void RemoveTrack(IRTCRtpSender sender) => JsRuntime.CallJsMethodVoid(NativeObject, "removeTrack",
                                                                             sender.NativeObject);
コード例 #6
0
 public void GetIdentityAssertion() =>
 JsRuntime.CallJsMethodVoid(NativeObject, "getIdentityAssertion");
コード例 #7
0
 public void Close() => JsRuntime.CallJsMethodVoid(NativeObject, "close");
コード例 #8
0
 public void SetStreams(IMediaStream[] mediaStreams) =>
 JsRuntime.CallJsMethodVoid(
     NativeObject, "setStreams", mediaStreams.Select(stream => stream.NativeObject).ToArray());
コード例 #9
0
ファイル: MediaStream.cs プロジェクト: melihercan/WebRTCme
 public void RemoveTrack(IMediaStreamTrack track) =>
 JsRuntime.CallJsMethodVoid(NativeObject, "removeTrack", track.NativeObject);