mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
udp: Change the default port to 5004
udpsrc/udpsink are almost always used with RTP, so let's use an RTP port as the default port. It's unclear why 4951 was used, it goes back to early commits in CVS.
This commit is contained in:
parent
7831feced5
commit
cb0d04a2db
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
#include "gstudpsink.h"
|
||||
|
||||
#define UDP_DEFAULT_HOST "localhost"
|
||||
#define UDP_DEFAULT_PORT 4951
|
||||
#define UDP_DEFAULT_PORT 5004
|
||||
|
||||
/* UDPSink signals and args */
|
||||
enum
|
||||
|
|
|
@ -120,7 +120,7 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS_ANY);
|
||||
|
||||
#define UDP_DEFAULT_PORT 4951
|
||||
#define UDP_DEFAULT_PORT 5004
|
||||
#define UDP_DEFAULT_MULTICAST_GROUP "0.0.0.0"
|
||||
#define UDP_DEFAULT_MULTICAST_IFACE NULL
|
||||
#define UDP_DEFAULT_URI "udp://"UDP_DEFAULT_MULTICAST_GROUP":"G_STRINGIFY(UDP_DEFAULT_PORT)
|
||||
|
|
Loading…
Reference in a new issue