| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Cache the latency in nanoseconds units to avoid having to convert the
milliseconds value to nanoseconds all the time.
|
|
|
|
| |
Don't try to check a -1 timestamp against the max delay.
|
| |
|
|
|
|
|
|
|
| |
Add a parameter 'ignore-pt' that disables creating a gstrtpptdemux module and
ghosts the pads of gstrtpjitterbuffer instead of the ones of gstrtpptdemux.
Fixes #594490
|
|
|
|
| |
fixes #594254
|
|
|
|
|
|
| |
Make log GST_DEBUG under normal circumstances, GST_WARNING otherwise.
Fixes #594253
|
|
|
|
|
|
|
|
|
|
|
| |
When we receive a reordered packet with the same timestamp as the previous one
(which can happen for fragmented packets) don't consider the packet as lost but
instead wait for the reordered packet to arrive.
Switch the warning-level, so that a reordering does not get a warning, only
an actual produced lost-packet.
Fixes #594251
|
|
|
|
|
|
|
|
|
|
|
| |
When receiving a sync-packet, all sessions with the same cname will be compared
and synced together. In this process, there could still be references to a
session that has been shut down in the meanwhile.
This patch makes sure that these references are removed when shutting down a
session, so that the syncing can be done safely.
Fixes #594283
|
|
|
|
|
|
|
| |
Set the locked state on internal elements to make sure that they don't change
back to another state when shutting down.
Fixes #594248
|
|
|
|
|
|
|
| |
Don't leak the input buffer when the received and expected seqnum are different when
in probation.
fixes #594039
|
|
|
|
|
|
|
|
| |
The priv->clock_rate variable could become -1 between when its checked to not
be -1 and when its used, causing an assertion. Fixed by taking the mutex
earlier in the chain() function.
Fixes #593955
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The variable priv was initialized in a lot of functions but then never
used for anything.
|
|
|
|
|
| |
Make the code flow of gst_rtp_session_send_rtcp() and
gst_rtp_session_sync_rtcp() identical.
|
|
|
|
|
|
| |
This reintroduces the fix for bug #593391. It also applies it in
gst_rtp_session_sync_rtcp() which has very similar code to
gst_rtp_session_send_rtcp().
|
|
|
|
|
|
|
|
| |
When we construct a timestamp that would result in a timestamp that is earlier
than when the packet was received, reset the skew calculation as this is
probably a sign that the sender restarted or paused.
Fixes #593354
|
|
|
|
|
| |
The test for when to set an RTCP caps on the output pad in
gst_rtp_session_send_rtcp() accidentally got inverted in the last commit.
|
|
|
|
|
|
|
| |
Use the sesion lock and shotdown variable to protect and ref the pads we are
going to push on.
fixes #561825
|
| |
|
|
|
|
|
| |
Add some code to measure the sender speed vs the receiver speed. This can be
used to detect bursts.
|
|
|
|
|
|
|
| |
Refactor the jitterbuffer resync code.
Reset the skew correction when we detect a big timestamp discont.
See #593354
|
|
|
|
|
|
|
| |
Since the skew can be negative, we might end up with invalid timestamps. Check
for negative results and clamp to 0.
See #593354
|
|
|
|
| |
Fixes bug #593391.
|
| |
|
| |
|
|
|
|
| |
links
|
|
|
|
| |
links
|
|
|
|
| |
Fixes #591476.
|
|
|
|
| |
Fixes #590797
|
|
|
|
|
|
|
| |
Add the NULL caps check where it matters and also cover another case of
potential NULL caps.
Fixes #590030
|
| |
|
|
|
|
|
| |
When we get a BYE packet, don't do lip-sync with the SR inside because some
senders have trouble constructing valid SR packets after BYE.
|
|
|
|
|
|
|
| |
After a BYE packet from a source, stop forwarding the SR packets for lip-sync
to rtpbin. Some senders don't update their SR packets correctly after sending a
BYE and then we break lip-sync. We prefer to let the jitterbuffers drain with
the current lip-sync instead.
|
|
|
|
|
| |
When iterating the sources of a BYE packet, don't signal a reconsideration for
each of them but signal after we handled all sources.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Connect to the pad-removed signal of the ptdemux elements so that we remove the
ghostpads for them. Fixes cleanup when going to NULL as well as when releasing
the sinkpads.
Fixes #561752
|
| |
|
|
|
|
|
|
| |
Remove all individual SDES properties and use one sdes property that takes a
GstStructure instead. This will allow us to add more custom stuff to the SDES
messages later.
|
|
|
|
|
|
| |
Remove all individual SDES properties and use one sdes property that takes a
GstStructure instead. This will allow us to add more custom stuff to the SDES
messages later.
|
| |
|
|
|
|
|
|
|
| |
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.
fixes #585839
|
| |
|
|
|
|
| |
Fixes #584165
|
| |
|
|
|
|
| |
Bring the network address in netowkr byte order to the host order.
|
|
|
|
|
| |
Since the port in GstNetAddress is in network order we might need to byteswap it
before adding it to the source statistics.
|
| |
|