MonaSolutions / MonaServer

A lightweight RTMFP, RTMP, WebSocket and HTTP server!
http://monaserver.ovh
GNU General Public License v3.0
708 stars 213 forks source link

push rtmp to websocket client #68

Open ghost opened 6 years ago

ghost commented 6 years ago

i use ffmpeg push stream to monaserver(rtmp). i can display this stream. but i want to use webscoket in ios to display this stream. how can i do?

ROBERT-MCDOWELL commented 6 years ago

the best would be to add rtmpX/rtmfp protocols directly on the video element in HTML5 rather than use websocket since <video> is protocol agnostic.

thomasjammet commented 6 years ago

We have an alternative that could fit your needs.

In fact in the last releases of MonaServer2 we have introduced the support of the HTML

Just change the address (localhost) and stream name (test123) for your needs and it should work.

Let me know if it works, we have never tested this feature on iOS for now.