[1] Can browser client join multiple rooms at same time from same tab ?
[2] If yes, can audio/video stream shared in room be controller seperatly?
For eg: mute in one room , but unmute in other room.
Twilio developer evangelist here.
There is, as far as I'm aware, no limit to joining multiple rooms within Twilio Programmable Video. You can mute and unmute audio and video tracks on a track by track (and therefore room by room) basis.
Let me know if you try this and you have any problems with it.
Related
I am not a coder and having a web platform built with PHP that includes a series of 1-1 video chats in a scheduled networking "event". The problem that the developer is not able to solve with the video plug in that they are using (https://www.magnoliyan.com/video-chat-pro/) is that the user needs to give camera permisson before each chat. I need this permisson to happen one time only at the beginning of the event and not need there to be any further permission giving throughout the event. Of course I would like this to work on all platforms. I'm exploring agora.io as an option to solve this and replace the current plug in with agora. Does anyone know if agora would be the right fit for this or which video chat platform I should use to accomplish this? And if there is specific developer kind of language or code - please speak in as if I was a developer and I will pass on what you say to him directly. You don't need to worry about whether I will understand it.
Thanks!
Jon
Agora.io like any other WebRTC provider requests device camera permission only once. And all subsequent Videocall won't need any special permission (provided that they are on the same domain)
More specifically, Agora.io requests browser permission when stream.init method is invoked. This also turns on the camera light. stream.close turns off the camera light and deallocates the resources.
However, the subsequent stream.init function calls do not require permissions. (Camera light will just turn on)
References:
stream.init: https://docs.agora.io/en/Video/API%20Reference/web/interfaces/agorartc.stream.html#init
stream.close: https://docs.agora.io/en/Video/API%20Reference/web/interfaces/agorartc.stream.html#close
I am using twilio to in my app for a peer to peer video chat (using Small Group Room with max 2 participants). I have enabled video recording in my backend so I am able to record and save the videos but the problem occurs when I try to use the compositions API.
Composition API requires video_sources which is an array of video sources that will be used in the composition. Nowhere on the documentation it says how I can set the video source value. I can grab the PARTICIPANT SID and use that but it would be much much easier if I can use a value that is stored in my database. Users are also able to disconnect from the room and connect again so I need to keep track of video sources of a user.
Has anyone came across this issue?
This is a perfect example of what I mean by custom video_source
Link to Twilio Documentation
The compositions API is only supported for Group Rooms.
Comparing Room Types
I have made an alarm clock (using microcontrollers) that plays audio files at different times of the day. Can I make my device play audio files on Google home speakers in the house under same wifi? I will need it to play audio by itself with no input from the user (like pushing cast button)
Please help!
Ishtiaque
No, this feature isn't currently supported. Third party actions for the Google Assistant require immediate invocation, so audio playback can't be scheduled ahead of time.
Is it possible to implement one-to-many WebRTC video room using Twilio Video API? One publisher and many subscribers. Webinar.
Do you mean a group room instead of a peer-to-peer room?
This is possible, and they announced in May'17 an increase in the number of users per room up to 50.
In their documentation and tutorials there is an example on how to start a group room and how to configure it. See this link. You can see how to implement it on different languages. :)
EDIT:
So I don't think you can create the room specifying a user id who would be the presenter, and then automatically all others who join would be just spectators.
Now, when joining a room with Video.connect, you can specify options for audio and video, like:
var Video = require('twilio-video');
// Connect to the Room with just audio
Video.connect('my-token', {
name: 'my-room-name',
audio: true
});
You can see more on how to join and the options you can specify here. So you could always wrap this in your code, and force every other viewer to not send video.
philnash answered in the related topic that it's impossible at the moment.
i implemented group calls in my website, and everything works nice, a few days ago i tested the system again but happend to join in a computer that had no webcam, only mic, and everyone else is not able to listen this user if he have no video. The test was:
User A- video and mic
User B- video and mic
User C- video and mic
User D- only mic
Everyone sees and listen everyone except User D that is not able to be listen from no body.
i tested with difrent computer, just unpluged the webcam and the bug is the same, if i have no video to share and join a grou call with a mic nobody can listen.
Im using last version of kms
Anyone knows if this a kurento Bug or something else?
I mean this type of situation should be fix by default, many people join group calls with no video and others with it, unless i am missing something that i need to add to cover that situations?
Thank you, sorry bad english.
In the room, each client negotiates both audio and video. If you only provide audio, some navigators (like Chrome) can't handle the fact that you have negotiated both audio and video, but are only providing audio. Therefore, it waits until you provide a video track, so both tracks are synchronized.
The solution is to have clients negotiate the type of media they are going to provide, and not both.