(ts uint32)
| 198 | } |
| 199 | |
| 200 | func (vt *Video) generateTimestamp(ts uint32) { |
| 201 | if vt.State == TrackStateOffline { |
| 202 | vt.dtsEst = util.NewDTSEstimator() |
| 203 | } |
| 204 | vt.Value.PTS = time.Duration(ts) |
| 205 | vt.Value.DTS = time.Duration(vt.dtsEst.Feed(ts)) |
| 206 | } |
| 207 | |
| 208 | func (vt *Video) SetLostFlag() { |
| 209 | vt.lostFlag = true |
no test coverage detected