Skip to content
Snippets Groups Projects
Commit 6fe87e09 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Andreas Traczyk
Browse files

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: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 29ae5d8a
Branches
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
bool useCodec(const AccountVideoCodecInfo* codec) const; bool useCodec(const AccountVideoCodecInfo* codec) const;
private: 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 static constexpr unsigned KEY_FRAME_PERIOD {5}; // seconds before forcing a keyframe
NON_COPYABLE(VideoSender); NON_COPYABLE(VideoSender);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment