mirror of
https://github.com/comma-hacks/webrtc.git
synced 2025-10-10 02:20:10 +08:00
fix memory leak among other things
This commit is contained in:
@@ -63,7 +63,7 @@ if __name__ == "__main__":
|
||||
async def test():
|
||||
frame_count=0
|
||||
start_time=time_ns()
|
||||
track = VisionIpcTrack("roadEncodeData", "192.168.99.200")
|
||||
track = VisionIpcTrack("roadEncodeData", "tici")
|
||||
while True:
|
||||
await track.recv()
|
||||
now = time_ns()
|
||||
@@ -81,4 +81,4 @@ if __name__ == "__main__":
|
||||
try:
|
||||
loop.run_until_complete(test())
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(0)
|
||||
sys.exit(0)
|
||||
|
Reference in New Issue
Block a user