This repository contains information about videoDAC's test-livestream API.
To help developers of video-enabled applications start developing client applications for Consuming livestreaming video.
videoDAC's test-livestream API is a one-way livestream of AV (audiovisual) content.
The content is of a dynamic multi-coloured test card including an integer which increments every one second.
It is presented as a .m3u8
file extension, and contains a stream of hls
AV segments.
The content is in 144p
format, which is 256 pixels by 144 pixels, refreshing at a rate of 30 frames per second.
This is a gif
file showing a sample of the content:
A publicly-available API is provided as a free-to-use hosted-service at the following URL:
http://52.29.226.43:8935/stream/hello_world.m3u8
http://52.29.226.43:8935/stream/hello_world.m3u8
To set up your own local API, go to simple-streaming-server
.
Instructions for connecting to the API using a Command Line Interface
or a Graphical User Interface.
This requires curl
to be installed on your system:
-
Open
Terminal
. -
Run this command to Consume content meta-data from the test livestream API:
curl http://52.29.226.43:8935/stream/hello_world.m3u8
This requires FFmpeg
to be installed on your system:
-
Open
Terminal
. -
Run this command to Consume content from the test-livestream API:
ffplay http://52.29.226.43:8935/stream/hello_world.m3u8
- View content being played:
This requires VLC Media Player to be installed on your system.
VLC Media Player is available on Android, iOS, Windows, Linux and MacOS.
- Open VLC Media Player
- Open Network Stream (Ctrl+n) and paste the URL for the API into the field:
- Press Play, and view the content
This requires OBS Studio to be installed on your system. OBS Studio is available on Windows, Linux and MacOS.
- Open OBS Studio
- Add a new "Media Source" under "Sources"
- Deselect "Local File", and paste the URL for the API into the "Input" field:
- Click "OK" and see the content as a new Source in OBS:
hls.js
is a Javascript library for displaying hls
video content.
Here is a sample html page containing hls.js player, playing content from the hosted test-livestream-api URL.
Alternatively, you can get started using hls.js
documentation.
ExoPlayer is an application level media player for Android.