Is it possible to join multiple channels as audience at the same time in agora.io? - agora.io

currently I am using Agora Web SDK for Live Streaming. In my website Multiple users can live stream at the same time. so i want to show multiple live streams on single page. so for that i am calling join method multiple time and it gives me "Client already in connecting/connected state" Error. so i have to leave previous stream before joining another stream. is there any solution so that i can join multiple channels( Live Streams ) at the same time as Audience. ? so that i can see multiple streams at the same time ?

Agora has a detailed blog explaining how you can join multiple livestream channels at once. Check it out here: https://www.agora.io/en/blog/connecting-to-multiple-channels-with-the-agora-web-sdk/

Related

How can I get all active streamings in agora.io?

I have just started using Agora.io and want to implement it to a project of mine.
Following some tutorials I can already start a streaming as host, and other user can join to it as long as the stream is published.
My problem is I would like to show the join button only when the stream is published and not all the time. Also I will have dynamic channels in the future so Iam looking for a way to get the list of all active channels. How can I do that?
you can use this Restful API to get all the active channels: https://docs.agora.io/en/Interactive%20Broadcast/dashboard_restful_live?platform=All%20Platforms#get-the-project-list-get
When there is at least one user in the channel, the channel is considered as an active channel.

"Invalid state transition" response when switching from test to live

I have a problem with the YouTube Livestreaming API, and it is only causing a problem on one single account.
The CMS I support has a live to YouTube function that automatically schedules and delivers a livestream from our studios to YouTube as a parallel channel to our website. We support multiple teams who all authenticate their accounts against our application to do this.
About 6 weeks ago we had a single group report that they are no longer seeing their content streaming live to YouTube. All the other accounts, as well as our test channels, are working fine.
With the account in question we can see the livestream get created, the broadcast is created, and they are bound together. Once the encoders are started we are able to successfully transition the stream to "TESTING" without problem approximately 10 minutes prior to the scheduled start time. Where we are seeing the problem is in the final step where we transition the stream from "TESTING" to "LIVE" at the starting time of the broadcast. We get a response with "(#100) Status transition not allowed" when we attempt to transition to live. Prior to this step we retrieve the lifeCycleStatus value, and it shows as "TESTING".
If a user logs into YouTube Studio at this point, they are able to manually transition the stream to live.
The fact that this is working with multiple other accounts, and all are using a common code base and app, I am concerned that there is something about the account itself that is causing this issue. I have not been able to see any significant differences in the account settings when comparing with our test account.
Is there any way I can get further information about why the transition is failing, or something I should be specifically looking for as a potential problem?

Single youtube API to get total number of videos and and total number of subscribers on my channel

I tried Analytics and Reporting APIs separately. And there are questions and answers which deals with them separately. But I want to know is there any single one shot API which gives both? The total number of videos means all the videos irrespective of the playlists. I'm doing this with ReactJS for my own portfolio website.
I did some more research on this. I couldn't find a full fledged api with documentation but you can use this:
https://www.googleapis.com/youtube/v3/channels?part=statistics&id=your-channel-id&key=your-api-key
Make sure you've that api enabled. I'm using Youtube Analytics.

Is it possible to implement one-to-many WebRTC video room using Twilio Video API?

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.

Creating Multiple Google/YouTube Data API Keys

Is it possible to create multiple API keys for the YouTube Data API?
The majority of Live YouTube Subscriber Counters use loads of different API keys for their counters (as can be seen in their JavaScript code).
The aim of doing so is to not exceed the daily quota limit of 1,000,000 and having to send requests every few seconds per page visited would mean that the limit would be reached very quickly.
How are they able to get away with this?
Here is a SO post to answer your question.
Technically you can run your application using different API Keys it
should work fine. Technically there is nothing wrong with creating
additional projects on Google Developer console. You don't need to go
as far as creating another Google account.