Wim Taymans
eed80e2dd3
-good: update for buffer API change
2011-06-13 16:33:57 +02:00
Wim Taymans
7416c0e13e
udp: port to 0.11
2011-06-09 17:50:08 +02:00
Wim Taymans
0b1bdcf7cb
Merge branch 'master' into 0.11
...
Conflicts:
sys/ximage/ximageutil.c
2011-06-02 18:51:29 +02:00
Thijs Vermeir
cdc3b20ba9
udpsrc: allow skip-first-bytes of full buffer size
2011-06-01 10:19:31 +02:00
Wim Taymans
77acc618e1
use G_DEFINE_TYPE some more
2011-04-19 17:35:47 +02:00
Wim Taymans
7555d0949f
Merge branch 'master' into 0.11
...
Conflicts:
android/apetag.mk
android/avi.mk
android/flv.mk
android/icydemux.mk
android/id3demux.mk
android/qtdemux.mk
android/rtp.mk
android/rtpmanager.mk
android/rtsp.mk
android/soup.mk
android/udp.mk
android/wavenc.mk
android/wavparse.mk
configure.ac
2011-04-18 10:23:45 +02:00
Thibault Saunier
b541208b77
android: Make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 01:20:11 +02:00
Wim Taymans
6df597cbbf
udpsink: handle scather gather from buffers
...
Iterate the memory blocks on the buffer and send them using sendmsg.
2011-04-05 19:15:11 +02:00
Wim Taymans
f67c95d826
rtsp/udp: port to 0.11
2011-04-05 17:06:41 +02:00
Wim Taymans
6c4ccb272c
udp: implement NetAddress with metadata
2011-02-28 13:14:37 +01:00
Wim Taymans
d87c27fd2c
miniobject: use buffer private field for extra data
...
Use the owner private field to store extra buffer data instead of using
subclassing.
2011-02-28 11:58:48 +01:00
David Schleef
053f03c032
udpsink: warn when packet is too large
2011-02-17 18:05:43 -08:00
Stefan Kost
18213aa214
docs: fix parameter name in udpsrc docs
...
It is "buffer-size" and not "buffer". Also trim trailing whitespace.
2011-02-04 12:34:08 +02:00
Mark Nauwelaerts
7def8c9b98
udp: use socklen_t where appropriate rather than custom type
...
In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.
2011-01-27 16:01:09 +01:00
Wim Taymans
43c6d0c72a
multiudpsink: add buffer-size property
...
Add buffer-size property to configure the kernel send buffer.
2011-01-05 12:05:15 +01:00
Stefan Kost
d8167e3071
various (gst): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-13 18:00:28 +03:00
Wim Taymans
6660817af1
multifdsink: use refcount to count host/port duplicates
...
Instead of adding multiple client structures for the same host/port pair, use a
refcount.
Add a send-duplicates feature that allows you to disable sending multiple copies
of the same packet to the same host when it was added multiple times. The
send-duplicates property is by default set to TRUE for backwards compatibility
although it is very likely that this is not desired behaviour.
2010-09-06 10:45:28 +02:00
Wim Taymans
e739998adf
udpsrc: add property to enable port reuse
2010-08-04 10:39:45 +02:00
Keith Nicholson
0773eed960
udpsrc: fix multicast support on windows builds
...
On windows builds, sets source address for bind to INADDR_ANY, while
maintaining the original multicast group address for subsequent join.
Fixes #595978
2010-06-18 16:49:08 +02:00
Wim Taymans
e25cdc31d3
udp: make url parsing compatible with VLC syntax
...
Skip everything before the @ sign in the url location. VLC uses that as the
remote address to connect to (but we ignore it for now). This makes our udp urls
compatible with the ones used by VLC.
Fixes #597695
2010-06-18 16:16:28 +02:00
Stefan Kost
ddfb2827d1
docs: upd -> udp and voila it shows up in the docs
2010-04-08 16:56:37 +03:00
Benjamin Otte
412cc10314
Add -Wold-style-definition flag
...
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte
3f511ec361
Add -Wwrite-strings to the configure flags
...
... and fix all warnings
2010-03-21 14:17:47 +01:00
Tim-Philipp Müller
073201b329
build: Makefile.am cleanups
...
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Wim Taymans
efbdecd0ac
multiudpsink: get family of external sockets too
...
Get the family of externally configured sockets so that we can configure it
correctly.
2010-03-16 13:53:26 +01:00
Michael Smith
5b357ce22e
udp: fix compilation errors on non-windows.
2010-03-11 12:32:56 -08:00
Andoni Morales Alastruey
7f980d28aa
multiudpsink: avoid getting the socket family using getsockname()
2010-03-11 10:33:10 -08:00
Stefan Kost
0a43c86723
build: include stdlib.h for atoi()
2010-03-11 11:09:55 +02:00
Andoni Morales Alastruey
2eb651d46f
multiudpsink: Reset windows error code after getting corresponding error message.
2010-03-10 10:51:28 -08:00
Wim Taymans
455f53c896
udp: use uri parsing code
...
Use the uri parsing helper functions to manage the host and port pairs. This
adds support for IPV6.
2010-03-10 11:21:19 +01:00
Wim Taymans
14ae2080d2
udpnetutils: add helper functions for udp uri handling
...
Add some helpers to parse udp uris. Make sure IPV6 is supported too.
2010-03-10 11:21:19 +01:00
Wim Taymans
83a0c73dc0
multicast: always configure loop and ttl
...
Also configure TTL and loop parameters when we add a client after initializing
the sender.
2010-03-08 17:48:37 +01:00
Havard Graff
4ead3d85bf
multiudpsink: Compiler warning fixes for Windows
...
Just simple missing casts
Fixes bug #606438 .
2010-01-09 17:17:23 +01:00
Michael Smith
eab08d67b3
multiudpsink: pass length parameter to g_convert
2009-12-20 17:26:15 -08:00
Michael Smith
9d6adc8f3c
multiudpsink: return error message on windows too.
2009-11-24 11:13:06 -08:00
Michael Smith
d4826d987c
multiudpsink: first phase of fixing up error reporting for windows.
2009-11-24 10:58:49 -08:00
Stefan Kost
6904e46ef2
build: use gst-glib-gen.mak to fix the glib build rules.
...
The build rules in glib-gen.mak were using pattern rules in a non save way.
2009-10-16 11:53:38 +03:00
Jarkko Palviainen
1f14f577d8
udpsink: Add ttl multicast property
...
Add a new ttl-mc property to control the TTL on multicast addresses.
Fixes #588245
2009-08-31 12:16:01 +02:00
Jarkko Palviainen
e2518fedbe
udp: split out TTL and loop options
...
Split setting the TTL and loop parameters in 2 methods as they are not related.
Fix setting the TTL correctly for multicast streams.
See #588245
2009-08-31 12:13:07 +02:00
Tim-Philipp Müller
6c323f5b0d
multiudpsink: don't do things with side-effects inside g_return_val_if_fail()
...
Someone might compile this code with -DG_DISABLE_ASSERT some day.
2009-08-02 11:50:43 +01:00
Josep Torra
efcfb89b5c
udputils: initialize struct content with 0.
...
Fixes some random crashes.
2009-07-21 01:12:44 +02:00
Benjamin Gaignard
abd383a2a6
udp: Initialize pointer to NULL
...
Otherwise we're calling free() with some random
memory address in error cases.
Fixes bug #587982 .
2009-07-08 15:19:03 +02:00
LRN
122d40a742
Don't use sendmsg()-dependent code on Windows
...
Fixes #585842
2009-06-30 20:38:33 +02:00
Tim-Philipp Müller
0d9dccee4f
udp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some cases
...
Include the header from where we include all the system headers with the
socket stuff before we try to define EAI_ADDRFAMILY ourselves, otherwise
we define it ourselves and then get a compiler warning if a system header
defines it as well without guarding against it being defined already.
2009-06-23 14:10:10 +01:00
Koop Mast
8ecd5f1a06
udp: Fix build on FreeBSD
...
Fixes bug #586397 .
2009-06-19 21:47:29 +02:00
Wim Taymans
8f43709e00
udputils: don't free invalid memory
...
As spotted by benjiG in IRC.
don't free invalid memory when getaddrinfo failed.
2009-06-19 16:00:51 +02:00
Wim Taymans
a0e3bc5997
udpsrc: add debug line for the socket
2009-06-16 15:06:50 +02:00
Ognyan Tonchev
375523be71
multiudpsink: add support for buffer lists
...
Add support for BufferList and add a unit test.
Fixes #585842
2009-06-16 15:04:15 +02:00
Wim Taymans
b3782442ae
udpsrc: fix getaddrinfo error reporting
...
getaddrinfo errors should be reported with gai_strerror instead of errno as
spotted by MikeS.
2009-04-27 18:00:17 +02:00