diff --git a/diskwriter/diskwriter.go b/diskwriter/diskwriter.go index 7b068dc..0aee424 100644 --- a/diskwriter/diskwriter.go +++ b/diskwriter/diskwriter.go @@ -523,6 +523,7 @@ func (t *diskTrack) writeBuffered(force bool) error { } } } else { + keyframe = true if t.writer == nil { if !t.conn.hasVideo { err := t.conn.initWriter(0, 0)