pub fn new(frames_per_packet: u8) -> Self {
        Self {
            frames_per_packet,
            next_sequence_number: 1,
            timestamp: 0,
            frames: VecDeque::with_capacity(frames_per_packet.into()),
            frame_time: 0,
        }
    }
/// Make a new builder that will vend a packet every `frames_per_packet` frames.
Make a new builder that will vend a packet every `frames_per_packet` frames.
Make a new builder that will vend a packet every ` frames_per_packet ` frames .
pub fn new(frames_per_packet: u8) -> Self {
        Self {
            frames_per_packet,
            next_sequence_number: 1,
            timestamp: 0,
            frames: VecDeque::with_capacity(frames_per_packet.into()),
            frame_time: 0,
        }
    }
pub fn new ( frames_per_packet : u8 ) -> Self { Self { frames_per_packet , next_sequence_number : 1 , timestamp : 0 , frames : VecDeque :: with_capacity ( frames_per_packet . into ( ) ) , frame_time : 0 , } }
Make a new builder that will vend a packet every `frames_per_packet` frames.
Make a new builder that will vend a packet every ` frames_per_packet ` frames .
frames_per_packet
u8