Playing a video stream from the server in a browser via MSE
The MSE technology can be used when you only need to play a stream on the page and there are no strict requirements to latency
Media Source Extensions (MSE) is a browser API that allows playing audio and video using the corresponding HTML5 tags <audio> and <video>. While WebRTC is intended for both playing and publishing streams in real time, MSE is for playing only.
MSE is not supported in iOS Safari on iPhone devices.
Specifications
Stream sources |
Playback technologies |
Playback platforms |
Codecs |
|
|
|
|
Stream sources
- IP cameras
- Web cameras
- Media servers
- Surveillance systems
- Conference servers
Playback technologies
- MSE
Playback platforms
- Chrome
- Firefox
- Opera
- Safari, Mac OS
- Edge
Codecs
- H.264
- AAC
Scheme of video playback in the browser via MSE
The WCS server receives the video stream from the video stream source and transmits it for playback to the browser, which plays the stream using MSE technology
Step-by-step scheme of video playback in the browser via MSE
- Browser requests audio/video stream
- Web Call Server connects to the source and requests the stream required by the browser
- Stream source sends audio and video traffic to the WCS server
- Web Call Server sends stream to browser for playback
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.