Commit 6fe87e09 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Andreas Traczyk

increase keyframes request at stream begin

Increasing the number of keyframes sent at the begining
of a video stream upto 4 (was 1).
Even if the bytes flow is increased (only temporarily)
sending more keyframes at stream begin let a chance to
have a nice video looking in case of possible network
packet drop. It's often the case at the stream begin
due to high traffic caused by the calling establishment
process.

Change-Id: I2636727422ca641d8af9d83c59b9d487aff606d5
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 29ae5d8a
......@@ -63,7 +63,7 @@ public:
bool useCodec(const AccountVideoCodecInfo* codec) const;
private:
static constexpr int KEYFRAMES_AT_START {1}; // Number of keyframes to enforce at stream startup
static constexpr int KEYFRAMES_AT_START {4}; // Number of keyframes to enforce at stream startup
static constexpr unsigned KEY_FRAME_PERIOD {5}; // seconds before forcing a keyframe
NON_COPYABLE(VideoSender);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment