mirror of
https://github.com/comma-hacks/webrtc.git
synced 2025-09-27 04:26:31 +08:00
dont override stop
This commit is contained in:
@@ -30,10 +30,6 @@ class DesktopStreamTrack(VideoStreamTrack):
|
|||||||
frame.pts = pts
|
frame.pts = pts
|
||||||
frame.time_base = time_base
|
frame.time_base = time_base
|
||||||
return frame
|
return frame
|
||||||
|
|
||||||
def stop(self) -> None:
|
|
||||||
super().stop()
|
|
||||||
self.input.stop()
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from time import time_ns
|
from time import time_ns
|
||||||
|
Reference in New Issue
Block a user