GRVYDEV / Lightspeed-webrtc

A RTP -> WebRTC broadcast server for Project Lightspeed.
MIT License
75 stars 31 forks source link

Add IP and port range handling for WebRTC ICE connections #17

Closed k3d3 closed 3 years ago

k3d3 commented 3 years ago

Closes #16 .

k3d3 commented 3 years ago

Yep, I have been testing it in docker! This does not need any special networking mode.

I'm currently using it with this docker-compose.yml:

lightspeed_webrtc:
    image: lightspeed-webrtc-test
    container_name: lightspeed_webrtc
    restart: unless-stopped
    entrypoint: lightspeed-webrtc
    command: --addr=0.0.0.0 --ip=<my public IP> --ports=19050-19100 run
    ports:
        - 8085:8080 # WebRTC
        - 65535:65535/udp # RTP
        - 19050-19100:19050-19100 # WebRTC PeerConnection
        - 19050-19100:19050-19100/udp # WebRTC PeerConnection UDP