setSourceCall method

void setSourceCall(
  1. int callId
)

Use created texture for rendering video of specified call

Implementation

void setSourceCall(int callId) async {
  if(callId==kInvalidCallId) return;

  try{
    await SiprixVoipSdk().videoRendererSetSourceCall(_textureId, callId);
  } on PlatformException catch (err) {
    _logs?.print('Cant set src call for renderer Err: ${err.code} ${err.message}');
  }
}