Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix payloaders MTU to 1200
Higher value might be too big (in particular with many VPNs `webrtcsink`
won't work with the default 1400 MTU).

1200 is the default value in libwebrtc and it is references in several
places there.
  • Loading branch information
thiblahute committed Sep 28, 2022
commit 578431147260706744f262bdf149699de1f74e7c
1 change: 1 addition & 0 deletions plugins/src/webrtcsink/imp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ fn setup_encoding(
.with_context(|| format!("Creating payloader {}", codec.payloader.name()))?;
let parse_filter = make_element("capsfilter", None)?;

pay.set_property("mtu", 1200 as u32);
pay.set_property("pt", codec.payload as u32);

if let Some(ssrc) = ssrc {
Expand Down