Current position within stream as a float of the presentation time in milliseconds. The first frame has a PTS of 0.
(self)
| 205 | |
| 206 | @property |
| 207 | def position_ms(self) -> float: |
| 208 | """Current position within stream as a float of the presentation time in |
| 209 | milliseconds. The first frame has a PTS of 0.""" |
| 210 | if self._frame is None: |
| 211 | return 0.0 |
| 212 | return self._frame.time * 1000.0 |
| 213 | |
| 214 | @property |
| 215 | def frame_number(self) -> int: |
nothing calls this directly
no outgoing calls
no test coverage detected