Testing a HLS playlist - testing

I have generated a HLS adaptive streaming playlist with 3 different quality of videos using AWS elastic transcoder, which is configured to stream over cloudfront.
How do I test if this playlist is properly adapting based on the internet speed and other parameters?
regards
Abhishek

If you have access to Apple's HTTP Live Streaming tools, you can validate your HLS video streams by using the mediastreamvalidator tool.
Alternatively, you could try using a web proxy that allows bandwidth throttling, such as Charles or Fiddler. Try altering the bandwidth setting then check if the player fetches a different playlist that corresponds to the (simulated) bandwidth available.

Related

suggestion needed for Agora WebSDK

Looking for a suggestion,
In a live broadcast show, I also want to record the broadcast so that people can listen to the archived show later. The recoding API, however, does not exist in Web SDK. What would be a good way to record the broadcast?
you can use the Agora Cloud Recording RESTFul API. Here is the quick start guide of that: https://docs.agora.io/en/cloud-recording/cloud_recording_rest?platform=All%20Platforms. The recorded videos can be stored in a third-party cloud storage like Amazon S3 and Alibaba Cloud.

Migrate videos from Vimeo to S3

I have a large quantity of videos on my Vimeo account that I would like to migrate to my AWS S3 account.
Rather than go through the time consuming process of downloading from Vimeo to my local machine then uploading from my local machine to S3, is there a way where I can do a direct transfer from Vimeo to S3?
If possible, I would want to create a script to iterate through each video via Vimeo API and set up the path to where it would go into S3 then initiate a direct transfer. Any ideas or suggestions would be much appreciated!
If you have a PRO account or higher, you can use the API to get download links for videos on your account, including download links for the original source file. Those download file links should be able to be used for importing into S3. Note that the links provided via the Vimeo API are expiring HTTP 302 redirects to the video file resource, so make sure you take note of the expiration time also provided in the response.
Download links are returned with the rest of a video's metadata, so I suggest using the fields parameter to only return the metadata needed.
http://developer.vimeo.com/api/common-formats#json-filter
https://developer.vimeo.com/api/reference/videos#GET/users/{user_id}/videos

How to protect Streaming Key from public?

I am sending a live RTMP stream from OBS to Wowza Streaming Engine and playing it back in JW Player on my website. Members of my website will be able to stream to their own "channels".
The only issue is that if a viewer on my website views the source, he/she can access the stream key. If a user gets another users stream key, then they would be able to stream to their channel.
What is a good way to protect this stream key?
You can write a module that does a server issued token based authentication. There also exist a free limited version of some commercial modules for similar purpose. Here is an article that shows how to start the work: https://streamtoolbox.com/hello-wowza-module-tutorial

Broadcast live audio on my website

I am having a requirement to broadcast live audio on my website. Scenario is
1) one user will talk/sing in my application and
2) his followers will have to listen that live audio instantly in the same application.
Can you please suggest me any 3rd party libraries for this?
Note: I am developing my web application in ASP.Net MVC5.
Thanks in advance.
Towards that goal, if you plan on using WebRTC, you'll need to add media servers that route media around.
Look at Kurento, Jitsi or Janus for open source alternatives - especially if you plan on adding video support to it.
You can also try using Asterisk or FreeSWITCH - these are telephony based solutions but can be re-purposed to use WebRTC and offer a conference call like experience where you mute everyone and have a single speaker "broadcast" his audio to all the rest.

Accessing YouTube live streams with Web Audio API

Is it possible to access YouTube live stream content (video/audio) in Javascript and Web Audio API e.g. for real-time mixing of the audio content?
Is the payload HTML5 compatible or is it Flash only?
... or is access to these streams limited via CORS or licensing clauses?
In my case, live streams would be created in Google Hangout http://www.google.com/+/learnmore/hangouts/onair.html
You can only access the content for HTML5 streams, and of course I'd expect this would not be available in the future for encrypted streams. Hangouts use a plugin right now, so you can't do this.