callUpdateMuteStates method

Future<UpdateMuteStatesResponse> callUpdateMuteStates(
  1. Context ctx,
  2. UpdateMuteStatesRequest req
)

Implementation

Future<UpdateMuteStatesResponse> callUpdateMuteStates(
    twirp.Context ctx, UpdateMuteStatesRequest req) async {
  try {
    Uri url = Uri.parse(baseUrl +
        prefix +
        'stream.video.sfu.signal.SignalServer/UpdateMuteStates');
    final data = await doProtobufRequest(ctx, url, hooks, req);
    final UpdateMuteStatesResponse res = UpdateMuteStatesResponse.create();
    res.mergeFromBuffer(data);
    return Future.value(res);
  } catch (e) {
    rethrow;
  }
}