jeag2002 / StreamingVideo

Different approach of streaming direct video engines in desktop environments (webRTC JS, webRTC native, ffmpeg, WS, websockets)
1 stars 3 forks source link

How to use this? #1

Open deepaash opened 5 years ago

deepaash commented 5 years ago

Hi, Can I stream from Ffmpeg to the browser using this approach?

How do I try your code?

Thanks

deepaash commented 5 years ago

I want to send a video from FFmpeg to WebRTC/Browser

jeag2002 commented 5 years ago

Hello deepaash...

Well i am in the first steps of learning the workaround of WebRTC library yet, so the projects you can see in my repository are only initial attemps; just for understanding the peer-by-peer mechanism and compare with other streaming concepts

Just today i' ve begun to play with ffmpeg and it's integration with node.js ... i think it would be feasible to integrate ffmpeg with WebRTC but at this moment i don't know how....

I am using this repository as a base: https://github.com/ShinobiCCTV/Live-MP4-Stream-with-Node.js-and-FFMPEG

On the other hand, run the project it's easy....

1)Install node.js in your system... (if you haven't done before)

2)Install git in your system... (if you haven't done before)

3)choose a working area and execute 'git clone https://github.com/jeag2002/StreamingVideo'

4)in your working area, where you downloaded the project ' WebRTCNodeJSPeerToPeer'; run "npm install node-static"; "npm install socket.io"

5)in the same working area, run "node index.js"

6)Open a browser and type localhost:8080/peer_1

7)Open a browser and type localhost:8080/peer_2

8)Click in both browsers the button "Streaming"

Hope you can understand the explanation... and good luck :)

I will follow doing experimentation tasks... if i can reach something interesting; i would advice you; if you are interested... If you get something useful; please send me a notification

Keep in contact...

Joan Alcaraz

El sáb., 17 ago. 2019 a las 18:47, deepaash (notifications@github.com) escribió:

I want to send a video from FFmpeg to WebRTC/Browser

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jeag2002/StreamingVideo/issues/1?email_source=notifications&email_token=ACZLCXT7IKGACO4H3QSBF2TQFATTFA5CNFSM4IMP4KL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QPEYI#issuecomment-522252897, or mute the thread https://github.com/notifications/unsubscribe-auth/ACZLCXTDPARP3BAECSRARM3QFATTFANCNFSM4IMP4KLQ .