max-mapper / screencat

:cat2: webrtc screensharing electron app for mac os (Alpha)
http://maxogden.github.io/screencat
BSD 2-Clause "Simplified" License
3.01k stars 383 forks source link

youtube live broadcast integration #24

Open max-mapper opened 9 years ago

max-mapper commented 9 years ago

this would require a webrtc -> rtmp streaming transcoder (not sure how to do that)

https://developers.google.com/youtube/v3/live/docs/liveStreams

the idea is you can use screencat to broadcast your screen + audio directly to a youtube live stream. maybe hangouts on air is possible to somehow?

max-mapper commented 9 years ago

did more research, looks like the best path forward would be a c++ addon. it could maybe hack into the libchromiumcontent apis to get video data (unsure if possible) or instead implement a local peer connection a la https://github.com/auscaster/webrtc-native-to-browser-peerconnection-example

so the pipeline would be: rtc video/audio from atom-shell window -> rtc peer connection to rtc peer implemented as a node native addon -> transcoder -> youtube rtmp streaming ingestion endpoint

Mertirom commented 7 years ago

Is there chance to implement similar WebRTC-YouTube transcoder as described in this article. They use flashphoner, however I would prefer an open source solution.