callStopNoiseCancellation method
Future<StopNoiseCancellationResponse>
callStopNoiseCancellation(
- Context ctx,
- StopNoiseCancellationRequest req
Implementation
Future<StopNoiseCancellationResponse> callStopNoiseCancellation(
twirp.Context ctx, StopNoiseCancellationRequest req) async {
try {
Uri url = Uri.parse(baseUrl +
prefix +
'stream.video.sfu.signal.SignalServer/StopNoiseCancellation');
final data = await doJSONRequest(ctx, url, hooks, req);
final StopNoiseCancellationResponse res =
StopNoiseCancellationResponse.create();
res.mergeFromProto3Json(json.decode(data));
return Future.value(res);
} catch (e) {
rethrow;
}
}