Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@irif.fr>
To: Alexandre IOOSS <erdnaxe@crans.org>
Cc: galene@lists.galene.org
Subject: [Galene]  Re: Building a streaming gateway for Galène
Date: Wed, 07 Apr 2021 01:19:52 +0200
Message-ID: <877dlfrofb.wl-jch@irif.fr> (raw)
In-Reply-To: <76e5b62b-ee5b-3117-ea04-368fab0e659b@crans.org>

> I don't really understand what you mean by "accurate NTP times". Streams
> from Firefox or GStreamer seem to use random NTP timestamps.

The NTP timestamp is used by the receiver to synchronise audio with video.
It does not need to be accurate, but the NTP timestamps of correlated
tracks (audio and video for a single video) should use the same clock,
otherwise the receiver won't be able to resynchronise them.  This is
particularly important for talking heads (lectures and conferences).

> When dumping Firefox WebRTC traffic, I also see "Generic RTP Feeback:
> NACK" packets, which confirms the fact that GStreamer is not doing NACK
> in my script. I should see if it's possible to enable it.

This will improve things a lot.  You'll need to keep a history of recently
sent packets, I don't know if gstreamer can do that automatically.

As to keyframes — you should send periodic keyframes, but you shouldn't do
it too often (Chrome sends one every 120s).  On the other hand, you should
send a keyframe fairly quickly (within 500ms or so) whenever you receive
a PLI (Picture Loss Indication) RTCP packet.

> I am still quite new to WebRTC, so be aware that I might have done
> something stupid with the GStreamer pipeline.

It's a complicated protocol stack, don't worry too much about getting all
the bits right straight away.

-- Juliusz

  reply	other threads:[~2021-04-06 23:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 11:05 [Galene] " Alexandre IOOSS
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 [this message]
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=877dlfrofb.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=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