summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager
Commit message (Collapse)AuthorAgeFilesLines
* build: use gst-glib-gen.mak to fix the glib build rules.Stefan Kost2009-10-161-2/+3
| | | | The build rules in glib-gen.mak were using pattern rules in a non save way.
* rtpptdemux: only forward the lost-event to the last seen pt-numberHåvard Graff2009-10-141-0/+36
| | | | | | | forward all events on all pads except for the PacketLost event, which we want to forward to the last seen pt pad. Fixes #598377
* build: fprintf, sprintf, sscanf need stdio.hStefan Kost2009-10-071-0/+1
|
* rtpbin: use locking around the sessionsWim Taymans2009-10-051-0/+2
|
* jitterbuffer: cache latency in nanosecondsWim Taymans2009-10-011-3/+6
| | | | | Cache the latency in nanoseconds units to avoid having to convert the milliseconds value to nanoseconds all the time.
* jitterbuffer: handle -1 input timestampsWim Taymans2009-10-011-5/+4
| | | | Don't try to check a -1 timestamp against the max delay.
* docs: fix gtk-doc warningsStefan Kost2009-09-102-4/+4
|
* rtpbin: add ignore-pt parameterMarc Leeman2009-09-082-28/+79
| | | | | | | 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
* rtpbin: propagate payload-type-change signal from demuxerHåvard Graff2009-09-082-1/+39
| | | | fixes #594254
* jitterbuffer: change severity of clock-rate change debugHavard Graff2009-09-081-1/+7
| | | | | | Make log GST_DEBUG under normal circumstances, GST_WARNING otherwise. Fixes #594253
* jitterbuffer: avoid throwing reordered buffers with same timestampsHåvard Graff2009-09-081-3/+3
| | | | | | | | | | | 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
* rtpbin: make free_session() remove stream referencesStig Sandnes2009-09-081-0/+36
| | | | | | | | | | | 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
* rtpbin: use locked state on internal binsHavard Graff2009-09-081-0/+6
| | | | | | | Set the locked state on internal elements to make sure that they don't change back to another state when shutting down. Fixes #594248
* rtpsource: fix memleakLaurent Glayal2009-09-031-6/+11
| | | | | | | Don't leak the input buffer when the received and expected seqnum are different when in probation. fixes #594039
* rtpjitterbuffer: Lock clock_rate variableOlivier Crête2009-09-031-18/+31
| | | | | | | | 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
* rtpsource: whitespace fixesWim Taymans2009-09-031-5/+5
|
* rtpsession: whitespace fixesWim Taymans2009-09-031-8/+8
|
* rtpmanager: Fixed a copy & paste errorPeter Kjellerstedt2009-09-011-2/+2
|
* rtpmanager: Removed unused variable privPeter Kjellerstedt2009-09-011-22/+0
| | | | | The variable priv was initialized in a lot of functions but then never used for anything.
* rtpmanager: A little clean upPeter Kjellerstedt2009-09-011-3/+4
| | | | | Make the code flow of gst_rtp_session_send_rtcp() and gst_rtp_session_sync_rtcp() identical.
* rtpmanager: Make sure that used caps are not freed already (take 2)Peter Kjellerstedt2009-09-011-2/+4
| | | | | | 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().
* jitterbuffer: make sure time does not go backwardsWim Taymans2009-09-013-22/+36
| | | | | | | | 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
* rtpmanager: Set caps in gst_rtp_session_send_rtcp() correctly againPeter Kjellerstedt2009-09-011-1/+1
| | | | | 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.
* rtpsession: use proper locking for pads and capsWim Taymans2009-08-311-34/+85
| | | | | | | Use the sesion lock and shotdown variable to protect and ref the pads we are going to push on. fixes #561825
* rtpbin: whitespace fixesWim Taymans2009-08-311-19/+19
|
* jitterbuffer: add slope estimation code and debugWim Taymans2009-08-311-4/+13
| | | | | Add some code to measure the sender speed vs the receiver speed. This can be used to detect bursts.
* jitterbuffer: reset skew when timestamps changeWim Taymans2009-08-311-10/+20
| | | | | | | Refactor the jitterbuffer resync code. Reset the skew correction when we detect a big timestamp discont. See #593354
* jitterbuffer: make sure time never goes invalidWim Taymans2009-08-311-1/+7
| | | | | | | Since the skew can be negative, we might end up with invalid timestamps. Check for negative results and clamp to 0. See #593354
* rtpsession: Make sure that used caps are not freed alreadySebastian Dröge2009-08-311-2/+5
| | | | Fixes bug #593391.
* rtp: Use new gst_iterator_new_single() for the internal linked pads iterationSebastian Dröge2009-08-314-219/+48
|
* rtpsession: Use iterate internal links instead of deprecated get internal linksSebastian Dröge2009-08-311-29/+87
|
* jitterbuffer: Use iterate internal links instead of deprecated get internal ↵Sebastian Dröge2009-08-311-14/+75
| | | | links
* rtpssrcdemux: Use iterate internal links instead of deprecated get internal ↵Sebastian Dröge2009-08-311-23/+83
| | | | links
* rtpbin: Fix reference leakOlivier Crête2009-08-141-1/+3
| | | | Fixes #591476.
* rtpsource: avoid buffer leak on bad seqnumric2009-08-111-0/+1
| | | | Fixes #590797
* rtpsource: allow for NULL caps on buffersWim Taymans2009-08-111-3/+2
| | | | | | | Add the NULL caps check where it matters and also cover another case of potential NULL caps. Fixes #590030
* rtpsource: Incoming buffers do not always have capsOlivier Crête2009-08-111-1/+2
|
* rtpsession: avoid doing lip-sync in BYEWim Taymans2009-08-111-0/+2
| | | | | 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.
* rtpbin: don't do lip-sync after a BYEWim Taymans2009-08-111-5/+10
| | | | | | | 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.
* rtpbin: only reconsider once for BYEWim Taymans2009-08-111-5/+11
| | | | | When iterating the sources of a BYE packet, don't signal a reconsideration for each of them but signal after we handled all sources.
* rtpsession: Free conflicting addresses on finalizeOlivier Crête2009-08-111-0/+3
|
* rtpbin: use new method for netaddress to stringWim Taymans2009-08-111-42/+5
|
* rtpbin: do better cleanup of the src ghostpadsWim Taymans2009-08-111-14/+30
| | | | | | | | 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
* rtpsession: add a commentWim Taymans2009-08-111-1/+1
|
* rtpbin: add SDES propertyWim Taymans2009-08-113-271/+39
| | | | | | 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.
* rtpbin: add SDES property that takes GstStructureWim Taymans2009-08-114-105/+104
| | | | | | 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.
* rtpbin: removed old gstrtpclientWim Taymans2009-08-114-547/+0
|
* rtpbin: add support for buffer-listBranko Subasic2009-08-115-62/+161
| | | | | | | Add support for sending buffer-lists. Add unit test for testing that the buffer-list passed through rtpbin. fixes #585839
* Make build without warnings with debugging disabledTim-Philipp Müller2009-08-111-3/+2
|
* rtpbin: Transform the right session sdes messageOlivier Crête2009-08-111-3/+1
| | | | Fixes #584165