RTCMultiConnection
RTCMultiConnection copied to clipboard
Auto Open behavior of meeting room link possible?
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.
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.