ts-udpsrc: align default port with C counterpart

... and also with the default settings for ts-udpsink.
This commit is contained in:
François Laignel 2022-08-09 17:42:53 +02:00
parent 05207cafea
commit 0858dfedb4

View file

@ -40,7 +40,7 @@ use crate::runtime::{Async, Context, PadSrc, PadSrcRef, Task};
use crate::socket::{wrap_socket, GioSocketWrapper, Socket, SocketError, SocketRead};
const DEFAULT_ADDRESS: Option<&str> = Some("0.0.0.0");
const DEFAULT_PORT: i32 = 5000;
const DEFAULT_PORT: i32 = 5004;
const DEFAULT_REUSE: bool = true;
const DEFAULT_CAPS: Option<gst::Caps> = None;
const DEFAULT_MTU: u32 = 1492;