Skip to content

Conversation

@nickvergessen
Copy link
Member

This will make possible to explicitly call it from other objects rather
than having to emitting events in the WebRTC object.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This will make possible to decouple the messages sent for the initial
media state from the messages sent when the media state changes during
the call.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Currently only changes in the audio, speaking and video state are
notified, although in the future it should also notify about the nick,
the raised hand or any other state.

Similarly, although right now it only notifies of changes in the state
it will also take care of notifying other participants about the current
state when they join the call (or the local participant joins).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This will make possible to use module augmentation to provide a
TypeScript definition of the class that includes the methods added by
the EmitterMixin.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This will make possible to explicitly call them from other objects
rather than having to emitting events in the WebRTC object.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Besides changing where they are sent in the code the new code also
reduces the number of signaling messages, as now it sends it directly to
each participant that joins rather than to every participant that was in
the call when a participant established a connection (or joined, if that
participant was not a publisher).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@github-actions github-actions bot changed the title Backport/16420/v22.0.4 [stable32] Backport/16420/v22.0.4 Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants