CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
492 stars 53 forks source link

Control Port API Request #261

Closed TheSashmo closed 1 year ago

TheSashmo commented 1 year ago

@MartinPulec Is it possible to enable the real time compression change at the sender side so that it is possible to change the encoded bitrate without having to restart the process?

When I try to use the control api suggestion from the wiki, it throws a message "202 Accepted (receiver not yet exists)" so I am guessing this is only to be used at the reflector?

MartinPulec commented 1 year ago

How do you do that? Using:

$ uv -t testcard --control-port 8888 -c libavcodec
$ echo "compress libavcodec:encoder=libx264:bitrate=10M" | nc localhost 8888

works for me.

TheSashmo commented 1 year ago

I found my issue. Fat fingers. Thanks.

echo "compress libavcodec:encoder=libx264:bitrate=10M" | nc localhost 8888 vs. echo "compresss libavcodec:encoder=libx264:bitrate=10M" | nc localhost 8888

MartinPulec commented 1 year ago

vs. echo "compresss libavcodec:encoder=libx264:bitrate=10M" | nc localhost 8888

that's funny, because when I tested it, I also used the "3s" first