Skip to content

Commit dfbb9c4

Browse files
committed
vcap/ug_input: fix
rxtx ports need to be set explicitly (default -1 desn't work for ultragrid_rtp) but it was removed by the reworking commit 4def13b from 17th Mar '26.'
1 parent 220257a commit dfbb9c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/video_capture/ug_input.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ static int vidcap_ug_input_init(const struct vidcap_params *cap_params, void **s
177177
//RTP
178178
// should be localhost and RX TX ports the same (here dynamic) in order to work like a pipe
179179
params.receiver = "localhost";
180+
params.rx_port = port;
181+
params.tx_port = 0;
180182
// following 3 already set by VRTX_INIT
181183
// params["fec"].str = "none";
182184
// params["bitrate"].ll = 0;

0 commit comments

Comments
 (0)