ROC-RECV(1) Roc Toolkit ROC-RECV(1) (NAME) roc-recv - (SYNOPSIS) roc-recv OPTIONS (DESCRIPTION) . (OPTIONS) -h, --help -V, --version -v, --verbose ( ) -L, --list-supported -o,--output=IO_URI (URI) --output-format=FILE_FORMAT --backup=IO_URI (URI) ( ) --backup-format=FILE_FORMAT -s,--source=ENDPOINT_URI -r,--repair=ENDPOINT_URI -c,--control=ENDPOINT_URI --miface=MIFACE IPv4 IPv6 (multicast) --reuseaddr SO_REUSEADDR (bind) --target-latency=STRING TIME --io-latency=STRING TIME --latency-tolerance=STRING TIME --no-play-timeout=STRING TIME --choppy-play-timeout=STRING TIME --frame-len=TIME TIME --max-packet-size=SIZE SIZE --max-frame-size=SIZE SIZE --rate=INT (Hz) --latency-backend=ENUM ( ="niq" =`niq') --latency-profile=ENUM ( ="default" "responsive" "gradual" "intact" =`default') --resampler-backend=ENUM ( ="default" "builtin" "speex" "speexdec" =`default') --resampler-profile=ENUM ( ="low" "medium" "high" =`medium') -1, --oneshot (=) --profiling (self-profiling) (=) --beep (=) --color=ENUM stderr ( ="auto" "always" "never" =`auto') --source --repair --control . ENDPOINT_URI : protocol://host[:port][/path][?query] : o rtsp://localhost:123/path?query o rtp+rs8m://localhost:123 o rtp://0.0.0.0:123 o rtp://[::1]:123 o rtcp://0.0.0.0:123 --list-supported . host FQDN ( ) IPv4 IPv6 . 0.0.0.0 ( IPv4) [::] ( IPv6) (bind) . port . (ephemeral) . path query RTSP. FEC (source) (repair) . rtp+rs8m:// rs8m:// . FEC . : o rtp:// (RTP FEC) o rtp+rs8m:// rs8m:// (RTP Reed-Solomon FEC) o rtp+ldpc:// ldpc:// (RTP LDPC-Staircase FEC) . . (fallback mode) . : o rtcp:// / (IO URI) --output --backup URI : o DEVICE_TYPE://DEVICE_NAME -- o DEVICE_TYPE://default -- o file:///ABS/PATH -- o file://localhost/ABS/PATH -- ( "localhost" ) o file:/ABS/PATH -- ( ) o file:REL/PATH -- o file://- -- stdout o file:- -- stdout ( ) (schemes) --list-supported . --output (driver) . --backup . --output-format --backup-format . . stdout stdin . (path) URI percent-decoded . % %25 . /foo/bar%/[baz] URI : file:///foo%2Fbar%25%2F%5Bbaz%5D file:///foo/bar%25/[baz]. (Multicast interface) --miface IP . . . . MIFACE IP . 0.0.0.0 ( IPv4) :: ( IPv6) . (Multiple slots) . <<>> (slots) . ( source repair ) . . SO_REUSEADDR --reuseaddr SO_REUSEADDR ( ). TCP TIME_WAIT . UDP (bind) systemd . SO_REUSEADDR (ephemeral) ..SS (Backup audio) --backup . . . . (Time units) TIME : 123ns; 1.23us; 1.23ms; 1.23s; 1.23m; 1.23h; (Size units) SIZE : 123; 1.23K; 1.23M; 1.23G; (EXAMPLES) (Endpoint examples) RTP IPv4: $ roc-recv -vv -s rtp://0.0.0.0:10001 IPv4 ( IPv6): $ roc-recv -vv -s rtp+rs8m://0.0.0.0:10001 -r rs8m://0.0.0.0:10002 \ -c rtcp://0.0.0.0:10003 IPv6 ( IPv4): $ roc-recv -vv -s rtp+rs8m://[::]:10001 -r rs8m://[::]:10002 -c rtcp://[::]:10003 : $ roc-recv -vv -s rtp+rs8m://192.168.0.3:10001 -r rs8m://192.168.0.3:10002 \ -c rtcp://192.168.0.3:10003 (multicast) : $ roc-recv -vv -s rtp+rs8m://225.1.2.3:10001 -r rs8m://225.1.2.3:10002 \ -c rtcp://225.1.2.3:10003 \ --miface 192.168.0.3 ( ): $ roc-recv -vv \ -s rtp+rs8m://192.168.0.3:10001 -r rs8m://192.168.0.3:10002 \ -c rtcp://192.168.0.3:10003 \ -s rtp+rs8m://198.214.0.7:10001 -r rs8m://198.214.0.7:10002 \ -c rtcp://198.214.0.7:10003 / (I/O examples) ( -o): $ roc-recv -vv -s rtp://0.0.0.0:10001 ALSA: $ roc-recv -vv -s rtp://0.0.0.0:10001 -o alsa://default PulseAudio: $ roc-recv -vv -s rtp://0.0.0.0:10001 -o pulse://alsa_input.pci-0000_00_1f.3.analog-stereo WAV ( ): $ roc-recv -vv -s rtp://0.0.0.0:10001 -o file:./output.wav WAV ( ): $ roc-recv -vv -s rtp://0.0.0.0:10001 -o file:./output.file --output-format wav stdout WAV: $ roc-recv -vv -s rtp://0.0.0.0:10001 -o file:- --output-format wav >./output.wav WAV ( ): $ roc-recv -vv -s rtp://0.0.0.0:10001 -o file:///home/user/output.wav : $ roc-recv -vv -s rtp://0.0.0.0:10001 --backup file:./backup.wav : $ roc-recv -vv -s rtp://0.0.0.0:10001 --rate=44100 FEC LDPC-Staircase: $ roc-recv -vv -s rtp+ldpc://0.0.0.0:10001 -r ldpc://0.0.0.0:10002 \ -c rtcp://0.0.0.0:10003 : $ roc-recv -vv -s rtp://0.0.0.0:10001 --target-latency=50ms / : $ roc-recv -vv -s rtp://0.0.0.0:10001 \ --io-latency=20ms --frame-len 4ms : $ roc-recv -vv -s rtp://0.0.0.0:10001 \ --target-latency=50ms --min-latency=40ms --max-latency 60ms \ --no-play-timeout=200ms --choppy-play-timeout=500ms : $ roc-recv -vv -s rtp://0.0.0.0:10001 \ --resampler-backend=speex --resampler-profile=high : $ roc-recv -vv -s rtp://0.0.0.0:10001 \ --latency-backend=niq --latency-profile=gradual (ENVIRONMENT) : NO_COLOR . . --color . FORCE_COLOR . / . NO_COLOR --color . (SEE ALSO) roc-send(1) Roc https://roc-streaming.org (BUGS) GitHub (https://github.com/roc-streaming/roc-toolkit). (AUTHORS) (https://roc-streaming.org/toolkit/docs/about_project/authors.html). (COPYRIGHT) 2024 Roc Streaming Roc Toolkit 0.4 2024 ROC-RECV(1)