I'm pleased to announce MPEG-DASH support in nginx-rtmp-module. Browser-side support in implemented in dash.js library.
Setting up nginx-rtmp-module
Check out dash branch of nginx-rtmp-module. Dash configuration is similar to HLSlocation /dash { root /tmp; } ... application myapp { live on; dash on; dash_path /tmp/dash; } Dash module will create m4v, m4a, mpd files in its directory.
Setting up dash.js
- Check out live branch of my dash.js fork
- Set up nginx location serving dash.js contents and prepare streaming html. For this purpose modify (or copy) baseline.html in dash.js root and put your mpd (dash playlist) url in it instead of the default one
- Open that html in browser and watch the stream published to nginx-rtmp-module
Issues
- I only tested DASH streaming in Chrome, it seems other browsers are poorly supported now. However I need feedback about other browsers.
- Video should be h264 encoded with Baseline profile. Other profiles will not work! Audio is AAC.
- Vanilla dash.js does not play live streams well. I've submitted pull request to the project.
I want to thank Stephen Basile for his great work on dash module! He implemented all basic MPEG-DASH stuff including protocol manifest and mp4 writer.
'Network > Application' 카테고리의 다른 글
Send RTMP Receive HLS/MPEG-DASH (0) | 2019.06.24 |
---|---|
ffmpeg 명령어 (0) | 2019.06.21 |
동영상 기본용어 (0) | 2019.06.20 |
Nginx-RTMP 사용 Streaming (0) | 2019.06.19 |
FFMPEG이란 (0) | 2019.06.19 |