Skip to content

mgeier/ipywebrtc

 
 

Repository files navigation

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
$ 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

About

WebRTC for Jupyter notebook/lab

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 54.3%
  • Python 34.2%
  • TypeScript 11.1%
  • Shell 0.4%