Commit graph

1191 commits

Author SHA1 Message Date
Wim Taymans
50a71b9d86 factory-uri: add support for gstpay
Add an option to prefer gstpay over decoder + raw payloader.
2010-12-23 18:53:01 +01:00
Wim Taymans
9ce4ea165b factory-uri: rework the autoplugger.
Rewrite the autoplugger a little so that it prefers to plug demuxers and parsers
before payloaders.
2010-12-23 15:58:14 +01:00
Wim Taymans
1053860112 factory-uri: use better factory filter
Make better payloader filter based on autoplug rank and RTP use case.
2010-12-21 17:39:09 +01:00
Edward Hervey
bc10b30e62 Automatic update of common submodule
From 169462a to 46445ad
2010-12-20 17:48:41 +01:00
Wim Taymans
ad2e0edee5 server: set SO_REUSEADDR before bind
Set the SO_REUSEADDR _before_ bind() to make it actually work.
2010-12-18 11:24:48 +01:00
Wim Taymans
1ea450179e media: emit prepared signal when prepared
Make a 'prepared' signal and emit it when we successfully prepared the element.
This signal can be used to configure the media object after it has been prepared
for streaming.
2010-12-17 18:45:10 +01:00
Stefan Kost
7dfb91e289 Automatic update of common submodule
From 011bcc8 to 169462a
2010-12-15 14:58:00 +02:00
Andy Wingo
a7d6578a80 python an optional dependency
* configure.ac: Move up valgrind and g-i checks. Make the python
  dependency optional, as it was before.
2010-12-13 16:38:09 +01:00
Wim Taymans
fc12ade012 Merge branch 'master' into 0.11
Conflicts:
	common
	configure.ac
