1
0
Fork 0
forked from External/mediamtx

print warning in case no key frames are being received (#1763)

This commit is contained in:
Alessandro Ros 2023-05-04 20:16:41 +02:00 committed by GitHub
parent cdd907b016
commit 225220ddd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 504 additions and 357 deletions

View file

@ -21,7 +21,7 @@ import (
)
type rtmpSourceParent interface {
log(logger.Level, string, ...interface{})
logger.Writer
sourceStaticImplSetReady(req pathSourceStaticSetReadyReq) pathSourceStaticSetReadyRes
sourceStaticImplSetNotReady(req pathSourceStaticSetNotReadyReq)
}
@ -45,7 +45,7 @@ func newRTMPSource(
}
func (s *rtmpSource) Log(level logger.Level, format string, args ...interface{}) {
s.parent.log(level, "[rtmp source] "+format, args...)
s.parent.Log(level, "[rtmp source] "+format, args...)
}
// run implements sourceStaticImpl.