establishBroadcast method

  1. @override
void establishBroadcast({
  1. required String sdp,
  2. required String roomId,
  3. required String participantId,
  4. required ParticipantSFU participant,
})
override

Implementation

@override
void establishBroadcast({
  required String sdp,
  required String roomId,
  required String participantId,
  required ParticipantSFU participant,
}) {
  _socket?.emit(SocketEvent.publishCSS, {
    "roomId": roomId,
    "sdp": sdp,
    "participantId": participantId,
    "isVideoEnabled": participant.isVideoEnabled,
    "isAudioEnabled": participant.isAudioEnabled,
    "isE2eeEnabled": participant.isE2eeEnabled,
  });
}