Closed MayamaTakeshi closed 1 year ago
Something like this:
codecs: ["pcmu/8000/1", "pcma/8000/1", "speex/16000/1"]
where the order in the array indicates priority.
However, the client might want to specify rtp mapping (codec <=> payload_type). So let's think about this situation too.
Supplanted by #43.
The functions: int pjw_get_codecs(char out_codecs); int pjw_set_codecs(const char in_codec_info); should be refactored to receive and return codec data in JSON format.