Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 1 addition & 3 deletions src/moq-dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,8 @@ bool MoQDock::CreateConfiguredEncoders()
if (audioBitrate <= 0)
audioBitrate = 160;

// MoQ publishes inline headers (avc3/hev1), so force repeat_headers and no
// B-frames, mirroring MoQService::ApplyEncoderSettings.
// MoQ publishes inline headers (avc3/hev1), so force repeat_headers
obs_data_set_bool(videoSettings, "repeat_headers", true);
obs_data_set_int(videoSettings, "bf", 0);
obs_data_set_int(audioSettings, "bitrate", audioBitrate);

videoEncoder =
Expand Down
5 changes: 0 additions & 5 deletions src/moq-service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,8 @@ void MoQService::ApplyEncoderSettings(obs_data_t *video_settings, obs_data_t *au

// Example:
if (video_settings) {
obs_data_set_int(video_settings, "bf", 0);
obs_data_set_bool(video_settings, "repeat_headers", true);
}

if (audio_settings) {
obs_data_set_int(audio_settings, "bf", 0);
}
}

const char *MoQService::GetConnectInfo(enum obs_service_connect_info type)
Expand Down