How to use RTMP / HLS ?
- 2017-11-01 1:43 PM
VOD Streaming
Example file structure/- samplevideo.mp4/audio
-sampleaudio.mp4
This this case, the RTMP string would equal to the following
rtmp://servername:1935/applicationname/_definst_/samplevideo.mp4
rtmp://servername:1935/applicationname/_definst_/audio/sampleaudio.mp4
For HLS, example strings will be as follows
https://servername/applicationname/_definst_/samplevideo.mp4/playlist.m3u8
https://servername/applicationname/_definst_/audio/sampleaudio.mp4/playlist.m3u8
Avoid using folder names with space in them
Live Streaming
You can use the following format for RTMP streamingrtmp://servername/yourapp/yourstream/
For HLS Live Stream transcoding is required. Additional charges may apply.
Use the following format
https://servername/yourapp/yourstream/_hlstc/playlist.m3u8