Putting a Robot on a Phone Call: Layered Signaling, Bounded Occupancy and Turn Arbitration over WebRTC
This research presents a system that enables a Thor robot to participate in browser-based voice calls via WebRTC. The architecture separates HTTPS signaling, relayed media, and speech generation into distinct routes to manage concurrency and turn-taking. Key technical details include a 500 ms window for relay credential prefetching, concurrent preparation of speech and WebRTC answers within a 55-second deadline, and a non-blocking speaker lock mechanism. Performance metrics show that 15 out of 16 initial call attempts reached a ready-to-speak state, with median connection times of 5.57 seconds over Wi-Fi and 6.76 seconds over cellular. The system successfully handled occupancy and recovery scenarios, allowing subsequent calls during interruptions, and demonstrated controlled suppression of chat inputs via a 2-second gate mechanism.
arXiv:2611.32308v1 Announce Type: new Abstract: We put a Thor robot on a browser voice call, with speech sent from Safari, answers played through the robot's loudspeaker and transcripts returned to the phone. We separate HTTPS signaling, relayed WebRTC media and speech generation into independently observable routes. The browser prefetches relay credentials and allows a 500 ms window after its first relay candidate. The backend starts speech and WebRTC-answer preparation concurrently within a 55 s deadline. A session slot and a non-blocking speaker lock coordinate calls with local voice access. A 2 s gate gives the controller an opportunity to suppress chat before playback. Fifteen of sixteen first dials reached ready-to-speak, comprising seven of eight Wi-Fi calls with a median of 5.57 s and eight of eight cellular calls with a median of 6.76 s. All twenty scored occupancy and recovery scenarios admitted a later call. During five 60 s outages, the backend released the line while the phone remained offline. Across 40 controlled replays, enabling the gate suppressed chat when the controller decided at 1 s. At 3 s, chat and controller feedback both played in sequence, with no overlapping output in any trace. Two additional boundary traces exposed a receipt naming a later feedback item and a new call's query returning its predecessor's feedback. These measurements cover application events on one platform and simulated controller decisions, with acoustic output and task correctness outside their scope.