Play WebRTC and RTMP video streams over HLS
HLS is supported on a variety of devices, from smartphones to televisions. The video stream is delivered to the device using the usual HTTP protocol, through which almost all traffic on the Internet is transmitted
HTTP Live Streaming (HLS) is Apple’s HTTP streaming video playback technology. The HLS video stream is encoded in H.264 and AAC and plays on any compatible device, in browser or player, such as iOS Safari, Firefox, Mobile Chrome, Quicktime, VLC, etc.
Specifications
Broadcasting platforms |
Broadcasting technologies |
Playback platforms |
Playback technology and codecs |
|
|
|
|
- Chrome
- Firefox
- Opera
- Safari, MacOS
- Safari, iOS
- IE
- Edge
- iOS SDK
- Android SDK
- RTMP encoders
- WebRTC
- RTMP
- RTMFP
- SIP
- Mobile browsers
- Apple devices
- TV-sets
- Consoles
- Players
- HLS
- H.264
- AAC
Scheme for playing WebRTC and RTMP as HLS
Web Call Server converts video from other sources, such as webcams and professional video capture devices or SIP PBX to HLS. For example, you can send a video stream from a Chrome browser on an Android smartphone or desktop using WebRTC technology and distribute this video stream via HLS
Step-by-step diagram of WebRTC video stream playback on an HLS device
- The browser establishes a connection to the WCS and publishes the video stream;
- The WCS receives video stream from WebRTC browser;
- The HLS device or player requests playback of the video stream from the WCS;
- The WCS converts the WebRTC video stream to HLS and sends it to the device for playback.
For more information, refer to Testing
Download Web Call Server 5
System requirements: Linux x86_64, 1 core CPU, 2 Gb RAM, Java
Installation:
- wget https://flashphoner.com/download-wcs5.2-server.tar.gz
- Unpack and install using 'install.sh'
- Launch server using command 'service webcallserver start'
- Open the web interface https://host:8444 and activate your license
If you are using Amazon EC2, you don't need to download anything.