summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager
AgeCommit message (Collapse)AuthorFilesLines
2009-07-22rtpsession: Free conflicting addresses on finalizeOlivier Crête1-0/+3
2009-07-01rtpbin: use new method for netaddress to stringWim Taymans1-42/+5
2009-06-29rtpbin: do better cleanup of the src ghostpadsWim Taymans1-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
2009-06-29rtpsession: add a commentWim Taymans1-1/+1
2009-06-29rtpbin: add SDES propertyWim Taymans3-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.
2009-06-29rtpbin: add SDES property that takes GstStructureWim Taymans4-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.
2009-06-29rtpbin: removed old gstrtpclientWim Taymans4-547/+0
2009-06-19rtpbin: add support for buffer-listBranko Subasic5-62/+161
Add support for sending buffer-lists. Add unit test for testing that the buffer-list passed through rtpbin. fixes #585839
2009-06-19Make build without warnings with debugging disabledTim-Philipp Müller1-3/+2
2009-05-29rtpbin: Transform the right session sdes messageOlivier Crête1-3/+1
Fixes #584165
2009-05-29Add ssrc to application/x-rtp-source-sdes structureOlivier Crête1-1/+2
2009-05-27rtpsouce: the network address is in network orderWim Taymans1-0/+1
Bring the network address in netowkr byte order to the host order.
2009-05-26rtpsource: byteswap the port from GstNetAddressWim Taymans1-2/+3
Since the port in GstNetAddress is in network order we might need to byteswap it before adding it to the source statistics.
2009-05-25rtpbin: remove ptdemux ghostpadsWim Taymans1-0/+13
2009-05-22rtpbin: add to new signal to remove SSRC padsWim Taymans1-15/+6
2009-05-22ssrcdemux: emit signal when pads are removedAli Sabil3-1/+80
Add action signal to clear an SSRC in the ssrc demuxer. Add signal to notify of removed ssrc. See #554839
2009-05-22rtpbin: use our ghostpads instead of its targetWim Taymans1-44/+46
Since we keep a reference to our ghostpads, we can use them to track sessions. This avoid us having to mess with the target of the ghostpad.
2009-05-22rtpbin: don't warn when getting request pads twiceWim Taymans1-52/+34
Allow getting the request pads multiple times, just return the previously created pads.
2009-05-22rtpsource: add RTP and RTCP source addressWim Taymans1-0/+48
Add the RTP and RTCP sender addresses in the stats structure.
2009-05-22rtpsession: reuse source code for SDESWim Taymans1-58/+2
Reuse the RTPSource object property instead of duplicating code.
2009-05-22rtpbin: set target state on new elementsWim Taymans1-20/+37
Set the state on newly added elements to the state of the parent. Add some debug info and do some cleanups
2009-05-22rtpbin: unref requests pads after releasingWim Taymans1-0/+4
2009-05-22rtpbin: Implement releasing the streamsOlivier Crête1-21/+53
See #561752
2009-05-22rtpbin: Keep jb signals handlerOlivier Crête1-3/+7
Keep the signal handlers so they can be disconnected at release time See #561752
2009-05-22rtpbin: use the right lock for the sessionsWim Taymans1-0/+4
Use the right lock when iterating the sessions.
2009-05-22rtpbin: Free session if request pads are releasedOlivier Crête1-3/+8
Free the session when all the request pads are released. Don't mess with the session list in free_session as it is called from a foreach on that list. Set the state of the upstream element to NULL first. See #561752
2009-05-22rtpbin: Implement relasing of the rtp recv padOlivier Crête1-2/+17
2009-05-22rtpbin: Implement releasing of rtp send padsOlivier Crête1-6/+25
2009-05-22rtpbin: Implement release of the recv rtcp padOlivier Crête1-3/+13
See #561752
2009-05-22rtpbin: Implement releasing of rtcp src padOlivier Crête1-2/+7
See #561752
2009-05-05rtpssrcdemux: drop unexpected RTCP packetsWim Taymans1-1/+7
We usually only get SR packets in our chain function but if an invalid packet contains the SR packet after the RR packet, we must not fail but simply ignore the malformed packet. Fixes #581375
2009-04-27rtpsouce: make WARNING into LOGOlivier Crete1-1/+3
Since neither rtpmanager nor any of the payloaders properly implement pad allocation, there is no way for the rtpmanager to inform downstream elements of the new SSRC if there is an SSRC collision. So the warning is emitted all the time and it is confusing. Fixes #580144
2009-04-27rtpsession: notify when SSRC changesOlivier Crete1-0/+7
Emit a g_object_notify when the SSRc changes because of a collision. Fixes #580144
2009-04-17rtpsession: join the RTCP threadWim Taymans1-0/+5
Avoid a case where a joinable thread would be left unjoined, which leaked the thread structure. Fixes #577318.
2009-04-15jitterbuffer: prevent overflow in EOS estimationWim Taymans1-1/+1
Use a guint64 instead of a guint to hold a 64bit value to prevent completely bogues EOS estimation values due to overflows.
2009-04-15rtpbin: we should not provide a clockWim Taymans2-17/+0
There is no need to provide a clock.
2009-04-15jitterbuffer: more estimated EOS fixesWim Taymans1-6/+18
Do more accurate EOS estimate and guard against backward timestamps.
2009-04-15jitterbuffer: release lock before pushing EOSWim Taymans1-1/+1
Make sure we release the jitterbuffer lock before we start pushing out data because else we might deadlock.
2009-03-27rtpbin: add on_npt_stop signalWim Taymans4-14/+194
Add the on_npt_stop signal to rtpbin and rtpjitterbuffer to notify the application that the NPT stop position has been reached.
2009-03-13rtpbin: don't return FALSE on seek eventsWim Taymans1-0/+1
Silently ignore the seek event instead of returning FALSE.
2009-02-26gstrtpbin: Don't forward revc events to senderOlivier Crête1-4/+0
Don't send events from the receiver to the sender side. Fixes #572900.
2009-02-25docs: various doc fixesStefan Kost1-1/+1
No short-desc as we have them in the element details. Also keep things (Makefile.am and sections.txt) sorted. Reword ambigous returns. No text after since please.
2009-01-23Send BYE packets immediatly for small sessionsWim Taymans1-0/+4
When the number of participants is less than 50, the RFC allows for sending the BYE packet immediatly instead of using the regular BYE timeout. Fixes #567828.
2009-01-22Unlock the jitterbuffer before pushing out the packet-lost events.Wim Taymans1-5/+8
Move some code before we do the unlock to make the jitterbuffer state consistent while we are unlocked.
2009-01-02gst/rtpmanager/: When an SSRC is found on the caps of the sender RTP, use ↵Olivier Crete2-0/+28
this as the internal SSRC. Fixes #565910. Original commit message from CVS: Patch by: Olivier Crete <tester at tester dot ca> * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_setcaps_send_rtp), (create_send_rtp_sink): * gst/rtpmanager/rtpsession.c: (rtp_session_set_internal_ssrc): When an SSRC is found on the caps of the sender RTP, use this as the internal SSRC. Fixes #565910.
2009-01-02gst/rtpmanager/: Rename a method to better reflect what it really does.Wim Taymans3-19/+9
Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_event_send_rtp_sink), (gst_rtp_session_getcaps_send_rtp): * gst/rtpmanager/rtpsession.c: (check_collision), (rtp_session_schedule_bye_locked), (rtp_session_schedule_bye): * gst/rtpmanager/rtpsession.h: Rename a method to better reflect what it really does.
2008-12-29gst/rtpmanager/gstrtpsession.c: Use method to get the internal SSRC.Wim Taymans2-2/+16
Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_getcaps_send_rtp): Use method to get the internal SSRC. * gst/rtpmanager/rtpsession.c: (rtp_session_class_init), (rtp_session_set_property), (rtp_session_get_property): Add property to congiure the internal SSRC of the session. Fixes #565910.
2008-12-29gst/rtpmanager/rtpsession.c: Only change the SSRC of the session and reset ↵Wim Taymans1-6/+8
the internal source when the SSRC actually... Original commit message from CVS: * gst/rtpmanager/rtpsession.c: (rtp_session_set_internal_ssrc): Only change the SSRC of the session and reset the internal source when the SSRC actually changed. See #565910.
2008-12-29gst/rtpmanager/rtpsource.*: When no payload was specified on the caps but ↵Wim Taymans2-4/+18
there was a clock-rate, assume the clock-ra... Original commit message from CVS: * gst/rtpmanager/rtpsource.c: (rtp_source_init), (rtp_source_update_caps), (get_clock_rate): * gst/rtpmanager/rtpsource.h: When no payload was specified on the caps but there was a clock-rate, assume the clock-rate corresponds to the first payload type found in the RTP packets. Fixes #565509.
2008-12-23gst/rtpmanager/rtpjitterbuffer.*: Keep track of the last outgoing timestamp ↵Arnout Vandecappelle2-2/+32
and of the last sender-side time. Timest... Original commit message from CVS: Patch by: Arnout Vandecappelle <arnout at mind dot be> * gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew), (calculate_skew): * gst/rtpmanager/rtpjitterbuffer.h: Keep track of the last outgoing timestamp and of the last sender-side time. Timestamps can only go forward if they do at the sender side, can only go back if they do at the sender side, and remain the same if they remain the same at the sender side. Fixes #565319.