Awesome Open Source
Awesome Open Source

ipywebrtc

Travis Documentation Binder Chat

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

See this tweet for a demo screencast.

Why use ipywebrtc?

Using ipywebrtc you can create a MediaStream out of:

From this MediaStream you can:

Demos

WebRTC and ipyvolume

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

webrtc

ImageRecorder

Record and image from any stream for postprocessing.

recorder

WidgetStream

Turn any widget into a MediaStream.

widget-stream

Installation

To install:

$ pip install ipywebrtc                             # will auto enable for notebook >= 5.3

For a development installation (requires npm),

$ git clone https://github.com/maartenbreddels/ipywebrtc
$ cd ipywebrtc
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipywebrtc
$ jupyter nbextension enable --py --sys-prefix ipywebrtc
$ jupyter labextension develop . --overwrite

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,847
python (55,261
jupyter-notebook (6,408
webrtc (367
jupyter (290
video-streaming (63
ipython (54
webcam (50
ipython-notebook (33