Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] Whole meeting as a youtube livestream?
@ 2023-12-31 16:38 Karsten Hahn
  2023-12-31 17:57 ` [Galene] " Fabrice Rouillier
  0 siblings, 1 reply; 9+ messages in thread
From: Karsten Hahn @ 2023-12-31 16:38 UTC (permalink / raw)
  To: galene

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]


Hello,

at first, I have installed galene today and I am very impressed! The quality is great. Thanks a lot for this application!

I was thinking about streaming a complete meeting as a livestream on youtube. Is this possible? Has anyone had any experience with this? Maybe a transcoder from WebRTS to RTSP is necessary? You see, I'm not really an expert in this domain :-)

Thanks for any tips and best regards,
Karsten

[-- Attachment #2: Type: text/html, Size: 470 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2023-12-31 16:38 [Galene] Whole meeting as a youtube livestream? Karsten Hahn
@ 2023-12-31 17:57 ` Fabrice Rouillier
  2023-12-31 19:49   ` Sean DuBois
  2024-01-01  1:38   ` Juliusz Chroboczek
  0 siblings, 2 replies; 9+ messages in thread
From: Fabrice Rouillier @ 2023-12-31 17:57 UTC (permalink / raw)
  To: Karsten Hahn; +Cc: galene

Hi

Just catch the window of your navigator with OBS and you are Done


Fabrice

> Le 31 déc. 2023 à 17:38, Karsten Hahn <public@hahn.ws> a écrit :
> 
> Hello,
> 
> at first, I have installed galene today and I am very impressed! The quality is great. Thanks a lot for this application!
> 
> I was thinking about streaming a complete meeting as a livestream on youtube. Is this possible? Has anyone had any experience with this? Maybe a transcoder from WebRTS to RTSP is necessary? You see, I'm not really an expert in this domain :-)
> 
> Thanks for any tips and best regards,
> Karsten

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2023-12-31 17:57 ` [Galene] " Fabrice Rouillier
@ 2023-12-31 19:49   ` Sean DuBois
  2024-01-01  1:38   ` Juliusz Chroboczek
  1 sibling, 0 replies; 9+ messages in thread
From: Sean DuBois @ 2023-12-31 19:49 UTC (permalink / raw)
  To: Fabrice Rouillier; +Cc: Karsten Hahn, galene

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

If you want something headless you can run https://github.com/centricular/gstcefsrc

That will give you a GStreamer pipeline that can go to RTMP etc…

If that sounds like what you want happy to answer questions/helpset it up. 

> On Dec 31, 2023, at 12:58, Fabrice Rouillier <fabrice@rouillier.fr> wrote:
> 
> Hi
> 
> Just catch the window of your navigator with OBS and you are Done
> 
> 
> Fabrice
> 
>> Le 31 déc. 2023 à 17:38, Karsten Hahn <public@hahn.ws> a écrit :
>> 
>> Hello,
>> 
>> at first, I have installed galene today and I am very impressed! The quality is great. Thanks a lot for this application!
>> 
>> I was thinking about streaming a complete meeting as a livestream on youtube. Is this possible? Has anyone had any experience with this? Maybe a transcoder from WebRTS to RTSP is necessary? You see, I'm not really an expert in this domain :-)
>> 
>> Thanks for any tips and best regards,
>> Karsten
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org

[-- Attachment #2: Type: text/html, Size: 2178 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2023-12-31 17:57 ` [Galene] " Fabrice Rouillier
  2023-12-31 19:49   ` Sean DuBois
@ 2024-01-01  1:38   ` Juliusz Chroboczek
  2024-01-01 10:51     ` [Galene] Re: Whole meeting as a youtubelivestream? Karsten Hahn
  2024-01-01 11:18     ` [Galene] Re: Whole meeting as a youtube livestream? Tim Panton
  1 sibling, 2 replies; 9+ messages in thread
From: Juliusz Chroboczek @ 2024-01-01  1:38 UTC (permalink / raw)
  To: Fabrice Rouillier; +Cc: Karsten Hahn, galene

>> I was thinking about streaming a complete meeting as a livestream on youtube.

> Just catch the window of your navigator with OBS and you are Done

Right.

Galene does not do any multiplexing: when a meeting consists of multiple
streams, then all of the streams are sent to all participants.

Youtube requires a single stream, so at some point somebody needs to
decode the videos, build a mosaic view, and then recode the videos.  It
cannot be the Galene server, since the server does not do any recoding
(that's what makes it cheap and fast).  The best place is the browser,
which already knows how to decode WebRTC streams.

So rendering in the browser and recoding using OBS seems like a perfectly
fine solution.  Another solution would be to perform the recoding in the
browser itself, but I'm not sure how easy it would be.

Happy new year!

-- Juliusz

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtubelivestream?
  2024-01-01  1:38   ` Juliusz Chroboczek
@ 2024-01-01 10:51     ` Karsten Hahn
  2024-01-01 11:18     ` [Galene] Re: Whole meeting as a youtube livestream? Tim Panton
  1 sibling, 0 replies; 9+ messages in thread
From: Karsten Hahn @ 2024-01-01 10:51 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: Fabrice Rouillier, galene

[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]


Hi all,

thans for the prompt feedback and a happy new year 2024.

Good explanation of the functionality of WebRTC. In fact the combination of the streams serverside will be a problem. So I'll try the client side OBS solution.

On the oher hand I found serveral articles about headless chrome and puppeteer ... I'll read more about it.

Thanks a lot for your information and best greetings,

Karsten

Am Montag, Januar 01, 2024 02:38 CET, schrieb Juliusz Chroboczek <jch@irif.fr>:
 >> I was thinking about streaming a complete meeting as a livestream on youtube.

> Just catch the window of your navigator with OBS and you are Done

Right.

Galene does not do any multiplexing: when a meeting consists of multiple
streams, then all of the streams are sent to all participants.

Youtube requires a single stream, so at some point somebody needs to
decode the videos, build a mosaic view, and then recode the videos. It
cannot be the Galene server, since the server does not do any recoding
(that's what makes it cheap and fast). The best place is the browser,
which already knows how to decode WebRTC streams.

So rendering in the browser and recoding using OBS seems like a perfectly
fine solution. Another solution would be to perform the recoding in the
browser itself, but I'm not sure how easy it would be.

Happy new year!

-- Juliusz

[-- Attachment #2: Type: text/html, Size: 1614 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2024-01-01  1:38   ` Juliusz Chroboczek
  2024-01-01 10:51     ` [Galene] Re: Whole meeting as a youtubelivestream? Karsten Hahn
@ 2024-01-01 11:18     ` Tim Panton
  2024-01-01 15:53       ` Juliusz Chroboczek
  1 sibling, 1 reply; 9+ messages in thread
From: Tim Panton @ 2024-01-01 11:18 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: Fabrice Rouillier, Karsten Hahn, galene

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]



> On 1 Jan 2024, at 01:38, Juliusz Chroboczek <jch@irif.fr> wrote:
> 
>>> I was thinking about streaming a complete meeting as a livestream on youtube.
> 
>> Just catch the window of your navigator with OBS and you are Done
> 
> Right.
> 
> Galene does not do any multiplexing: when a meeting consists of multiple
> streams, then all of the streams are sent to all participants.
> 
> Youtube requires a single stream, so at some point somebody needs to
> decode the videos, build a mosaic view, and then recode the videos.  It
> cannot be the Galene server, since the server does not do any recoding
> (that's what makes it cheap and fast).  The best place is the browser,
> which already knows how to decode WebRTC streams.
> 
> So rendering in the browser and recoding using OBS seems like a perfectly
> fine solution.  Another solution would be to perform the recoding in the
> browser itself, but I'm not sure how easy it would be.

There is a sort of halfway house I’ve done where you screen capture (ie mix) a div in the ‘host’ browser and send that as a webRTC stream to a local recording process (in my case pipe and ffmpeg - but it could be a gstreamer pipeline).

This works pretty well - 
https://github.com/pipe/rdv-show/blob/4793900b6d661153da1962d0a694ee71fbfdfccb/rdv-show/js/host.js#L64
rdv-show/rdv-show/js/host.js at 4793900b6d661153da1962d0a694ee71fbfdfccb · pipe/rdv-show
github.com
 

I’ve played with media stream recorder, but then you need to have a web server to capture and store the media file chunks.

Happy to help if that’s useful.


T.

> 
> Happy new year!
> 
> -- Juliusz
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org


[-- Attachment #2.1: Type: text/html, Size: 5069 bytes --]

[-- Attachment #2.2: rdv-show.png --]
[-- Type: image/png, Size: 35588 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2024-01-01 11:18     ` [Galene] Re: Whole meeting as a youtube livestream? Tim Panton
@ 2024-01-01 15:53       ` Juliusz Chroboczek
  2024-01-01 16:01         ` Tim Panton
  0 siblings, 1 reply; 9+ messages in thread
From: Juliusz Chroboczek @ 2024-01-01 15:53 UTC (permalink / raw)
  To: Tim Panton; +Cc: Fabrice Rouillier, Karsten Hahn, galene

>     Another solution would be to perform the recoding in the browser
>     itself, but I'm not sure how easy it would be.
> 
> There is a sort of halfway house I’ve done where you screen capture (ie mix) a
> div in the ‘host’ browser and send that as a webRTC stream to a local
> recording process (in my case pipe and ffmpeg - but it could be a gstreamer
> pipeline).

How do you push the stream into ffmpeg?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2024-01-01 15:53       ` Juliusz Chroboczek
@ 2024-01-01 16:01         ` Tim Panton
  2024-01-01 16:17           ` Sean DuBois
  0 siblings, 1 reply; 9+ messages in thread
From: Tim Panton @ 2024-01-01 16:01 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: Fabrice Rouillier, Karsten Hahn, galene



> On 1 Jan 2024, at 15:53, Juliusz Chroboczek <jch@irif.fr> wrote:
> 
>>    Another solution would be to perform the recoding in the browser
>>    itself, but I'm not sure how easy it would be.
>> 
>> There is a sort of halfway house I’ve done where you screen capture (ie mix) a
>> div in the ‘host’ browser and send that as a webRTC stream to a local
>> recording process (in my case pipe and ffmpeg - but it could be a gstreamer
>> pipeline).
> 
> How do you push the stream into ffmpeg?

I have a bit of |pipe| (java) code that opens a webrtc connection, gets the single (mixed) stream and strips the ICE/SRTP off and feeds the RTP to ffmpeg. 

You could write something similar in pion pretty easily I think. 

Also I know some people have done gstreamer pipelines that do the SRTP  and the ffmpeg bit.


T.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Galene] Re: Whole meeting as a youtube livestream?
  2024-01-01 16:01         ` Tim Panton
@ 2024-01-01 16:17           ` Sean DuBois
  0 siblings, 0 replies; 9+ messages in thread
From: Sean DuBois @ 2024-01-01 16:17 UTC (permalink / raw)
  To: Tim Panton; +Cc: Juliusz Chroboczek, Fabrice Rouillier, Karsten Hahn, galene

On Mon, Jan 01, 2024 at 04:01:59PM +0000, Tim Panton wrote:
> 
> 
> > On 1 Jan 2024, at 15:53, Juliusz Chroboczek <jch@irif.fr> wrote:
> > 
> >>    Another solution would be to perform the recoding in the browser
> >>    itself, but I'm not sure how easy it would be.
> >> 
> >> There is a sort of halfway house I’ve done where you screen capture (ie mix) a
> >> div in the ‘host’ browser and send that as a webRTC stream to a local
> >> recording process (in my case pipe and ffmpeg - but it could be a gstreamer
> >> pipeline).
> > 
> > How do you push the stream into ffmpeg?
> 
> I have a bit of |pipe| (java) code that opens a webrtc connection, gets the single (mixed) stream and strips the ICE/SRTP off and feeds the RTP to ffmpeg. 
> 
> You could write something similar in pion pretty easily I think. 
> 
> Also I know some people have done gstreamer pipelines that do the SRTP  and the ffmpeg bit.
> 
> 
> T.
> 
>
Can you push WebRTC (WHIP) directly? You can't use YouTube, but you have
a few other options.

https://webrtchacks.com/webrtc-cracks-the-whip-on-obs

> 
> 
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-01 16:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-31 16:38 [Galene] Whole meeting as a youtube livestream? Karsten Hahn
2023-12-31 17:57 ` [Galene] " Fabrice Rouillier
2023-12-31 19:49   ` Sean DuBois
2024-01-01  1:38   ` Juliusz Chroboczek
2024-01-01 10:51     ` [Galene] Re: Whole meeting as a youtubelivestream? Karsten Hahn
2024-01-01 11:18     ` [Galene] Re: Whole meeting as a youtube livestream? Tim Panton
2024-01-01 15:53       ` Juliusz Chroboczek
2024-01-01 16:01         ` Tim Panton
2024-01-01 16:17           ` Sean DuBois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox