Skip to content

icetd/CamWebRtcServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

CamWebRtcServer - A multi-client WebRTC video streaming server for USB cameras.

build

./scripts/build_x264.sh
git submodule update --init
mkdir build && cd build
cmake ..
make

test env

gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0

Make sure your build tools version is not very old

config

config with file configs/config.ini

[log]
level = NOTICE

[video]
width = 1920
height = 1080
fps = 30
;[CRF | ABR]
method = CRF      
;if ABR bitrate is efficient
bitrate = 1440    
;if CRF rf_constant is efficient [0 - 51] degree of loss; default is 23; rf_constant < 10  frame size is bigger than live555 max frame size);
rf_constant = 23  
;IDR-frames 
min_ikeyint = 30
max_ikeyiny = 60
;[YUY2 | MJPEG]
format = MJPEG
device = /dev/video0

[Server]
port = 8000 ; websocket server port

function

✅ Support MJPEG and YUY2 format USB cameras

✅ H.264 software encoding

✅ WebRTC H.264 streaming

✅ Multi-client support with single encoder instance

✅ Auto reconnection

✅ WebGL frontend rendering

About

simple usb camera webrtc server base on libdatachannel

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors