Ingo Randolf
be4635cf2f
examples: test-appsrc: fix buffer leak
2018-11-20 11:56:38 +00:00
Sebastian Dröge
98b480fae9
examples: Fix indentation
2018-08-14 14:10:56 +03:00
Tim-Philipp Müller
c2e3aa49f8
meson: add new test-appsrc2 example to meson build
2018-07-10 23:55:20 +01:00
Tim-Philipp Müller
35e284a946
examples: fix build of new test-appsrc2 example
...
Need to link against libgstapp-1.0.
2018-07-10 23:53:41 +01:00
Jan Schmidt
b6c3960f11
examples: Add test-appsrc2
...
Add an example of feeding both audio and video into an RTSP
pipeline via appsrc.
2018-07-11 01:25:51 +10:00
Jan Schmidt
e0f31b4ca4
examples: Add test-video-disconnect example
...
Simple example which cuts off all clients 10 seconds
after the first one connects.
2018-06-22 23:17:53 +10:00
Mathieu Duponchelle
5ede2a5c5c
rtsp-auth: Add support for parsing .htdigest files
...
Passwords are usually not stored in clear text, but instead
stored already hashed in a .htdigest file.
Add support for parsing such files, add API to allow setting
a custom realm in RTSPAuth, and update the digest example.
https://bugzilla.gnome.org/show_bug.cgi?id=796637
2018-06-21 15:47:39 +02:00
Mathieu Duponchelle
36cc79c5e2
meson: build auth-digest example
2018-06-20 01:35:47 +02:00
Sebastian Dröge
72dc8acd86
rtsp: Add support for ONVIF backchannel
...
This adds a new RTSP server, client, media-factory and media subclass
for handling the specifics of the backchannel. Ideally this later can be
extended with other ONVIF specific features.
2018-02-16 11:04:53 +02:00
Tim-Philipp Müller
3dcd77a21c
examples: make test-launch pipeline shared by default as well
2017-03-27 18:19:33 +01: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
927a44c55b
rtsp-auth: Add support for Digest authentication
...
https://bugzilla.gnome.org/show_bug.cgi?id=774416
2016-11-19 11:59:34 +02:00
Tim-Philipp Müller
a353e50747
Add support for Meson as alternative/parallel build system
...
https://github.com/mesonbuild/meson
2016-08-31 00:04:43 +01:00
Sebastian Dröge
bfe08411a9
examples: Clean up CFLAGS/LDADD even more
...
The internal .la should come first and is part of LDADD, as is
GST_CFLAGS/LIBS.
2016-04-04 12:58:38 +03:00
Sebastian Dröge
cf064134ee
examples: Clean up CFLAGS/LDADD to link with the correct versions of all libraries
2016-04-04 12:39:39 +03:00
Sebastian Dröge
662d6b188f
test-netclock: Use the new API to configure a clock directly
2015-12-30 18:40:47 +02:00
Jan Schmidt
52fb304ac9
examples: Actually use the provided port in the record examples
2015-11-17 01:12:28 +11:00
Jan Schmidt
eaf7b1488c
test-record-auth: Add the option to build in TLS support
2015-11-17 01:12:28 +11:00
Jan Schmidt
a062b9c562
test-auth: Use an 'anonymous' user for unauthenticated default
...
There's a comment on one of the resources that 'user' and 'admin'
shouldn't even be able to see it, but they can if the default
token is 'admin2', since that gives them access anyway.
2015-11-17 01:12:28 +11:00
Jan Schmidt
75c3a3c095
Add test-record-auth example
2015-11-17 01:12:28 +11:00
Hyunjun Ko
a51337974c
stream: listen to sender ssrc signals
...
https://bugzilla.gnome.org/show_bug.cgi?id=746747
2015-10-02 16:40:31 +03:00
Vineeth TM
6d20a1c9d9
rtsp-server: Fix memory leaks when context parse fails
...
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.
And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.
https://bugzilla.gnome.org/show_bug.cgi?id=753863
2015-09-26 09:35:17 +01:00
Jan Schmidt
22b618836e
test-mp4: Support filenames with spaces in them. Error out on too few arguments
2015-09-03 22:20:11 +10:00
Jan Schmidt
2a41502cde
test-record: Check parameter count and print out help
...
If no launch pipeline was supplied, print out some help
2015-09-03 22:20:11 +10: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
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
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
Sebastian Dröge
e4264381a5
examples: Use AVPF profile for the RTX example
2015-05-04 16:33:08 +02:00
Alistair Buxton
eb7705a48d
Fix timeout function signatures across tests and examples
2015-04-23 20:12:18 +02: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
Luis de Bethencourt
d92ff17026
examples: test-uri: fix tainted variable
...
Insignificant but this keeps Coverity happy.
CID #1268404
2015-03-03 13:53:11 +00:00
Jan Schmidt
b04856f0cf
examples: Add a simple example of network synch for live streams.
...
An example server and client that works for synchronising live streams
only - as it can't support pause/play.
2015-03-03 11:53:16 +11:00
Tim-Philipp Müller
6dbffce319
examples: test-uri: improve uri argument handling and accept file names
...
Print an error if the argument passed is not a URI and can't
be converted into one, or no arguments have been provided.
2015-02-06 19:34:17 +00:00
Tim-Philipp Müller
a862d632b7
examples: test-uri: don't remove mount point after 10 seconds
...
It's very irritating when trying to test stuff repeatedly
and serves no real purpose other than showing that it can
be done.
2015-02-06 19:16:32 +00:00
Tim-Philipp Müller
5377dd2b78
examples: add new test-record to .gitignore
2015-02-06 10:02:32 +00:00
Sebastian Dröge
a93ed7e5d4
rtsp-media: Use flags to distinguish between PLAY and RECORD media
2015-02-06 09:42:50 +01:00
Sebastian Dröge
aa1feab874
test-record: Set latency for playback-style example to 2s instead of 200ms
2015-02-06 09:42:50 +01:00
Sebastian Dröge
18d3244fd0
test-record: Use GOptionContext to parse the server port and take the pipeline from the commandline
2015-02-06 09:42:50 +01:00
Sebastian Dröge
ccf6c6eb53
Add initial support for RECORD
...
We currently only support media that is RECORD or PLAY only, not both at once.
https://bugzilla.gnome.org/show_bug.cgi?id=743175
2015-02-06 09:42:42 +01:00
Sebastian Dröge
634abb9906
examples: Don't call gst_init() and gst_get_option_group()
...
The latter calls the former at the appropriate time.
2015-01-17 10:30:21 +01:00
Nirbheek Chauhan
e0d3807cbb
examples: Add command-line parsing and take a 'port' argument
...
This allows users to run multiple servers on different ports for testing.
Only done for examples that actually take arguments and hence are capable of
outputting different streams for each instance on each port.
https://bugzilla.gnome.org/show_bug.cgi?id=742115
2014-12-30 16:04:14 +00:00
Matthew Waters
fa4d8db7ea
examples: add a retransmisison example implementing RFC4588
...
Currently only SSRC-multiplexed rtx streams are supported
2014-12-16 16:46:34 +01:00
Wim Taymans
4056897111
test: add example of dumping RTCP reports
2014-09-15 16:54:36 +02:00
Tim-Philipp Müller
04e69cf83b
examples: fix another reference leak
...
gst_rtsp_media_get_element() returns a new ref.
2014-08-09 14:41:35 +01:00
Sebastian Rasmussen
486f30558a
examples: unref element after usage
...
gst_bin_get_by_name_recurse_up() returns an element
reference that must be unreffed after usage.
https://bugzilla.gnome.org/show_bug.cgi?id=734546
2014-08-09 14:18:09 +01:00
Tim-Philipp Müller
fc6fa3f16a
examples: print 'stream ready at url' for mp4 and ogg example
2014-07-03 19:52:42 +01:00
Wim Taymans
96f7c61a15
test: enable SRTP only on RTSPS
...
We only want to enable SRTP when doing rtsp over TLS so that we can
exchange the keys in a secure way.
2014-03-25 12:42:39 +01:00