Welcome to IPyWebRTC’s documentation!¶
WebRTC and MediaStream API exposed in the Jupyter notebook/lab.
See this tweet for a demo screencast.
- Using ipywebrtc you can create a MediaStream out of:
- Any ipywidget.
- A video file.
- An image file.
- An audio file.
- Your webcam/camera.
From this MediaStream you can:
- Record a movie.
- Record an image snapshot.
- Record an audio fragment.
- Stream it to peers using the simple chat function.
- Use it as a texture in ipyvolume.
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