Commit graph

1374 commits

Author SHA1 Message Date
Vineeth TM 3920e21cd0 rtsp-media: assertion error due to wrong condition check
In media to caps function, reserved_keys array is being used for variable i,
leading to GLib-CRITICAL **: g_ascii_strcasecmp: assertion 's1 != NULL' failed
changed it to variable j

https://bugzilla.gnome.org/show_bug.cgi?id=753009
2015-07-30 15:52:08 +03:00
Sebastian Dröge ae7bec97cb rtsp-media: Strip keys from the fmtp that we use internally in our caps
Skip keys from the fmtp, which we already use ourselves for the
caps. Some software is adding random things like clock-rate into
the fmtp, and we would otherwise here set a string-typed clock-rate
in the caps... and thus fail to create valid RTP caps

https://bugzilla.gnome.org/show_bug.cgi?id=753009
2015-07-29 11:28:21 +01:00
Xavier Claessens 5585dc5878 threadpool: Fix possible warning in gst_rtsp_thread_pool_cleanup()
https://bugzilla.gnome.org/show_bug.cgi?id=752640
2015-07-20 16:47:05 -04:00
Stefan Sauer c809dc1735 Automatic update of common submodule
From f74b2df to 9aed1d7
2015-07-03 22:00:00 +02:00
Sebastian Dröge dc9f11c27f Back to development 2015-06-25 00:04:28 +02:00
Sebastian Dröge d8fff9627d Release 1.5.2 2015-06-24 23:44:37 +02:00
Ognyan Tonchev 8922afb88d rtsp-client: allow application to decide what requirements are supported
Add "check-requirements" signal and vfunc to allow application
(and subclasses) to check the requirements.

Based on patch from Hyunjun Ko <zzoon.ko@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=749417
2015-06-23 14:38:29 +01:00
Nicolas Dufresne d59c7981cc Automatic update of common submodule
From 6015d26 to f74b2df
2015-06-16 17:50:26 -04:00
Ognyan Tonchev fb71b9c4e9 rtsp-media: Always use real payloader when creating streams
A bin that contains the real payloader might be used as payloader. In this
case we have to get the real payloader for the various properties it provides.

Example use cases for this are bins that payload some media and then have
additional elements that add metadata or RTP extension headers to the stream.

https://bugzilla.gnome.org/show_bug.cgi?id=750800
2015-06-16 11:09:37 +02:00
Sebastian Dröge fdfe97f447 test-netclock: Use gst_pipeline_set_latency() to set a high-enough, equal latency for all receivers 2015-06-13 17:14:43 +02:00
Sebastian Dröge a5044fa1f9 test-netclock: Use new ntp-time-source property on rtpbin
Select the clock time to be used as NTP time source. This allows proper
synchronization between receivers, independent of sharing base times, and just
requires them to use the same clock.
2015-06-12 23:35:32 +02:00
Sebastian Dröge 028a4666fa test-netclock: Setting the same base time on sender and receiver is not necessary
It's going to be fixed up by rtpbin when using ntp-sync=TRUE
2015-06-11 20:41:31 +02:00
Hyunjun Ko 2a3dd3d38f rtsp-stream: add description for gst_rtsp_stream_request_aux_sender
https://bugzilla.gnome.org/show_bug.cgi?id=750764
2015-06-11 11:37:03 +01:00
Hyunjun Ko 93d37df0c3 docs: add missing types
https://bugzilla.gnome.org/show_bug.cgi?id=750764
2015-06-11 11:34:42 +01:00
Hyunjun Ko 8c1eb6fb4f docs: add missing apis
https://bugzilla.gnome.org/show_bug.cgi?id=750764
2015-06-11 11:34:22 +01:00
Sebastian Dröge 5c5850b6b1 test-netclock-client: Use ntp-sync=TRUE and buffer-mode=SYNC for proper synchronization 2015-06-10 17:14:44 +02:00
Xavier Claessens 6ec8fe44b2 GstRTSPAuth: Add client certificate authentication support
https://bugzilla.gnome.org/show_bug.cgi?id=750471
2015-06-09 19:51:46 -04:00
Sebastian Dröge af2cb6445a test-netclock-client: Use new GstClock API to wait for clock synchronization 2015-06-09 13:53:47 +02:00
Sebastian Dröge 6219766555 test-netclock-client: Use a GMainLoop and playbin's source-setup signal
A mainloop is needed to get glimagesink to display something on OSX, and
the source-setup signal just makes things a little bit easier.
2015-06-09 13:52:05 +02:00
Edward Hervey 2c935a7884 Automatic update of common submodule
From d9a3353 to 6015d26
2015-06-09 11:30:54 +02:00
Stefan Sauer 7436fee689 Automatic update of common submodule
From d37af32 to d9a3353
2015-06-08 23:08:34 +02:00
Stefan Sauer 1541d3dd8a Automatic update of common submodule
From 21ba2e5 to d37af32
2015-06-07 23:07:31 +02:00
Stefan Sauer 68dbad0967 Automatic update of common submodule
From c408583 to 21ba2e5
2015-06-07 17:32:29 +02:00
Stefan Sauer 260e577b9c docs: remove variables that we define in the snippet from common
This is syncing our Makefile.am with upstream gtkdoc.
2015-06-07 17:19:10 +02:00
Stefan Sauer 4aaab390c4 Automatic update of common submodule
From 44a3517 to c408583
2015-06-07 17:16:47 +02:00
Sebastian Dröge 9c75932b16 Back to development 2015-06-07 16:44:55 +02:00
Sebastian Dröge e86bbbb66c Release 1.5.1 2015-06-07 11:20:01 +02:00
Göran Jönsson 08e0c79cee rtsp-client: No flush during Teardown.
When calling gst_rtsp_watch_write_data in gstrtspconnection.c and
backlog is empty it can happen that just a part of a message will be
sent and rest is in backlog queue. If then flush during teardown
just a part of message will be sent.This can lead to client miss
teardown response since it expect to get the last part of message.

