webrtc working

This commit is contained in:
2025-11-03 21:08:57 +01:00
parent 96335af6ee
commit 417e50983e
4 changed files with 587 additions and 0 deletions

16
test_webrtc.py Normal file
View File

@@ -0,0 +1,16 @@
import asyncio
from mucapy.WebServer import VideoWebServer
async def main():
server = VideoWebServer()
await server.start_server()
print("Server started, press Ctrl+C to stop")
try:
while True:
await asyncio.sleep(1)
except KeyboardInterrupt:
print("\nStopping server...")
await server.stop_server()
if __name__ == "__main__":
asyncio.run(main())