Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow connect client to room as passive client without publish any media tracks #75

Open
tyohan opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tyohan
Copy link
Member

tyohan commented Nov 7, 2023

Currently, to connect to the room, the client needs to add the stream to the created peer. With this, only active clients who also publish a media track, either audio or video, can connect to the room. The SDK should allow the creation of a passive client where the client can connect to the room without publishing any media track. This can be done by adding the transceiver to the peer connection and set the direction property to recvonly. We need to add at least 2 recvonly transceivers, one for audio and one for video. This is required to trigger the ice candidate event on peer connection. Without any transceiver added, the ice candidate won't triggered, and the connection can't be established.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant