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