Red5 / red5-websocket

Websocket plug-in for Red5
Apache License 2.0
61 stars 50 forks source link

hello,ask a question #7

Closed yangjiechina closed 3 years ago

yangjiechina commented 5 years ago

my video monitoring device uploads video to the server in real time through socket.how can I push video to the other viewer, or how can the viewer pull the video stream.can red5-websocket do that ?i hope you can help me .very thanks.

yangjiechina commented 5 years ago

sorry, my english is poor

rajdeeprath commented 5 years ago

No problem with language, we speak streaming :).

Welcome to Red5.!!

Few points, to make the communication clear :

  1. Are you using Red5 open source or Red5 pro ? Asking cause I am not sure what you mean by uploading via websocket.

  2. Red5 open source supports RTMP only for stream delivery. Websocket is for messaging only. If you somehow manage to upload binary data via websocket and save it properly on server , our still can play it via only two protocols on the open source : RTMP or http (MP4). You can also use ffmpeg to convert it into hls segments if you want to make it playable as hls.

  3. If you want true websocket based streaming - aka webrtc, i will recommend you join the Red5 pro channel to get answers around that.

To do so: Go to red5pro.com, create account and then join the public slack channel.

Regards Rajdeep Rath

On Sat, 24 Nov, 2018, 11:37 AM 格物 <notifications@github.com wrote:

sorry, my english is poor

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Red5/red5-websocket/issues/7#issuecomment-441346359, or mute the thread https://github.com/notifications/unsubscribe-auth/ABo-Dm4_Fr7Q62qSZx4Wc7ATeAE-GOrvks5uyOI0gaJpZM4YxSk8 .

rajdeeprath commented 5 years ago

Additionally to elaborate:

. If you want true websocket based streaming - aka webrtc, (implies using websocket for ice exchange and UDP for streaming)

On Sun, 25 Nov, 2018, 5:32 AM Rajdeep Rath <rajdeeprath@gmail.com wrote:

No problem with language, we speak streaming :).

Welcome to Red5.!!

Few points, to make the communication clear :

  1. Are you using Red5 open source or Red5 pro ? Asking cause I am not sure what you mean by uploading via websocket.

  2. Red5 open source supports RTMP only for stream delivery. Websocket is for messaging only. If you somehow manage to upload binary data via websocket and save it properly on server , our still can play it via only two protocols on the open source : RTMP or http (MP4). You can also use ffmpeg to convert it into hls segments if you want to make it playable as hls.

  3. If you want true websocket based streaming - aka webrtc, i will recommend you join the Red5 pro channel to get answers around that.

To do so: Go to red5pro.com, create account and then join the public slack channel.

Regards Rajdeep Rath

On Sat, 24 Nov, 2018, 11:37 AM 格物 <notifications@github.com wrote:

sorry, my english is poor

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Red5/red5-websocket/issues/7#issuecomment-441346359, or mute the thread https://github.com/notifications/unsubscribe-auth/ABo-Dm4_Fr7Q62qSZx4Wc7ATeAE-GOrvks5uyOI0gaJpZM4YxSk8 .