Commit 66da6733 authored by Simon Morlat's avatar Simon Morlat

fix mediastream bug (interval given in seconds instead of milliseconds)

parent d6b60a17
......@@ -627,7 +627,7 @@ void setup_media_streams(MediastreamDatas* args) {
PayloadTypeAvpfParams avpf_params;
payload_type_set_flag(args->pt, PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED);
avpf_params.features = PAYLOAD_TYPE_AVPF_FIR | PAYLOAD_TYPE_AVPF_PLI | PAYLOAD_TYPE_AVPF_SLI | PAYLOAD_TYPE_AVPF_RPSI;
avpf_params.trr_interval = 3;
avpf_params.trr_interval = 3000;
payload_type_set_avpf_params(args->pt, avpf_params);
} else {
payload_type_unset_flag(args->pt, PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment