Commit graph

1550 commits

Author SHA1 Message Date
Thibault Saunier
8608c1cae4 rtsp-media: Initialize scalar variable
CID 1418985
2017-10-09 14:44:40 +02:00
Edward Hervey
f053781dd5 win32: Update export file 2017-10-06 10:27:34 +02:00
Thibault Saunier
9706199efb Start support for RTSP 2.0
This adds basic support for new 2.0 features, though the protocol is
subposdely backward incompatible, most semantics are the sames.

This commit adds:

- features:
 * version negotiation
 * pipelined requests support
 * Media-Properties support
 * Accept-Ranges support

- APIs:
  * gst_rtsp_media_seekable

The RTSP methods that have been removed when using 2.0 now return
BAD_REQUEST.

https://bugzilla.gnome.org/show_bug.cgi?id=781446
2017-10-05 13:23:48 -03:00
Thibault Saunier
8b38aa9c46 stream: Use stream duration as stream-stop if segment was not configured with a stop
Allowing client to know stream duration when no seeking happened.

https://bugzilla.gnome.org/show_bug.cgi?id=783435
2017-10-05 12:07:13 -03:00
Sebastian Dröge
c04e3b07dd rtsp-media-factory: Don't cache any media if NULL was returned as key
The docs already mentioned this, but we actually stored it in the hash
table with key==NULL and leaked its reference forever.
2017-09-25 19:41:33 +03:00
Mathieu Duponchelle
f1088f368f rtspclientsink: Use a mutex for protecting against concurrent send/receives
This is a simple port of:

* a722f6e832
* c438545dc9
* cd17c71dce

in gst-plugins-good.
2017-09-18 19:43:17 +02:00
Satya Prakash Gupta
d690fbd37d sdp: fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787059
2017-08-31 11:04:05 +01:00
Tim-Philipp Müller
fdd6479f4b meson: don't install -uninstalled.pc file
https://bugzilla.gnome.org/show_bug.cgi?id=786457
2017-08-18 17:37:01 +01:00
Tim-Philipp Müller
7f68de02cc Automatic update of common submodule
From 48a5d85 to 3f4aa96
2017-08-17 12:26:17 +01:00
Sebastian Dröge
ffbabb1529 rtsp-client: Fix typo in debug message 2017-08-14 21:04:58 +03:00
Tim-Philipp Müller
3452c5d4c6 meson: hide symbols by default unless explicitly exported 2017-08-11 14:14:32 +01:00
Tim-Philipp Müller
b648caac43 pkgconfig: remove -I@srcdir@/.. which duplicates abs_top_srcdir
Fixes meson warning about undefined @srcdir@.
2017-08-10 14:24:25 +01:00
Tim-Philipp Müller
8edfec2cc3 meson: skip tests on windows for now
As we do in the other modules. As libgstcheck is currently not
built on windows. Fixes "Fallback variable 'gst_check_dep' in
the subproject 'gstreamer' does not exist"" Meson error.
2017-07-21 13:36:31 +01:00
Julien Isorce
d72284bdf8 rtsp-stream: fix connection delay due to wrong assumption on last-sample
Commit 852cc09f54 assumed that
multiudpsink's last-sample always comes from the payloader. Which
is wrong if auxiliary streams are multiplexed in the same stream.

So check the buffer's ssrc against the caps'ssrc before to use its
seqnum. If not the same ssrc just use the payloader as done prior
the commit above or when there is no last-sample yet.

https://bugzilla.gnome.org/show_bug.cgi?id=784094
2017-06-29 14:52:09 +01:00
Thibault Saunier
fe3131ae88 meson: Allow using glib as a subproject 2017-06-28 11:57:31 -04:00
Tim-Philipp Müller
9df5f8ea8f meson: fix with-package-name option
https://bugzilla.gnome.org/show_bug.cgi?id=784082
2017-06-26 09:55:49 +01:00
Nicolas Dufresne
ff7b8fe032 Distribute meson_options.txt 2017-06-09 20:16:28 -04:00
Nicolas Dufresne
e96dc57e1b And config.h.meson is no longer dist either 2017-06-09 20:11:47 -04:00
Tim-Philipp Müller
e66d3beb0c meson: config.h.meson is no longer needed 2017-06-09 21:28:35 +01:00
Thibault Saunier
fe8a9bc6d5 meson: Fix building tests and activate them again 2017-06-07 15:36:12 -04:00
Thibault Saunier
c9e1346842 meson: Do not use path separator in test names
Avoiding warnings like:

    WARNING: Target "elements/audioamplify" has a path separator in its name.
2017-06-07 12:55:41 -04:00
Tim-Philipp Müller
0ce18a878d meson: add options to set package name and origin
https://bugzilla.gnome.org/show_bug.cgi?id=782172
2017-05-20 15:07:31 +01:00
Tim-Philipp Müller
b344248630 Mark symbols explicitly for export with GST_EXPORT 2017-05-18 10:35:18 +01:00
Nicolas Dufresne
e1d43cab65 Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-16 14:44:43 -04:00
Sebastian Dröge
51cd53050e Back to development 2017-05-04 18:59:14 +03:00
Sebastian Dröge
d4a0640855 Release 1.12.0 2017-05-04 15:40:46 +03:00
Sebastian Dröge
3a19f439be Release 1.11.91 2017-04-27 17:42:02 +03:00
Tim-Philipp Müller
3acd5dd665 Automatic update of common submodule
From 60aeef6 to 48a5d85
2017-04-24 20:30:37 +01:00
Thibault Saunier
b56930704f gi: Fix some annotations and docstrings 2017-04-13 14:20:10 -03:00
Thibault Saunier
133e91462a meson: Build gir 2017-04-13 14:11:43 -03:00
Tim-Philipp Müller
b5281c18c4 Automatic update of common submodule
From 39ac2f5 to 60aeef6
2017-04-10 23:51:12 +01:00
Sebastian Dröge
085304696e Release 1.11.90 2017-04-07 16:35:03 +03:00
Tim-Philipp Müller
3dcd77a21c examples: make test-launch pipeline shared by default as well 2017-03-27 18:19:33 +01:00
Sebastian Dröge
eb1ee7e28d gstreamer-rtsp-server: Add both srcdir and builddir to the include path
Just the build dir is not going to work for srcdir!=builddir.
2017-02-27 19:10:44 +02:00
Sebastian Dröge
2cd9214c8b meson: Update version 2017-02-24 15:59:54 +02:00
Sebastian Dröge
f5252fab9a Back to development 2017-02-24 15:37:49 +02:00
Sebastian Dröge
ed79e99cfa Release 1.11.2 2017-02-24 15:10:07 +02:00
Tim-Philipp Müller
a9cb8868fd meson: dist meson build files
Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.
2017-02-14 20:40:26 +00:00
Jan Schmidt
007f48f711 examples/test-record: Add extra line to initial printout
Add an example line of how to deliver a stream to the
RTSP RECORD example
2017-02-07 23:42:48 +11:00
Sebastian Dröge
cd4e675f0c rtsp-client: Also handle the (S|G)ET_PARAMETER case of size==0 || !data as keep-alive
If there is no Content-Length header, no body would be allocated and the
'\0' would also not be appended to the body.
2017-01-19 14:57:19 +02:00
Sebastian Dröge
ac1124efb4 rtsp-client: Fix handling of keep-alive GET_PARAMETER/SET_PARAMETER
While they logically have 0 bytes length, GstRTSPConnection is appending
a '\0' to everything making the size be 1 instead.
2017-01-19 14:24:07 +02:00
Tim-Philipp Müller
9f889c59c2 meson: bump version 2017-01-13 12:39:36 +00:00
Sebastian Dröge
6e145fadf9 rtsp-session: Only remove deprecated API if requested to do so, not just when disabling
gst_rtsp_session_is_expired() and gst_rtsp_session_next_timeout() were
affected.
2017-01-12 19:04:23 +02:00
Sebastian Dröge
2d9a5722fa Back to development 2017-01-12 16:32:59 +02:00
Sebastian Dröge
c860590a8c Release 1.11.1 2017-01-12 16:14:46 +02:00
Patricia Muscalu
fb7833245d rtsp-stream: corrected if-statement in _get_server_port()
This bug was accidentally introduced while fixing a segfault
in _get_server_port() function.

https://bugzilla.gnome.org/show_bug.cgi?id=776345
2017-01-10 10:38:13 +00:00
Patricia Muscalu
f47e6ab9f6 rtsp-stream: fixed segmenation fault in _get_server_port()
Calling function gst_rtsp_stream_get_server_port() results in
segmenation fault in the RTP/RTSP/TCP case.
Port that the server will use to receive RTCP makes only
sense in the UDP case, however the function should handle
the TCP case in a nicer way.

https://bugzilla.gnome.org/show_bug.cgi?id=776345
2017-01-09 15:27:40 +02:00
Aleksandr Slobodeniuk
b27e7c6b5b dosc: Fix a little typo
https://bugzilla.gnome.org/show_bug.cgi?id=777037
2017-01-09 10:19:53 +00:00
Guillaume Desmottes
e6c6bf96ce meson: generate pkg-config -uninstalled pc files
Generating those files is useful for users building the GStreamer stack
using meson and having to link it to another project which is still
using the autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=776810
2017-01-05 09:42:29 -03:00
Guillaume Desmottes
3a911a2f58 pkgconfig: fix -uninstalled pc file
pcfiledir was never defined so the paths were wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=776867
2017-01-05 09:42:15 -03:00