2010-12-13 11:43:13 +01:00
Wim Taymans
ca76a73ca0 media: update range when active clients changed
When we changed the number of active clients, update the current range
information because we want the second client connecting to a shared resource
continue from where the stream currently.
2010-12-12 15:48:47 +01:00
Wim Taymans
d99a448f79 factory-uri: add colorspace and fix pt
Rework the way we pass data to the autoplugger.
When we have raw caps, plug a converter element to make pluggin to raw
payloaders more successful.
Make sure all dynamically plugged payloaders have a unique payload types.
2010-12-12 04:06:41 +01:00
Wim Taymans
8585dda467 example: add example of the uri factory 2010-12-11 18:06:26 +01:00
Wim Taymans
7ef0bf98da factory-uri: add a factory to stream any URI
Make a factory that uses uridecodebin to decode any uri and autoplug a payloader
when we have one.
2010-12-11 18:04:34 +01:00
Wim Taymans
34f0973831 media: ignore spurious ASYNC_DONE messages
When we are dynamically adding pads, the addition of the udpsrc elements will
trigger an ASYNC_DONE. We have to ignore this because we only want to react to
the real ASYNC_DONE when everything is prerolled.
2010-12-11 18:04:34 +01:00
Wim Taymans
75a7cda97d media-factory: make lock macro 2010-12-11 18:04:29 +01:00
Edward Hervey
a6556551e3 rtsp-server: Remove unused variable and dead assignment 2010-12-11 10:53:28 +01:00
Edward Hervey
150f64892f examples: Run gst-indent 2010-12-11 10:49:30 +01:00
Edward Hervey
eb83fc6318 rtsp-server: Run gst-indent
Since it wasn't using the upstream common previously, there was no
indentation check before commiting.
2010-12-11 10:48:42 +01:00
Edward Hervey
b95165fcff rtsp-server: Some more doc fixups 2010-12-11 10:48:25 +01:00
Edward Hervey
d9a36aa1b7 Makefile: Add cruft-cleaning support 2010-12-07 18:56:03 +01:00
Edward Hervey
a2680c6c57 docs: Add gtk-doc build system 2010-12-07 18:52:15 +01:00
Edward Hervey
bdd477f2bf Makefile.am: Use standard GIR make behaviour 2010-12-07 18:14:39 +01:00
Edward Hervey
ca7b6551b5 autogen/configure: Bring more in sync to standard gst module behaviour 2010-12-07 18:14:22 +01:00
Wim Taymans
422fea478c media: warn and fail when gstrtpbin is not found 2010-12-06 19:29:53 +01:00
Wim Taymans
3dcf9a3382 configure: open 0.11 branch 2010-12-06 12:40:30 +01:00
Edward Hervey
99e07a21d4 Add common submodule 2010-12-01 20:00:22 +01:00
Edward Hervey
26c20746a8 common: Remove static version 2010-12-01 19:58:49 +01:00
Bastien Nocera
2e1054036d Update introspection.m4 to match usage 2010-11-08 18:05:40 +01:00
Wim Taymans
3bbd5bd964 README: update
Remove old stuff from the README
2010-10-30 13:27:09 +02:00
Wim Taymans
411371c90f back to development 2010-10-11 11:12:11 +02:00
Wim Taymans
4d9db9e2cf release 0.10.7 2010-10-11 11:05:40 +02:00
Wim Taymans
6b2c868b97 test-ogg: remove parsers
Remove the parsers, they are not needed anymore as oggdemux now outputs normal
buffers with timestamps. Using the parsers also seems to break things.
2010-10-04 17:16:40 +02:00
Sebastian Pölsterl
5798299487 Updated Vala bindings 2010-09-23 13:39:47 +02:00
Sebastian Pölsterl
347e10e1f9 Added initial gobject-introspection support 2010-09-23 13:39:42 +02:00
Wim Taymans
c310f0032c media-factory: don't use host for shared hash key
When we generate the key to share made between connections, don't include the
host used to connect so that we can share media even if between clients that
connected with localhost and ones with the ip address.
2010-09-23 11:35:40 +02:00
Tim-Philipp Müller
3c283b2af8 build: fix distcheck 2010-09-22 21:16:03 +01:00
Sebastian Dröge
8f927de4c8 Update Vala bindings 2010-09-22 18:24:12 +02:00
Sebastian Dröge
6b771d391d Fix configure checks and installation location for Vala bindings
Fixes bug #628676.
2010-09-22 18:12:50 +02:00
Wim Taymans
0e6e03fafb back to development 2010-09-22 16:32:30 +02:00
Wim Taymans
a61610c968 configure: release 0.10.6 2010-09-22 16:22:49 +02:00
Wim Taymans
ed473f6f26 media: help the compiler a little 2010-09-22 16:15:56 +02:00
Wim Taymans
450b68252f media: cleanup media transport before freeing
Cleanup the media transport data before freeing. In particular, remove the qdata
from the rtpsource object.
2010-08-24 16:47:30 +02:00
Wim Taymans
dc33070da3 media-factory: add eos-shutdown property
Add an eos-shutdown property that will send an EOS to the pipeline before
shutting it down. This allows for nice cleanup in case of a muxer.

Fixes #625597
2010-08-20 18:17:08 +02:00
Wim Taymans
a900866570 media: use multiudpsink send-duplicates when we can
If we have a new enough multiudpsink with the send-duplicates property, use this
instead of doing our own filtering. Our custom filtering code should eventually
be removed when we can depend on a released -good.
2010-08-20 15:58:39 +02:00
Wim Taymans
c89d17ca26 media: don't leak destinations
Refactor and cleanup the destinations array when the stream is destroyed.
2010-08-20 13:19:56 +02:00
Wim Taymans
7c0f8a77ec media: don't add udp addresses multiple times
Keep track of the udp addresses we added to udpsink and never add the same udp
destination twice. This avoids duplicate packets when using multicast.
2010-08-20 13:09:12 +02:00
Wim Taymans
af732fa749 server: disable use of SO_LINGER
SO_LINGER cause the client to fail to receive a TEARDOWN message because the
server close()s the connection.
2010-08-20 10:18:34 +02:00
Wim Taymans
2607ff079d server: use 5 second linger period in SO_LINGER
Wait 5 seconds before clearing the send buffers and reseting the connection with
the client when we do a close. This should be enough time to get the message to
the client.

See #622757
2010-08-19 18:52:47 +02:00
Robert Krakora
8f6fd32065 server: use SO_LINGER
SO_LINGER on the socket will make sure that any pending data on the socket is
flushed ASAP and that the socket connection is reset. This makes sure that the
socket can be reused immediately.

Fixes 622757
2010-08-16 12:45:24 +02:00
Wim Taymans
f2a2577f13 README: add blurb about shared media factories 2010-08-16 12:45:24 +02:00