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:
A video file.
An image file.
An audio file.
Your webcam/camera.
From this MediaStream you can:
Stream it to peers using the simple chat function.
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.
ImageRecorder¶
Record and image from any stream for postprocessing.
WidgetStream¶
Turn any widget into a MediaStream.