KirosG / ipywebrtc

WebRTC for Jupyter notebook/lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

WebRTC for Jupyter notebook/lab

License:MIT License


Languages

Language:JavaScript 54.3%Language:Python 34.3%Language:TypeScript 11.1%Language:Shell 0.4%