callUpdateSubscriptions method
Future<UpdateSubscriptionsResponse>
callUpdateSubscriptions(
- Context ctx,
- UpdateSubscriptionsRequest req
Implementation
Future<UpdateSubscriptionsResponse> callUpdateSubscriptions(
twirp.Context ctx, UpdateSubscriptionsRequest req) async {
try {
Uri url = Uri.parse(baseUrl +
prefix +
'stream.video.sfu.signal.SignalServer/UpdateSubscriptions');
final data = await doProtobufRequest(ctx, url, hooks, req);
final UpdateSubscriptionsResponse res =
UpdateSubscriptionsResponse.create();
res.mergeFromBuffer(data);
return Future.value(res);
} catch (e) {
rethrow;
}
}