Thanks for these remarks. Liquidsoap will issue an error if `samplerate` is not 
one of the support one for the `%opus` encoder:
```ocaml
          | ("samplerate",({ term = Int i; _} as t)) ->
              let samplerates = [8000;12000;16000;24000;48000] in
              if not (List.mem i samplerates) then
                raise (Error (t,"Opus samplerate should be one of \
                                 8000, 12000, 16000, 24000 or 48000"));
              { f with Opus_format.samplerate = i }
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/759#issuecomment-489170127
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to