prepareReceiveVideoFrom method
Sends the prepareReceiveVideoFrom to the WebSocket server
Implementation
void prepareReceiveVideoFrom(
RemoteParticipant remoteParticipant, String streamId) {
final prepareReceiveVideoFromParams = {
'sender': streamId,
'reconnect': 'false',
};
idsPrepareReceiveVideo[sendJson(JsonConstants.prepareReceiveVideoMethod,
prepareReceiveVideoFromParams)] =
Pair(remoteParticipant.connectionId!, streamId);
}