Wim Taymans [Wed, 14 Nov 2012 14:49:06 +0000 (15:49 +0100)]
address-pool: add object to manage multicast addresses
Make an object that can manage a rage of multicast addresses and ports.
Wim Taymans [Tue, 13 Nov 2012 11:05:42 +0000 (12:05 +0100)]
server: set default max-threads property
Wim Taymans [Tue, 13 Nov 2012 10:54:17 +0000 (11:54 +0100)]
media: wait for concurrent _prepare
If a prepare is busy, wait for the result.
Wim Taymans [Tue, 13 Nov 2012 10:49:08 +0000 (11:49 +0100)]
media: add lock around message handler
We don't want to dispatch messages while we are still processing the result of
the state change.
Wim Taymans [Tue, 13 Nov 2012 10:15:35 +0000 (11:15 +0100)]
media: add lock to protect state changes
Wim Taymans [Tue, 13 Nov 2012 10:14:49 +0000 (11:14 +0100)]
stream: add locking
Wim Taymans [Mon, 12 Nov 2012 16:11:18 +0000 (17:11 +0100)]
stream-transport: add keep-alive method
Wim Taymans [Mon, 12 Nov 2012 16:06:42 +0000 (17:06 +0100)]
stream-transport: add method to handle RTP/RTCP
Call new methods instead of poking into the structures directly.
Wim Taymans [Mon, 12 Nov 2012 15:51:03 +0000 (16:51 +0100)]
session-media: add locking
Wim Taymans [Mon, 12 Nov 2012 15:42:37 +0000 (16:42 +0100)]
session: add locking
Wim Taymans [Mon, 12 Nov 2012 15:30:16 +0000 (16:30 +0100)]
server: free old socket
Wim Taymans [Mon, 12 Nov 2012 15:18:57 +0000 (16:18 +0100)]
mapping: add locking
Wim Taymans [Mon, 12 Nov 2012 15:14:19 +0000 (16:14 +0100)]
media-factory: add locking
Wim Taymans [Mon, 12 Nov 2012 15:03:21 +0000 (16:03 +0100)]
auth: add locking
Wim Taymans [Mon, 12 Nov 2012 14:53:28 +0000 (15:53 +0100)]
server: add max-thread property
Wim Taymans [Mon, 12 Nov 2012 14:29:39 +0000 (15:29 +0100)]
server: use a threadpool for the mainloops
Wim Taymans [Mon, 12 Nov 2012 13:30:43 +0000 (14:30 +0100)]
client: rename method
gst_rtsp_client_create_from_socket -> gst_rtsp_client_use_socket: we
don't really create the client from the socket, we use the socket for the
client.
Wim Taymans [Mon, 12 Nov 2012 13:09:09 +0000 (14:09 +0100)]
server: rework maincontext handling in clients
Make a separate method to attach a client to a MainContext.
Let the server decide in what GMainContext the client will operate and give this
context to the client in attach. Then the server can later decide to use a
separate thread for each client or just use the mainthread.
Wim Taymans [Mon, 12 Nov 2012 11:40:34 +0000 (12:40 +0100)]
session: move session header code in session object
Tim-Philipp Müller [Sun, 4 Nov 2012 00:14:25 +0000 (00:14 +0000)]
Fix FSF address
Sebastian Pölsterl [Sun, 28 Oct 2012 12:48:44 +0000 (13:48 +0100)]
rtsp-server: added annotations to indicate type of ownership transfer of return values
https://bugzilla.gnome.org/show_bug.cgi?id=680777
Tim-Philipp Müller [Sun, 28 Oct 2012 15:37:51 +0000 (15:37 +0000)]
No need to define GST_USE_UNSTABLE_API any more, 1.0 is stable now
Tim-Philipp Müller [Sun, 28 Oct 2012 15:09:04 +0000 (15:09 +0000)]
bindings: remove vala bindings
They'll be reunited with the other GStreamer bindings
https://bugzilla.gnome.org/show_bug.cgi?id=680777
Wim Taymans [Sat, 27 Oct 2012 22:23:57 +0000 (00:23 +0200)]
rtsp: only create transport when needed
Only create the StreamTransport when configured.
Wim Taymans [Sat, 27 Oct 2012 21:53:35 +0000 (23:53 +0200)]
client: small cleanup
Wim Taymans [Sat, 27 Oct 2012 21:49:24 +0000 (23:49 +0200)]
rtsp: refactor configuration of transport
Move the configuration of the transport to a place where it makes
more sense.
Wim Taymans [Sat, 27 Oct 2012 19:26:55 +0000 (21:26 +0200)]
client: refactor transport parsing
Wim Taymans [Sat, 27 Oct 2012 19:05:03 +0000 (21:05 +0200)]
client: refuse to change the MTU on shared media
If we change the MTU of chared media, it changes for all clients.
We don't want to set the MTU to something large for clients that
stream over UDP.
Wim Taymans [Sat, 27 Oct 2012 09:53:51 +0000 (11:53 +0200)]
small fixes to docs and debug
Wim Taymans [Fri, 26 Oct 2012 15:29:30 +0000 (17:29 +0200)]
stream: transports must already have been removed
Wim Taymans [Fri, 26 Oct 2012 15:28:10 +0000 (17:28 +0200)]
stream: improve join and leave of the pipeline
simplify code
Do the cleanup properly
Add some docs
Wim Taymans [Fri, 26 Oct 2012 13:23:16 +0000 (15:23 +0200)]
media: move unprepare below default implementation
Makes it easier to find the default implementation
Wim Taymans [Fri, 26 Oct 2012 13:21:50 +0000 (15:21 +0200)]
media: signal unprepared when we actually finish
Wim Taymans [Fri, 26 Oct 2012 13:19:23 +0000 (15:19 +0200)]
media: no need to unlock, unprepare does that when needed
Wim Taymans [Fri, 26 Oct 2012 10:33:21 +0000 (12:33 +0200)]
docs: update docs
Wim Taymans [Fri, 26 Oct 2012 10:04:02 +0000 (12:04 +0200)]
rtsp: fix MTU setting
Fix setting of the MTU. There is no need for a vmethod.
Wim Taymans [Fri, 26 Oct 2012 09:02:43 +0000 (11:02 +0200)]
docs: update docs
Tim-Philipp Müller [Fri, 26 Oct 2012 10:24:55 +0000 (11:24 +0100)]
configure: bump version number after refactoring
Wim Taymans [Thu, 25 Oct 2012 19:29:58 +0000 (21:29 +0200)]
rtsp: massive refactoring
Make GObjects from the remaining simple structures.
Remove GstRTSPSessionStream, it's not needed.
Rename GstRTSPMediaStream -> GstRTSPStream: It is shorter
Rename GstRTSPMediaTrans -> GstRTSPStreamTransport: It describes how
a GstRTSPStream should be transported to a client.
Rename GstRTSPMediaFactory::get_element -> create_element because that
more accurately describes what it does.
Make nice methods instead of poking in the structures.
Move some methods inside the relevant object source code.
Use GPtrArray to store objects instead of plain arrays, it is more
natural and allows us to more easily clean up.
Move the allocation of udp ports to the Stream object. The Stream object
contains the elements needed to stream the media to a client.
Improve the prepare and unprepare methods. Unprepare should now undo
everything prepare did. Improve also async unprepare when doing EOS on
shutdown. Make sure we always unprepare correctly.
Sebastian Rasmussen [Tue, 23 Oct 2012 20:11:17 +0000 (22:11 +0200)]
rtsp-client: Unref server address clients connected to
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686725
Ognyan Tonchev [Mon, 22 Oct 2012 14:09:24 +0000 (16:09 +0200)]
rtsp-server: don't ref server socket if it is NULL
Fixes test_bind_already_in_use unit test again after commit
6a497440.
https://bugzilla.gnome.org/show_bug.cgi?id=686644
Sebastian Rasmussen [Mon, 22 Oct 2012 14:29:09 +0000 (16:29 +0200)]
tests: Add libgio link dependency
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686647
Sebastian Pölsterl [Mon, 1 Oct 2012 18:03:43 +0000 (20:03 +0200)]
rtsp-media-mapping: rename find_media vfunc to find_factory
The virtual method and class method should have the same name
so it is correctly represented in GIR file
https://bugzilla.gnome.org/show_bug.cgi?id=680777
Sebastian Pölsterl [Mon, 1 Oct 2012 17:46:15 +0000 (19:46 +0200)]
rtsp-server: fixed comments and GIR annotations
https://bugzilla.gnome.org/show_bug.cgi?id=680777
Alessandro Decina [Fri, 12 Oct 2012 05:18:19 +0000 (07:18 +0200)]
media-mapping: fix transfer mode for gst_rtsp_media_mapping_add_factory
Alessandro Decina [Fri, 12 Oct 2012 05:08:57 +0000 (07:08 +0200)]
rtsp-server: allow binding on port 0 (binds on a random port)
Alessandro Decina [Fri, 12 Oct 2012 04:21:24 +0000 (06:21 +0200)]
rtsp-server: add bound-port property
bound-port can be used to retrieve the port number when the server is bound on
port 0, which binds on a random port.
Alessandro Decina [Fri, 12 Oct 2012 04:11:36 +0000 (06:11 +0200)]
rtsp-media-factory: make ::get_element overridable by GI bindings
The way to annotate vfuncs with GI seems to be to create an invoker (GI term)
for them and to annotate the invoker. Add gst_rtsp_media_factory_get_element()
as the invoker for ::get_element(), making it overridable by GI generated
bindings.
Alessandro Decina [Fri, 12 Oct 2012 04:07:07 +0000 (06:07 +0200)]
rtsp-media-factory-uri: don't autoplug parsers in a loop
Stop autoplugging parsers if caps have parsed=true set. Fixes autoplugging
h264parse forever.
Alessandro Decina [Sat, 6 Oct 2012 13:49:07 +0000 (15:49 +0200)]
Explicitly link against gio. Fix link error on mac.
Ognyan Tonchev [Wed, 10 Oct 2012 09:13:10 +0000 (11:13 +0200)]
session: add ttl to the transport header in SETUP
See https://bugzilla.gnome.org/show_bug.cgi?id=685561
Ognyan Tonchev [Wed, 10 Oct 2012 09:06:02 +0000 (11:06 +0200)]
client: Use client transport settings for multicast if allowed.
This patch makes it possible for the client to send transport settings for
multicast (destination && ttl). Client settings must be explicitly allowed or
the server will use its own settings.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685561
Tim-Philipp Müller [Sat, 6 Oct 2012 14:02:27 +0000 (15:02 +0100)]
Automatic update of common submodule
From 6c0b52c to 6bb6951
Patricia Muscalu [Mon, 1 Oct 2012 14:13:50 +0000 (16:13 +0200)]
rtsp-client: do not destroy the rtsp watch
Don't destroy the client watch while dispatching. The rtsp watch is
automatically destroyed after the rtsp watch function closed() has
been called.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685220
Tim-Philipp Müller [Sat, 22 Sep 2012 15:11:48 +0000 (16:11 +0100)]
Automatic update of common submodule
From 4f962f7 to 6c0b52c
Ognyan Tonchev [Mon, 10 Sep 2012 14:25:57 +0000 (16:25 +0200)]
media: fix check for seekability
Wim Taymans [Fri, 7 Sep 2012 15:14:30 +0000 (17:14 +0200)]
client: use more GIO
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681593
Wim Taymans [Fri, 7 Sep 2012 15:14:10 +0000 (17:14 +0200)]
server: remove obsolete includes
Aleix Conchillo Flaque [Tue, 4 Sep 2012 00:33:17 +0000 (17:33 -0700)]
rtsp-media: also initialize transports in on_ssrc_active (bug #683304)
* gst/rtsp-server/rtsp-media.c: GstRTSPMediaStream transports might not
be available in "on_new_ssrc". The transports are added in
gst_rtsp_media_set_state when going to PLAYING state. However,
"on_new_ssrc" might be called before this happens.
https://bugzilla.gnome.org/show_bug.cgi?id=683304
Aleix Conchillo Flaque [Mon, 3 Sep 2012 17:48:14 +0000 (10:48 -0700)]
rtsp-client: add signals for rtsp requests (fixes #683287)
Aleix Conchillo Flaque [Thu, 30 Aug 2012 19:03:27 +0000 (12:03 -0700)]
add new-session signal to rtsp-client (fixes #683058)
Stefan Sauer [Wed, 22 Aug 2012 11:34:55 +0000 (13:34 +0200)]
Automatic update of common submodule
From 668acee to 4f962f7
Patricia Muscalu [Wed, 15 Aug 2012 13:54:32 +0000 (15:54 +0200)]
rtsp-server: fixed segfault in gst_rtsp_server_create_socket
Do not assume that *error is set in g_socket_address_enumerator_next.
Added test_bind_already_in_use unit-test.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681914
Tim-Philipp Müller [Sun, 5 Aug 2012 15:43:53 +0000 (16:43 +0100)]
Automatic update of common submodule
From 94ccf4c to 668acee
Patricia Muscalu [Wed, 18 Jul 2012 13:54:49 +0000 (15:54 +0200)]
rtsp-client: make create_sdp virtual method
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680173
Sebastian Dröge [Mon, 23 Jul 2012 06:48:25 +0000 (08:48 +0200)]
Automatic update of common submodule
From 98e386f to 94ccf4c
Wim Taymans [Tue, 10 Jul 2012 09:39:58 +0000 (11:39 +0200)]
client: fix docs
Ognyan Tonchev [Tue, 3 Jul 2012 16:06:00 +0000 (18:06 +0200)]
rtsp-server: use an existing socket to establish HTTP tunnel
Make it possible to transfer a socket from an HTTP server to be used as
an RTSP over HTTP tunnel.
Ognyan Tonchev [Tue, 3 Jul 2012 11:26:30 +0000 (13:26 +0200)]
rtsp: Handle the blocksize parameter
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679325
Sebastian Rasmussen [Mon, 25 Jun 2012 12:28:10 +0000 (14:28 +0200)]
Have unit test get header from source dir, not installed dir
This makes compilation of unit tests work in a build directory other
than the source directory.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678789
Tim-Philipp Müller [Sat, 23 Jun 2012 14:06:11 +0000 (15:06 +0100)]
rtsp-media: update for gst_element_make_from_uri() changes
David Svensson Fors [Tue, 19 Jun 2012 13:25:36 +0000 (15:25 +0200)]
rtsp: add unit test
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678076
David Svensson Fors [Wed, 13 Jun 2012 09:43:17 +0000 (11:43 +0200)]
rtsp-media: don't collect media stats when going to NULL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678015
Wim Taymans [Thu, 14 Jun 2012 07:59:06 +0000 (09:59 +0200)]
client: don't leak transports
David Svensson Fors [Tue, 12 Jun 2012 12:45:39 +0000 (14:45 +0200)]
rtsp-client: free transport on no_stream in SETUP handler
David Svensson Fors [Tue, 12 Jun 2012 12:33:35 +0000 (14:33 +0200)]
rtsp-client: changed session media iteration
In client_unlink_session: now don't iterate in session->medias
list where items are removed by gst_rtsp_session_release_media.
Instead, repeatedly remove the first item.
David Svensson Fors [Tue, 12 Jun 2012 11:39:35 +0000 (13:39 +0200)]
rtsp-client: don't use g_object_unref on GstRTSPSessionMedia
GstRTSPSessionMedia is not a GObject type. When the
GstRTSPSession is freed, it will free the media.
David Svensson Fors [Tue, 12 Jun 2012 11:36:57 +0000 (13:36 +0200)]
factory: plug pad leak in collect_streams
In gst_rtsp_media_factory_collect_streams: unref the srcpad that
was retrieved using gst_element_get_static_pad. gst_ghost_pad_new
will take one reference, and the other reference will otherwise
give a memory leak.
Sebastian Rasmussen [Fri, 25 May 2012 14:43:38 +0000 (16:43 +0200)]
configure: suppress some warnings when debug is disabled
Warnings about unused variables should be suppressed if core has the
debug system disabled.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676824
Tim-Philipp Müller [Sat, 9 Jun 2012 16:41:05 +0000 (17:41 +0100)]
docs: fix build in uninstalled setup
Include gst-plugins-base libs properly.
Sebastian Rasmussen [Fri, 25 May 2012 14:38:15 +0000 (16:38 +0200)]
docs: include headers defining rtsp-server object types
Fixes compiler warnings during docs build.
https://bugzilla.gnome.org/show_bug.cgi?id=676824
Sebastian Rasmussen [Fri, 25 May 2012 15:11:53 +0000 (17:11 +0200)]
configure: Add warning flags for compiler when configuring
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676824
Edward Hervey [Fri, 8 Jun 2012 13:07:06 +0000 (15:07 +0200)]
Automatic update of common submodule
From 03a0e57 to 98e386f
Edward Hervey [Wed, 6 Jun 2012 16:20:49 +0000 (18:20 +0200)]
Automatic update of common submodule
From 1fab359 to 03a0e57
David Svensson Fors [Wed, 6 Jun 2012 12:49:02 +0000 (14:49 +0200)]
client: fix GSocketAddress leak in gst_rtsp_client_accept
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677463
Edward Hervey [Fri, 1 Jun 2012 08:30:58 +0000 (10:30 +0200)]
Automatic update of common submodule
From f1b5a96 to 1fab359
Sebastian Dröge [Thu, 31 May 2012 11:11:43 +0000 (13:11 +0200)]
Automatic update of common submodule
From 92b7266 to f1b5a96
Sebastian Dröge [Wed, 30 May 2012 10:48:51 +0000 (12:48 +0200)]
Automatic update of common submodule
From ec1c4a8 to 92b7266
Sebastian Dröge [Wed, 30 May 2012 09:27:31 +0000 (11:27 +0200)]
Automatic update of common submodule
From 3429ba6 to ec1c4a8
David Svensson Fors [Tue, 22 May 2012 13:37:25 +0000 (15:37 +0200)]
rtsp: fix compiler warnings
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676500
Sebastian Dröge [Sun, 13 May 2012 13:59:10 +0000 (15:59 +0200)]
Automatic update of common submodule
From dc70203 to 3429ba6
Wim Taymans [Fri, 11 May 2012 07:42:47 +0000 (09:42 +0200)]
rtsp-server: port to new thread API
Sebastian Dröge [Mon, 16 Apr 2012 07:11:54 +0000 (09:11 +0200)]
Automatic update of common submodule
From 6db25be to dc70203
Sebastian Dröge [Fri, 13 Apr 2012 13:27:22 +0000 (15:27 +0200)]
rtsp-server: Fix compilation and compiler warnings
Sebastian Dröge [Fri, 13 Apr 2012 11:49:08 +0000 (13:49 +0200)]
configure: Modernize autotools setup a bit
Also we now only create tar.bz2 and tar.xz tarballs.
Sebastian Dröge [Fri, 13 Apr 2012 11:39:40 +0000 (13:39 +0200)]
Automatic update of common submodule
From 464fe15 to 6db25be
Sebastian Dröge [Thu, 5 Apr 2012 16:45:43 +0000 (18:45 +0200)]
Automatic update of common submodule
From 7fda524 to 464fe15
Sebastian Dröge [Wed, 4 Apr 2012 12:45:55 +0000 (14:45 +0200)]
rtsp-server: Update versioning
Sebastian Dröge [Thu, 29 Mar 2012 13:12:21 +0000 (15:12 +0200)]
Merge remote-tracking branch 'origin/0.10'
Conflicts:
gst/rtsp-server/rtsp-session-pool.c
Sebastian Dröge [Tue, 27 Mar 2012 08:13:20 +0000 (10:13 +0200)]
rtsp-server: Don't use deprecated GLib API