public Task SetRemoteDescription(RTCSessionDescriptionInit sessionDescription) => JsRuntime.CallJsMethodVoidAsync(NativeObject, "setRemoteDescription", sessionDescription) .AsTask();
public Task ReplaceTrack(IMediaStreamTrack newTrack = null) => JsRuntime.CallJsMethodVoidAsync(NativeObject, "replaceTrack", newTrack?.NativeObject).AsTask();
public Task AddIceCandidate(RTCIceCandidateInit candidate) => JsRuntime.CallJsMethodVoidAsync(NativeObject, "addIceCandidate", candidate /*.NativeObject*/).AsTask();
public Task SetParameters(RTCRtpSendParameters parameters) => JsRuntime.CallJsMethodVoidAsync(NativeObject, "setParameters", parameters).AsTask();