First try this demo can play on ios http://jsmpeg.com/ Second https://github.com/phoboslab/jsmpeg#encoding-videoaudio-for-jsmpeg view-stream.html (nodejs localhost:8080 maybe can see) websocket-relay.js this is use node.js then get ws server Import !! ffmpeg -re -i rtmp://xxx.xxx.xxx.xxx/live/ooo -f mpegts -codec:v mpeg1video -bf 0 -codec:a mp2 -s 640x360 -r 30 -q 4 -muxdelay 0.001 http://localhost:8081/password -re 參數表示以視頻實際播放速率解碼,不加這個參數一般會導致直播速率變得飛快 -re一定要加,代表按照帧率发送,否则ffmpeg会一股脑地按最高的效率发送数据。 -muxdelay 0.001 reduce lag (maybe no use) -q 4 Need test You’re setting -q 1, which is the best possible quality.

繼續閱讀

Live Streaming to HTML5 Browsers https://github.com/sparks/rter/blob/master/docs/streaming.md Now need webSocket, webRTC or mpeg-dash http://flashphoner.com/broadcasting-of-a-webrtc-stream-to-ios-safari-and-other-browsers-with-low-latency/ GPAC https://gpac.wp.mines-telecom.fr/ https://gpac.wp.mines-telecom.fr/dashcast/ mpeg-dash dash.js https://github.com/Dash-Industry-Forum/dash.js/wiki http://dashif.org/software/ DASH Low Latency Web Server https://github.com/gpac/node-gpac-dash MPEG-DASH browser support and device compatibility https://bitmovin.com/mpeg-dash-browser-support-device-compatibility/ http://www.mem.com.tw/article_content.asp?sn=1207190001 https://imququ.com/post/html5-live-player-1.html https://imququ.com/post/html5-live-player-2.html https://imququ.com/post/html5-live-player-3.html

繼續閱讀

作者的圖片

Sue boy

Sueboy Can support You

CIO

Taiwan