Skip to content

Do not start transmission if there were errors in URI #25

@maxsharabayko

Description

@maxsharabayko

As of srt-xtransmit checks if a correct URI query was provided, but only reports a warning.
Instead, it is better to report an error and do not start data transmission, because the user may miss the warning, especially if ran from some scripts that suppress std error.

Current behavior when rexmit_algo=1 is given instead of retransmitalgo=1:

./bin/srt-xtransmit generate "srt://:4200?rexmit_algo=1"
18:06:15.779625 [W] SOCKET::SRT srt://:4200: Ignoring socket option 'rexmit_algo=1' (not recognized)!

TODO

  • generate and receive subcommands report an error. PR Throw exception on invalid URI query #27.

  • route "srt://:4200?modest=caller" srt://4201 -v tries to connect destination first, then check source and report an error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions