mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Try requesting more keyframes
This commit is contained in:
@@ -68,6 +68,8 @@ export class StreamingSession extends Subscribed {
|
||||
}
|
||||
const usingOpus = await this.isUsingOpus
|
||||
|
||||
this.requestKeyFrame()
|
||||
|
||||
const ffmpegInputArguments = [
|
||||
'-hide_banner',
|
||||
'-protocol_whitelist',
|
||||
@@ -102,6 +104,8 @@ export class StreamingSession extends Subscribed {
|
||||
return this.videoSplitter.send(rtp.serialize(), { port: videoPort })
|
||||
})).subscribe())
|
||||
|
||||
this.requestKeyFrame()
|
||||
|
||||
this.onCallEnded.pipe(take(1)).subscribe(() => ff.stop())
|
||||
|
||||
ff.writeStdin(inputSdp)
|
||||
|
Reference in New Issue
Block a user