Skip to content

Video freezes after removing the set_current_bitrate method #911

@Razzwan

Description

@Razzwan

I'm a bit behind with the project updates. In particular, when trying to merge changes related to removing the set_current_bitrate method, the videos in a room with 10 participants start to freeze. This doesn't happen when there are only 3-4 participants in the room. It's likely due to changes in how Rids should be modified.

Should I make some changes in this code?:

  Event::EgressBitrateEstimate(bitrate_kind) => match bitrate_kind {
      BweKind::Remb(_mid, _bitrate) => Propagated::Noop,
      // should handle_bitrate be significantly modifyed after changes?
      BweKind::Twcc(bitrate) => self.handle_bitrate(bitrate, sfu_tx),
      // What shout be done here?
      _ => Propagated::Noop,
  },

Other place, I don't understand:

let mut rtc = Rtc::builder()
    .set_rtp_mode(false)
    .clear_codecs()
    .enable_h264(true)
    .enable_opus(true)
    .enable_vp8(true)
    .enable_bwe(Some(self.rids_info.low_exac(clients_amount)))
    .set_stats_interval(None)
    .build(Instant::now() /* can it be something except Instant::now()? If yes, then in which cases? */);

Perhaps, some other places must be changed to make it work. If so, please share the docs, which describe this changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions