Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 916d8ca

Browse files
authored
Remove unnecessary key frame requests (#911)
1 parent fc61b54 commit 916d8ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/core/rtc_adapter/VideoReceiveAdapter.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ int32_t VideoReceiveAdapterImpl::AdapterDecoder::Decode(const webrtc::EncodedIma
140140
}
141141
// Request key frame
142142
if (m_parent->m_isWaitingKeyFrame) {
143+
m_parent->m_isWaitingKeyFrame = false;
143144
return WEBRTC_VIDEO_CODEC_OK_REQUEST_KEYFRAME;
144145
}
145146
}

0 commit comments

Comments
 (0)