The flushing during teardown was introduced to fix a deadlock that now
is fixed more generally in handle_request by temporary  setting backlog
size to unlimited.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=749845
2015-06-03 15:09:10 +02:00
Tim-Philipp Müller 550348738c tests: Use AM_TESTS_ENVIRONMENT
Needed by the new automake test runner and the
current version of the common submodule.
2015-05-27 17:04:41 +01:00
Sebastian Dröge 8700468499 rtsp-server: Use single-include rtsp header to make sure we get all definitions 2015-05-20 17:05:47 +03:00
Sebastian Dröge 1c30c60e64 rtsp-media: Mark some more functions static 2015-05-05 16:46:57 +02:00
Sebastian Dröge bbdf0a47d1 rtsp-media: Only unblock the media in suspend() when actually changing the state
Otherwise we're going to lose a few packets for live streams during DESCRIBE.
2015-05-05 16:46:19 +02:00
Sebastian Dröge e4264381a5 examples: Use AVPF profile for the RTX example 2015-05-04 16:33:08 +02:00
Sebastian Dröge ec2c500a9d rtsp-sdp: Only add RTX to the SDP when using a feedback profile 2015-05-04 16:31:20 +02:00
Hyunjun Ko 4ff22ef6d2 rtsp-stream: get valid clock-rate from last-sample
clock-rate in last-sample's caps is integer, not unsigned.
To get this value properly, variable needs to be type-casted to int.

https://bugzilla.gnome.org/show_bug.cgi?id=747614
2015-04-27 12:41:59 +02:00
Tim-Philipp Müller f777de7d7f autogen.sh: only run autopoint if gettext requested in configure.ac
Not just because there happens to be a po directory.

https://bugzilla.gnome.org/show_bug.cgi?id=748058
2015-04-26 15:07:52 +01:00
Tim-Philipp Müller 226fbbc8f8 Revert "configure.ac: uncomment gettext version setup"
This reverts commit 1545d8fef7.

We don't need a gettext setup here and there's no po
directory either, so no reason why autopoint would be
run in the first place.

See https://bugzilla.gnome.org/show_bug.cgi?id=748058
2015-04-26 14:59:09 +01:00
Alistair Buxton eb7705a48d Fix timeout function signatures across tests and examples 2015-04-23 20:12:18 +02:00
Tim-Philipp Müller 753f8a8ac9 tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
Make sure the test environment is set up.

https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-23 17:27:40 +01:00
Tim-Philipp Müller bdbc6f24ce configure: bump automake requirement to 1.14 and autoconf to 2.69
This is only required for builds from git, people can still
build tarballs if they only have older autotools.

https://bugzilla.gnome.org//show_bug.cgi?id=747624
2015-04-23 17:22:59 +01:00
Vincent Penquerc'h 1545d8fef7 configure.ac: uncomment gettext version setup
Fixes autogen.sh. It would run autopoint, which would complain
that it could not find the gettext version in configure.ac.

https://bugzilla.gnome.org/show_bug.cgi?id=748058
2015-04-20 08:49:57 +01:00
Hyunjun Ko fabde79bc3 test-video-rtx: set exact payload type to PCMA payloader
Setting wrong payload type causes failure to do retransmission through audio stream

https://bugzilla.gnome.org/show_bug.cgi?id=747839
2015-04-15 15:14:15 +02:00
Hyunjun Ko de590b4b2a rtsp-stream: fix to get valid each stream data for request-aux-sender signal
Because of duplicated g_signal_connect for request-aux-sender signal,
wrong stream pointer is passed to the signal handler.
Instead of passing each stream, pass stream array and get the relevant stream.

https://bugzilla.gnome.org/show_bug.cgi?id=747839
2015-04-15 15:14:04 +02:00
Tim-Philipp Müller bff66c0004 Update autogen.sh to latest version from common
Fixes build after aclocal_check etc. helpers have been removed.
2015-04-06 10:32:52 +01:00
Tim-Philipp Müller a54d8733b2 Automatic update of common submodule
From bc76a8b to c8fb372
2015-04-03 18:58:26 +01:00
Sebastian Dröge ef3bfd757b rtsp-stream: Limit the queues to 1 buffer
We only need them to be able to pre-roll, queueing up more data here
is only going to harm latency and memory usage.
2015-03-23 21:04:43 +01:00
Sebastian Dröge 357af7aea6 rtsp-stream: Update comment and ASCII art to the latest code
We have a queue in front of the udpsink too to prevent the pipeline from
locking up.
2015-03-23 20:59:52 +01:00
Nicolas Dufresne dfb053add3 rtsp-media: Properly return first rtptime
Instead we where returning first GstBuffer timestamp. This would result
in clock skew and unwanted behaviour in RTSP playback.

https://bugzilla.gnome.org/show_bug.cgi?id=746479
2015-03-21 11:04:05 -04:00
Nicolas Dufresne 01562286ba rtsp-stream: Don't leave buffer mapped
If the seq is NULL, the RTP buffer was left mapped. We should always
unmap the buffer.
2015-03-18 16:44:19 -04:00
Sebastian Dröge 01ae7c01f3 Fix typo in README 2015-03-15 12:27:39 +00:00