summaryrefslogtreecommitdiff
path: root/gst-libs/gst/rtsp
AgeCommit message (Collapse)AuthorFilesLines
2015-12-02Drop usage of deprecated g-ir-scanner --strip-prefix flagReynaldo H. Verdejo Pinochet1-1/+2
2015-12-02rtspconnection: Update capitalization of x-sessioncookieEvan Callaway2-2/+2
Some servers incorrectly parse header names with strict case-sensitivity. For compatibility with these systems change X-Sessioncookie to x-sessioncookie. https://bugzilla.gnome.org/show_bug.cgi?id=758921
2015-11-18rtspconnection: Add support for parsing custom headersOgnyan Tonchev1-4/+9
https://bugzilla.gnome.org/show_bug.cgi?id=758235
2015-11-17Remove unnecessary NULL checks before g_free()Reynaldo H. Verdejo Pinochet1-2/+1
g_free() is NULL-safe
2015-10-02Update GLib dependency to 2.40.0Sebastian Dröge1-2/+0
2015-07-14rtsp: Include generated enum types in gstrtsptransport.hOlivier Crête1-0/+1
GST_TYPE_RTSP_LOWER_TRANS used to be defined in there, not including the generated file makes older gst-p-good fail to build, so it constitues an API break.
2015-06-22rtspconnection: Only drop everything after the ; of a session header in requestsSebastian Dröge1-1/+1
For responses it is actually allowed and used to signal the timeout to the client! https://bugzilla.gnome.org/show_bug.cgi?id=736267
2015-06-16gi: Use INTROSPECTION_INIT for --add-init-sectionNicolas Dufresne1-1/+1
This new define was added to common. The new init section fixed compilation warning found in the init line that was spread across all files.
2015-06-16gi: Fix warnings in GstRtspNicolas Dufresne1-2/+2
* The custom GSource is not boxed (skip for now) * The comment block has wrong name for _read_socket()
2015-06-12rtsp: Add a FIXME 2.0 for gst_rtsp_connection_create_from_socket()Arun Raghavan1-0/+2
There's a couple of redundant arguments from the pre-GIO days.
2015-06-09GstRTSPConnection: Add GTlsInteraction supportXavier Claessens2-1/+63
https://bugzilla.gnome.org/show_bug.cgi?id=750471
2015-05-20rtsp: Add FIXME 2.0 comment about GstRTSPTransport being an enum instead of ↵Sebastian Dröge1-0/+2
flags
2015-05-20rtsp: Use glib-mkenums to generate GstRTSPProfile and GstRTSPLowerTrans GTypesSebastian Dröge3-49/+2
2015-05-19rtsp: don't use soon-to-be-deprecated g_cancellable_reset()Tim-Philipp Müller1-4/+7
From the API documentation: "Note that it is generally not a good idea to reuse an existing cancellable for more operations after it has been cancelled once, as this function might tempt you to do. The recommended practice is to drop the reference to a cancellable after cancelling it, and let it die with the outstanding async operations. You should create a fresh cancellable for further async operations." https://bugzilla.gnome.org/show_bug.cgi?id=739132
2015-04-26Remove obsolete Android build cruftTim-Philipp Müller1-16/+0
This is not needed any longer.
2015-03-31introspection: Don't use g-ir-scanner cache at compile timeEdward Hervey1-1/+1
It pollutes user directories and we don't need to cache it https://bugzilla.gnome.org/show_bug.cgi?id=747095
2015-03-10Fix double semicolonsTim-Philipp Müller1-1/+1
2015-02-09rtspmessage: map headers we know that are added by string to their enumTim-Philipp Müller1-0/+6
That way we can look them up by their field enum later as well.
2015-02-09rtspmessage: add API to add and get custom headersTim-Philipp Müller2-3/+202
Add API to add and get custom headers that are not covered by our header fields enum. This is backwards compatible in that it will also work for our defined fields, so if we ever add a new header field to the enum, get_header_by_name() for the same header string will still work. API: gst_rtsp_message_add_header_by_name() API: gst_rtsp_message_take_header_by_name() API: gst_rtsp_message_remove_header_by_name() API: gst_rtsp_message_get_header_by_name()
2014-12-09rtspconnection: No remove child if destroyed.Göran Jönsson1-2/+4
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740730
2014-12-01Don't compare booleans for equality to TRUE and FALSESebastian Dröge1-1/+1
TRUE is 1, but every other non-zero value is also considered true. Comparing for equality with TRUE would only consider 1 but not the others.
2014-11-19rtspconnection: fix warning on param name mismatchHyunjun Ko1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=740013
2014-10-24rtsp: use generic marshallerTim-Philipp Müller4-9/+3
2014-10-21rtspconnection: call watch notify before freeing any watch resourcesAleix Conchillo Flaqué1-3/+3
This gives control to the notify function allowing it to finish other watch related functionality. https://bugzilla.gnome.org/show_bug.cgi?id=737752
2014-09-09rtspconnection: ignore timeout in session request headerOgnyan Tonchev1-0/+13
The timeout parameter is only allowed in a session response header but some clients, like Honeywell VMS applications, send it as part of the session request header. Ignore everything from the semicolon to the end of the line when parsing session id. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=736267
2014-08-29rtspconnection: Protect readsrc, writesrc and controllsrc with a mutexGöran Jönsson1-0/+6
Fixes a crash when controlsrc, readsrc or writesrc are modified from gst_rtsp_source_dispatch_read/write and gst_rtsp_watch_reset at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=735569
2014-07-02docs: Assorted documentation and introspection fixes for new 1.4 APIEvan Nemerson2-8/+8
https://bugzilla.gnome.org/show_bug.cgi?id=732595
2014-07-01rtspconnection: also allow POST before GETWim Taymans1-10/+28
Don't only allow GET and then POST request to setup tunneling over HTTP but also allow POST and then GET. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732459
2014-05-20rtsp-transport: clarify port usageWim Taymans1-4/+8
Comment in the docs what the client_port and server_port fields are used for in TCP mode (if the application wants to set those values).
2014-05-20rtspconnection: Add read source on write socket.Göran Jönsson1-0/+10
Add a read source on write socket when lost tunnel. To be able to detect when clint closes get channel. This is already done in gst_rtsp_source_dispatch_write but only when the queue is empty. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730368
2014-05-13rtspconnection: Don't use argument for local storageEdward Hervey1-4/+5
By re-using the uri argument for storing local data, we could end up in a situation where we would free uri ... which would actually be the string passed in argument. Instead explicitely use a local variable. Fixes double-free issues. CID #1212176
2014-05-09rtspconnection: Reset control_stream.Göran Jönsson1-0/+1
Reset control_stream when gst_rtsp_connection_close. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=729632
2014-05-05rtsp: Link to ws2_32 on WindowsРуслан Ижбулатов1-1/+1
Needed for getsockname and setsockopt https://bugzilla.gnome.org/show_bug.cgi?id=729514
2014-05-02rtspdefs: remove outdated commentsTim-Philipp Müller2-12/+2
2014-04-30rtspconnection: Empty queue when flush.Göran Jönsson1-1/+5
Empty the watchs queue when calling gst_rtsp_watch_set_flushing with flushing variabel is TRUE. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728772
2014-04-26docs: remove outdated and pointless 'Last reviewed' lines from docsTim-Philipp Müller7-14/+0
They are very confusing for people, and more often than not also just not very accurate. Seeing 'last reviewed: 2005' in your docs is not very confidence-inspiring. Let's just remove those comments.
2014-03-28rtspconnection: add flush methodWim Taymans2-9/+67
Add a method to set/unset the flushing state that makes _wait_backlog() unlock. See https://bugzilla.gnome.org/show_bug.cgi?id=725898
2014-03-25rtsptransport: UDP is also default for SAVP and AVPFWim Taymans1-1/+4
2014-03-24rtspconnection: Fix minor memory leaks in error handlingOgnyan Tonchev1-0/+3
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726642
2014-03-24rtspconnection: Fix connection_poll()Ognyan Tonchev1-22/+19
* Only check for conditions we are interested in. * Makes no sense to specify G_IO_ERR and G_IO_HUP in condition, they will always be reported if they are true. * Do not create timed source if timeout is NULL. * Correctly wait for sources to be dispatched, context_iteration() is not guaranteed to always block even if set to do so. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726641
2014-03-16rtspconnection: Silence a compiler warningРуслан Ижбулатов1-2/+10
Cast the argument into (const char *) on W32, as winsock2 expects it. https://bugzilla.gnome.org/show_bug.cgi?id=726433
2014-03-10rtspconnection: gst_rtsp_watch_wait_backlogGöran Jönsson2-3/+59
New method that wait until there is room in backlog queue. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725898
2014-03-10rtspconnection: GstRTSPWatch func for tunnel GET responseDavid Svensson Fors2-1/+11
Add a callback in GstRTSPWatch where the response to HTTP GET for tunneled connections can be modified. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725878
2014-03-10rtspdefs: add RFC 4567 headers and status codeWim Taymans2-0/+8
This new Header and status code is used for SRTP
2014-03-03rtspconnection: Call closed() when GET is closed in tunneled modeOgnyan Tonchev1-0/+109
This patch adds read source on the write socket in tunneled mode and we get a callback when client disconnects the GET channel. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725313
2014-03-02docs: Add annotations for return valuesSebastian Rasmussen3-6/+7
Rephrase and clarify some return value descriptions Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725521
2014-03-02docs: Fix argument and annotation typosSebastian Rasmussen1-1/+1
* colorbalance: Fix misspelled annotation * rtsp: Replace incorrectly documented function argument * sdp: Escape @ character to avoid gtk-doc warning * video-*: Add missing annotation colon * videodecoder/video-color: Fix function argument typos * videoutils: Remove unknown annotation field Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725521
2014-02-26rtsp: fix build with older GLib versionsTim-Philipp Müller1-0/+2
The gio/gnetworking.h header is only available since glib 2.36 https://bugzilla.gnome.org/show_bug.cgi?id=725206
2014-02-26rtspconnection: Add missing includeOgnyan Tonchev1-0/+4
https://bugzilla.gnome.org/show_bug.cgi?id=725206
2014-02-21rtspconnection: Remove read child source when POST is disconnectedOgnyan Tonchev1-0/+13
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724720