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