Need help with ipywebrtc?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

maartenbreddels
151 Stars 27 Forks MIT License 206 Commits 33 Opened issues

Description

WebRTC for Jupyter notebook/lab

Services available

!
?

Need anything else?

Contributors list

No Data

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: * Any ipywidget. * A video file. * An image file. * An audio file. * Your webcam/camera.

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
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-webrtc       # for jupyter lab

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 link js
$ jupyter lab --watch  # for quick rebuilds

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.