roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.03k stars 205 forks source link

Print list of supported protocols #578

Closed gavv closed 8 months ago

gavv commented 9 months ago

roc-recv and roc-send tools have option to print list of supported audio backends and formats:

$ roc-recv --list-supported
supported schemes for audio devices and files:
  pulse:// alsa:// oss:// file://

supported formats for audio files:
  .aifc .aiffc .aiff .aif .al .au .snd .avr .cdda .cdr .cvsd .cvs .cvu .dat
  .dvms .vms .f32 .f64 .gsrt .hcom .htk .ima .la .lu .maud .prc .s8 .s16
  .s24 .s32 .sf .ircam .sln .smp .sndr .sndt .sox .sph .nist .8svx .txw
  .u8 .sou .fssd .u16 .u24 .u32 .ul .voc .vox .wav .wavpcm .amb .wve .xa
  .amr-nb .anb .amr-wb .awb .caf .fap .flac .gsm .lpc10 .lpc .mat4 .mat
  .mat5 .mp3 .mp2 .paf .pvf .sd2 .sds .vorbis .ogg .w64 .wv .xi

We need to teach them to include information about supported protocols as well, something like this:

supported network protocols:
  audiosrc: rtp:// rs8m+rtp:// ldpc+rtp://
  audiorpr: rs8m:// ldpc://
  audioctl: rtcp://

Here, each line has interface name (audiosrc and others), and then lists protocols supported by this interface.

Steps:

Hrick87 commented 8 months ago

Hi, after reading over the issue and relevant links to code, I've decided this would be a good first contribution for me. If its still available can you assign me this task? Thank you.

gavv commented 8 months ago

Sure, you're welcome, thanks!