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

Commit b166b03

Browse files
authored
Fix keyframinterval 100 missing issue (#815)
1 parent c607d52 commit b166b03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/agent/conference/stream.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const DEFAULT_VIDEO_PARAS = {
6767
resolution: { width: 640, height: 480 },
6868
bitrate: 500,
6969
framerate: 30,
70-
keyFrameInterval: 60
70+
keyFrameInterval: 100
7171
};
7272

7373
/* Room configuration Object */
@@ -185,7 +185,6 @@ class Stream {
185185
track.optional.parameters = track.optional.parameters || {};
186186
track.optional.parameters.keyFrameInterval =
187187
mediaOut.video.parameters.keyFrameInterval
188-
.filter(x => (x < baseParameters.keyFrameInterval))
189188
}
190189
}
191190
return track;

0 commit comments

Comments
 (0)