Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Alexandre IOOSS <erdnaxe@crans.org>
To: galene@lists.galene.org
Subject: [Galene] Building a streaming gateway for Galène
Date: Tue, 6 Apr 2021 13:05:03 +0200
Message-ID: <228e92c1-d1f7-bc6d-4f44-c9cfd28f0096@crans.org> (raw)

Hello all,

For the past two weeks I have been working on streaming from a
broadcasting software such as OBS-Studio (that uses FFMpeg) to Galène.
This would enable users to use Galène for low-latency video streaming
and as a robust self-hosted Twitch alternative for conferences.

I believe we don't want to have to do any video/audio conversion on the
server side, so I see multiple possibilities to stream to Galène:

0. Using OBS Virtual v4l2 camera, but it is not portable and has audio
sync issues.
1. Streaming to a gateway that will initiate the WebRTC session with Galène.
2. Implement WebRTC support in OBS-Studio as an output plugin.

The point 2 was already tried by
<https://github.com/CoSMoSoftware/OBS-studio-webrtc> but it seems to be
problematic as they are using the WebRTC library from Chromium. I don't
expect this OBS fork to be merged upstream soon.

Last week I tried to implement a gateway using GStreamer webrtcbin
plugin, <https://github.com/erdnaxe/galene-stream>. Although I am able
to stream to Galène, I observe video drops. I am circumventing the issue
by forcing the VP8 encoder to insert a keyframe every 5 frames, but that
seems a terrible hack.

Right now I am a bit lost, I don't know if I should either try to
replace GStreamer webrtcbin with Pion
(https://github.com/pion/example-webrtc-applications/tree/master/gstreamer-send),
or if something is wrong with GStreamer/Galène. Does anyone have advice?

Best regards,

-- 
Alexandre Iooss


             reply	other threads:[~2021-04-06 11:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 11:05 Alexandre IOOSS [this message]
2021-04-06 12:57 ` [Galene] " Juliusz Chroboczek
2021-04-06 16:10   ` [Galene] webrtc security cameras? Dave Taht
2021-04-06 17:07     ` [Galene] " Juliusz Chroboczek
2021-04-06 17:44   ` [Galene] Re: Building a streaming gateway for Galène Alexandre IOOSS
2021-04-06 23:19     ` Juliusz Chroboczek
2021-04-07 20:40       ` Alexandre IOOSS
2021-04-07 22:01         ` Juliusz Chroboczek
2021-04-07 22:05           ` Juliusz Chroboczek
2021-04-09 13:42             ` Alexandre IOOSS
2021-04-09 13:55               ` Juliusz Chroboczek
2021-04-09 14:17               ` Juliusz Chroboczek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=228e92c1-d1f7-bc6d-4f44-c9cfd28f0096@crans.org \
    --to=erdnaxe@crans.org \
    --cc=galene@lists.galene.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Galène videoconferencing server discussion list archives

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.galene.org/galene

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 galene galene/ https://lists.galene.org/galene \
		galene@lists.galene.org
	public-inbox-index galene

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git