interceptor 0.17.1

A pure Rust implementation of Pluggable RTP/RTCP processors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::stream_info::StreamInfo;

pub mod generator;
pub mod responder;

const UINT16SIZE_HALF: u16 = 1 << 15;

fn stream_support_nack(info: &StreamInfo) -> bool {
    for fb in &info.rtcp_feedback {
        if fb.typ == "nack" && fb.parameter.is_empty() {
            return true;
        }
    }

    false
}