forked from External/mediamtx
print warning in case no key frames are being received (#1763)
This commit is contained in:
parent
cdd907b016
commit
225220ddd5
49 changed files with 504 additions and 357 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue