MCPcopy Create free account
hub / github.com/Improbable-AI/VisionProTeleop / start

Method start

avp_stream/streamer.py:443–452  ·  view source on GitHub ↗

Start the media clock. Called when streaming begins.

(self)

Source from the content-addressed store, hash-verified

441 self._audio_sample_count = 0
442
443 def start(self):
444 """Start the media clock. Called when streaming begins."""
445 with self._lock:
446 if self._started:
447 return
448 self._epoch = time.perf_counter()
449 self._epoch_ntp = time.time()
450 self._started = True
451 self._video_frame_count = 0
452 self._audio_sample_count = 0
453
454 def reset(self):
455 """Reset the clock (for reconnection scenarios)."""

Callers 15

runMethod · 0.45
process_frameMethod · 0.45
__init__Method · 0.45
start_video_captureFunction · 0.45
recvMethod · 0.45
recvMethod · 0.45
_on_openMethod · 0.45
_start_hand_trackingMethod · 0.45
_trigger_webrtc_offerMethod · 0.45
on_openMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected