Welcome to IPyWebRTC’s documentation!

WebRTC and MediaStream API exposed in the Jupyter notebook/lab.

IPyWebRTC’s GitHub repo.

See this tweet for a demo screencast.

Using ipywebrtc you can create a MediaStream out of:

From this MediaStream you can:

Installation

Pip users:

$ pip install ipywebrtc                             # will auto enable for notebook >= 5.3
$ jupyter labextension install jupyter-webrtc       # for jupyter lab

Conda users:

$ conda install -c conda-forge ipywebrtc
$ jupyter labextension install jupyter-webrtc       # for jupyter lab

Demos

WebRTC and ipyvolume

Use remote MediaStreams and show them in 3d using ipyvolume.

webrtc

webrtc

ImageRecorder

Record and image from any stream for postprocessing.

recorder

recorder

WidgetStream

Turn any widget into a MediaStream.

widget-stream

widget-stream

Indices and tables