setSourceCall method
Use created texture for rendering video of specified call
Implementation
void setSourceCall(int callId) async {
if (callId == kInvalidCallId) return;
_srcCallId = callId;
try {
await PjsipConnectFlutter().videoRendererSetSourceCall(
_textureId,
callId,
);
_logs?.print('Assign textureId: $textureId with callId:$_srcCallId');
} on PlatformException catch (err) {
_logs?.print(
'Cant set src call for renderer Err: ${err.code} ${err.message}',
);
}
}