Vuer

vuer.addons.camera_rtc

create_local_tracks

python
def create_local_tracks(play_from, decode)

Source

force_codec

python
def force_codec(pc, sender, forced_codec)

Source

index

python
async def index(request)

Source

javascript

python
async def javascript(request)

Source

offer

python
async def offer(request)

Source

on_shutdown

python
async def on_shutdown(app)

Source

Args

python
class Args(ParamsProto)

Source

python
description = 'WebRTC webcam demo'
python
cert_file = Proto(help='SSL certificate file (for HTTPS)')
python
key_file = Proto(help='SSL key file (for HTTPS)')
python
host = Proto(default='localhost', help='Host for HTTP server (default: 0.0.0.0)')
python
port = Proto(default=8080, dtype=int, help='Port for HTTP server (default: 8080)')
python
play_from = Proto(help='Read the media from a file and send it.')
python
play_without_decoding = Flag('Read the media without decoding it (experimental). For now it only works with an MPEGTS container with only H.264 video.')
python
audio_codec = Proto(help='Force a specific audio codec (e.g. audio/opus)')
python
video_codec = Proto(help='Force a specific video codec (e.g. video/H264)')
python
verbose = Flag()