basic_bot.debug.test_webrtc_recording
This diagnostic script will test WebRTC connection to the vision service and record 10 seconds of video and audio tracks to a single MP4 file.
usage:
The script will connect to http://localhost:5801/offer and record both video and audio tracks for 10 seconds, saving them as webrtc_recording_test_output.mp4
record_webrtc_stream
Connect to WebRTC endpoint and record video and audio for DURATION seconds
main
Main function to run the WebRTC recording test