Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to receive udp in route and receive mode #91

Closed
sinais54 opened this issue May 28, 2024 · 2 comments
Closed

Failure to receive udp in route and receive mode #91

sinais54 opened this issue May 28, 2024 · 2 comments

Comments

@sinais54
Copy link

Hi,
I use the following commands to get a udp stream:
.\srt-xtransmit.exe route -i udp://:8866 -o "srt://:8867" -v
or
.\srt-xtransmit.exe receive "udp://:8866" --enable-metrics --metricsfile udp-metrics.csv --metricsfreq 1s
And I use the following commands to send streams to them:
.\srt-xtransmit.exe generate "udp://remote_ip:8866" --sendrate 5Mbps --duration 120s --enable-metrics
or
ffmpeg -i D:\video.mp4 -f mpegts "udp://127.0.0.1:8866"
But no communication is established between the receiver and the sender.
If I use srt instead of udp, the connection is established easily, but I need to use udp.

@maxsharabayko
Copy link
Owner

If I understood correctly, the following does not work in your case, right?

(receiver with remote_ip)
.\srt-xtransmit.exe receive "udp://:8866" --enable-metrics

.\srt-xtransmit.exe generate "udp://remote_ip:8866" --sendrate 5Mbps --duration 120s --enable-metrics

But works if you change "udp" to "srt", right?

(receiver with remote_ip)
.\srt-xtransmit.exe receive "srt://:8866" --enable-metrics

.\srt-xtransmit.exe generate "srt://remote_ip:8866" --sendrate 5Mbps --duration 120s --enable-metrics

A Sidenote

BTW I just checked the following on a localhost and see no issues.

srt-xtransmit generate "udp://127.0.0.1:4200" --sendrate 5Mbps --duration 120s --enable-metrics -v

srt-xtransmit route -i udp://:4200 -o "srt://:4201" -v

srt-xtransmit receive srt://127.0.0.1:4201 -v --enable-metrics

@maxsharabayko
Copy link
Owner

Closing this due to the lack of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants