1
Fork 0

Set keyframe flag on audio samples.

This commit is contained in:
Juliusz Chroboczek 2022-04-16 01:18:34 +02:00
parent 6669a93ae3
commit d36111d9f9
1 changed files with 1 additions and 0 deletions

View File

@ -523,6 +523,7 @@ func (t *diskTrack) writeBuffered(force bool) error {
} }
} }
} else { } else {
keyframe = true
if t.writer == nil { if t.writer == nil {
if !t.conn.hasVideo { if !t.conn.hasVideo {
err := t.conn.initWriter(0, 0) err := t.conn.initWriter(0, 0)