Web-socket tutorial
Hi,
The latest version of evostream supports streaming over web socket.
Is it possible to stream my current live RTMP streams (H264/ACC) using WS streaming? (Video sources are video surveillance cameras)
Does it has the same latency as the RTMP and HLS ?
Can you give me a way (step by step) to create a web-socket from the URL rtmp generated by pullstream API:
Pullstream uri = dmpegtsudp: // ip: port localstreamname = streamname Thank you,
Pullstream uri = dmpegtsudp: // ip: port localstreamname = streamname Thank you,
5 Answers
Hi Maher!
After your pullStream you can play your stream using the websockets.
Please see
http://docs.evostream.com/ems_user_guide/protocolsupport#html5-web-sockets
http://docs.evostream.com/ems_how_to_guide/websockets
Thank you!
Thank you,
So what i have to do is to generate a stream with Pullstream:
pullstream uri=dmpegtsudp://<ems-ip>: <PortX> localstreamname=StreamX
then, like in the demo on Evo web server : evowsvideo.html, what i have to do just to configure the Web socket url like this :
ws://<ems-ip>:PortX/StreamX ?
regards,
I got this error
ws://<ems-ip>:<PortX>/<StreamX>?progressive’ failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
ok, i succeed to get stream with websocket, but over specefic ports
i used pullstream API : pullstream uri=dmpegtsudp://<ems-ip>: 8100 localstreamname=Stream
but i can just open it over 8410 : ws://<ems-ip>:8410 — streamname : Stream
it tried to add another inboundWSFMP4 port in config.lua but i couldn’t get the stream
What i want to do is to open multiple streams over multiple ports ! could you help me to realise it ?
thanks!