Stream webcam to Google Colab for AI processing

No Tunnels Required!

Uses VDO.Ninja's signaling infrastructure to connect browsers directly to MediaMTX running on Colab. VDO.Ninja handles NAT traversal, MediaMTX does the SFU work.

┌─────────────┐      VDO.Ninja       ┌─────────────────────────┐
│   Browser   │◄────signaling────────►│     Google Colab        │
│  (publish)  │                       │                         │
└──────┬──────┘                       │  ┌─────────────────┐    │
       │                              │  │ Signaling Bridge│    │
       │     WebRTC media             │  │  (Node.js SDK)  │    │
       └──────────────────────────────┼──►       │         │    │
                                      │  │       ▼         │    │
┌─────────────┐                       │  │  ┌─────────┐   │    │
│   Browser   │◄──────────────────────┼──┼──│MediaMTX │   │    │
│   (view)    │     WebRTC media      │  │  │  (SFU)  │───┼────┼──► AI Processing
└─────────────┘                       │  │  └─────────┘   │    │    (OpenCV, YOLO)
                                      │  └─────────────────┘    │
                                      └─────────────────────────┘
1

Run Colab Notebook

Start MediaMTX and the signaling bridge. Copy the Room ID.

2

Publish from Browser

Open the publish page, enter Room ID, select camera, start streaming.

3

Process with AI

MediaMTX receives the stream. Colab processes frames with Python/AI.

Open In Colab Start Colab Notebook
Publish Stream View Stream