summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-11-26gst/rtpmanager/rtpsession.c: Make obtain_source return an aditional ref so ↵Wim Taymans1-9/+18
that we don't lose our ref to it when a se... Original commit message from CVS: * gst/rtpmanager/rtpsession.c: (obtain_source), (rtp_session_create_source), (rtp_session_process_rtp), (rtp_session_process_sr), (rtp_session_process_rr), (rtp_session_process_sdes), (rtp_session_process_bye): Make obtain_source return an aditional ref so that we don't lose our ref to it when a session cleanup occurs when we are emiting a signal. Emit the on_new_ssrc signal for the CSRC, not the SSRC. Fixes #562319.
2008-11-26gst/rtpmanager/gstrtpbin.c: Reset the sync parameters when clearing the ↵Wim Taymans1-24/+27
payload type map too. Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_reset_sync), (gst_rtp_bin_clear_pt_map): Reset the sync parameters when clearing the payload type map too. Fixes #562312.
2008-11-26gst/rtpmanager/gstrtpbin.*: Remove a lot of per stream state that is not ↵Wim Taymans2-66/+67
needed and pass new info in the method call. Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (get_client), (gst_rtp_bin_reset_sync), (gst_rtp_bin_associate), (gst_rtp_bin_handle_sync), (create_stream), (gst_rtp_bin_class_init), (new_ssrc_pad_found): * gst/rtpmanager/gstrtpbin.h: Remove a lot of per stream state that is not needed and pass new info in the method call. Add signal to reset sync parameters. Avoid parsing the caps to get a clock_base, we get this from the sync signal now.
2008-11-25gst/rtpmanager/gstrtpsession.c: Fix event leak.Wim Taymans1-1/+5
Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_event_send_rtcp_src): Fix event leak.
2008-11-22gst/rtpmanager/rtpsession.c: Add property to configure the RTCP MTU.Wim Taymans1-1/+15
Original commit message from CVS: * gst/rtpmanager/rtpsession.c: (rtp_session_class_init), (rtp_session_init), (rtp_session_set_property), (rtp_session_get_property): Add property to configure the RTCP MTU.
2008-11-22gst/rtpmanager/rtpsession.c: Add G_PARAM_STATIC_STRINGS.Wim Taymans2-120/+141
Original commit message from CVS: * gst/rtpmanager/rtpsession.c: (rtp_session_class_init), (copy_source), (rtp_session_create_sources), (rtp_session_get_property): Add G_PARAM_STATIC_STRINGS. Add property to return a GValueArray of all known RTPSources in the session. * gst/rtpmanager/rtpsource.c: (rtp_source_class_init), (rtp_source_create_sdes), (rtp_source_set_property), (rtp_source_get_property): Remove properties to set the various SDES items, an application is never supposed to change the RTPSource data. Change the SDES getter properties to one SDES property that returns all SDES items in a GstStructure.
2008-11-22gst/rtpmanager/gstrtpbin.c: Also unref the target pad for unknown pads.Wim Taymans1-1/+1
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad): Also unref the target pad for unknown pads.