Be more specific in error message
This commit is contained in:
parent
4341d71645
commit
9c6cb8a1c9
@ -1718,8 +1718,8 @@ func (conn *Conn) readChunk() (err error) {
|
|||||||
if cs.sametscount > 10 {
|
if cs.sametscount > 10 {
|
||||||
if cs.msgcount < 20 { // only consider the first video and audio messages
|
if cs.msgcount < 20 { // only consider the first video and audio messages
|
||||||
cs.genwallclocktime = true
|
cs.genwallclocktime = true
|
||||||
} else {
|
} else { // otherwise bail out
|
||||||
err = fmt.Errorf("detected sequence of non-changing timestamps: %d", cs.timenow)
|
err = fmt.Errorf("detected sequence of non-changing timestamps: %d (msgtypeid %d)", cs.timenow, cs.msgtypeid)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user