Skip to content

Commit

Permalink
Adjust the comment for the rolling buffer configuration for the sampl…
Browse files Browse the repository at this point in the history
…e frames
  • Loading branch information
sirknightj authored Dec 5, 2024
1 parent b576787 commit 9fb148e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/kvsWebRTCClientMaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ INT32 main(INT32 argc, CHAR* argv[])
pSampleConfiguration->audioCodec = audioCodec;
pSampleConfiguration->videoCodec = videoCodec;

// Configure the RTP rolling buffer sizes for the set of pre-canned sample frames (add a bit extra for padding)
// Configure the RTP rolling buffer sizes for the set of sample frames
// to be smaller than the default settings (plus some extra for padding).
if (pSampleConfiguration->videoCodec == RTC_CODEC_H264_PROFILE_42E01F_LEVEL_ASYMMETRY_ALLOWED_PACKETIZATION_MODE) {
pSampleConfiguration->videoRollingBufferDurationSec = 3;
pSampleConfiguration->videoRollingBufferBitratebps = 1.4 * 1024 * 1024;
Expand Down

0 comments on commit 9fb148e

Please sign in to comment.