To support new MCU with JS SDK, MCU needs to be notified when SDK clients have completed the SDP negotiation process i.e. successfully/unsuccessfully setRemoteDescription in answerHandler. To enable this, a new SIG_MESSAGE_TYPE is created answerAck to be sent to MCU.
Created a function acknowledgeAnswer
Calling acknowledgeAnswer in answerHandler success and failure callbacks with respective parameters.
Message is sent only if MCU is in the room (target is MCU).
Purpose of this PR:
To support new MCU with JS SDK, MCU needs to be notified when SDK clients have completed the SDP negotiation process i.e. successfully/unsuccessfully
setRemoteDescription
inanswerHandler
. To enable this, a newSIG_MESSAGE_TYPE
is createdanswerAck
to be sent to MCU.acknowledgeAnswer
acknowledgeAnswer
inanswerHandler
success and failure callbacks with respective parameters.See ESS-1454 for more details.