8000 GitHub - Wkkkkk/webrtc_client
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Wkkkkk/webrtc_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple WebRTC Python Client

WebRTC is an evolving technology for peer-to-peer communication on the web. This repository demonstrates how this technology can be used to establish a peer connection from a Python instance. It connects to a public live stream and saves the video&audio as a mp4 file.

Table of Contents

Installation

We recommend using Conda or (Miniconda) to manage the packages and versions of this WebRTC Python Client. You are free to choose your version manager of choice (eg. pyenv or plain pip), in that case have a look at environment.yml to see what packages you need to install. Below are the installation instructions using Miniconda.

git clone https://github.com/kunwu/webrtc_client.git
cd webrtc_client
conda env create -f environment.yml
conda activate webrtc

Usage

This client works out of the box with the google signaling server. By default, it connects to the live stream provided by Eyevinn.

python3 web.py [--url]

Example

Issues

When connecting from campus network, only audio is recorded. However, both video and audio could be accessed when running at home (a different network environment).

To-do

  1. Understand the difference of network environments.

  2. Try object detections for fun.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0