joelam789 / sharp-broadcast

A low latency live streaming solution for html5
MIT License
11 stars 8 forks source link

Streamyard like #6

Open ROBERT-MCDOWELL opened 4 years ago

ROBERT-MCDOWELL commented 4 years ago

Hi there, is sharp-broadcast can reach the same capabilities of streamyard live broadcast studio? I'm looking for a streamyard like to manage the code on my own server for private use thanks

joelam789 commented 4 years ago

the short answer here is - of course not :p

sharp-broadcast just can let you

  1. create your own live streaming system easily and quickly
  2. play the live streams with low latency in browser or webview

But don't be sad guy, i think maybe you can take a look at OBS Studio. OBS Studio is open source too, and obviously you can make OBS and sharp-broadcast work together. Some tips:

  1. Screen sharing https://www.makeuseof.com/tag/record-screen-stream-online-obs/
  2. Banners https://streamsentials.com/how-to-add-your-overlay-to-obs-studio/
  3. On-screen comments - just a chatroom (div) over the live stream player (another div)
  4. 6 on-screen participants - just need 6 live stream players (6 div tags)
  5. Brand colors - just need css
  6. Green screen https://www.windowscentral.com/how-use-green-screen-obs-and-xsplit
  7. Stream anywhere - html5 is anywhere

Hope this helps :)

ROBERT-MCDOWELL commented 4 years ago

Thanks joe for your answer. Yes I know very well OBS, but my goal is to offer a pure HTML5/JS live studio broadcast without any installation, like streamyard. I just need the same features than streamyard, then the rest on the server is ok already.

joelam789 commented 4 years ago

So, what you need is a pure HTML5/JS program to push/publish live streams to video server, right? then i think you could check out the following open-source projects too

  1. kurento https://www.kurento.org/
  2. kurento-rtmp https://github.com/godka/kurento-rtmp
  3. wocket https://github.com/MuxLabs/wocket https://ws.mux.dev/

the last one (wocket) uses ffmpeg , so you could make it work with sharp-broadcast more easily (maybe i will let sharp-broadcast Encoder support wocket later ^^)

ROBERT-MCDOWELL commented 4 years ago

"So, what you need is a pure HTML5/JS program to push/publish live streams to video server, right?" yes but with the streamyard features (buttons to screenshare, moving the webcams and reorganize them on the screen, banner etc.." yes, I know kurento, but again kurento is more a server side side than a client side. I will check wocket thanks. to be more precise I'm trying to find a replacement of a huge projects based on Flash using multicast RTMFP, sharedobjects etc... so for now my best guess is to find a html5/js client managing encoding/decoding webrtc and + with a coturn/sturn server for automatic relays in case of p2p fails. about ffmpeg it indeed can be used on client side in wasm, but all this tech still too slow for now.

ROBERT-MCDOWELL commented 4 years ago

Do you know a tool or extension that helps to trace and show the html/js code on the user activity? I really would like to get the right streamyard code.

joelam789 commented 4 years ago

https://stackoverflow.com/questions/43266489/see-all-loaded-js-files-in-google-chrome-debugger-tool/43266526

ROBERT-MCDOWELL commented 4 years ago

thanks!, streamyard minified the JS so it's not really a good way to reverse engineer.