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

Auto Open behavior of meeting room link possible? #1058

Open
izaxon opened this issue Dec 29, 2022 · 1 comment
Open

Auto Open behavior of meeting room link possible? #1058

izaxon opened this issue Dec 29, 2022 · 1 comment

Comments

@izaxon
Copy link

izaxon commented Dec 29, 2022

Hi,

Is it possible to make a video conferencing link (like /demos/video-conferencing.html#3gm5449fdqo) to be "Auto Open or Join Room"? Right now the link will join an existing room, but will not auto create one if none exists.

Purpose: I want to have fixed links, like /demos/video-conferencing.html#project123room than any project member can visit, where the first visitor (re-)creates the room if no one got there first.

@MediaKitApp
Copy link

Answering your question, if possible, it would be something like this:

connection.openOrJoin('room-id', function(isRoomCreated, roomid, error) {
    if (connection.isInitiator === true) {
        // you opened the room
    } else {
        // you joined it
    }
});

Please note that videos/audios cannot be automatically played (without muting) without user interaction first due to browser policy.

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

No branches or pull requests

2 participants