Skip to content

WebRTC not working when running the image on Lima in macOS #1423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spamwax opened this issue Feb 10, 2025 · 3 comments
Open

WebRTC not working when running the image on Lima in macOS #1423

spamwax opened this issue Feb 10, 2025 · 3 comments

Comments

@spamwax
Copy link

spamwax commented Feb 10, 2025

Everything else (rtsp, hls, ...) is working and accessible from different clients.
It is just that the one I really need (WebRTC) is not working :D

Here is my config:

version: "3"
services:
  wyze-bridge:
    container_name: wyze-bridge
    restart: unless-stopped
    image: mrlt8/wyze-bridge:latest
    network_mode: host
    ports:
      - 1935:1935 # RTMP
      - 8554:8554 # RTSP
      - 8888:8888 # HLS
      - 8889:8889 #WebRTC
      - 8189:8189/udp # WebRTC/ICE
      - 5001:5000 # WEB-UI. Note on macOS, port 5000 is used by ControlCenter so we have to change it the first one from 5000 to 5001
    environment:
      - NET_MODE=LAN
      - ON_DEMAND=False
      - WYZE_EMAIL=${WYZE_EMAIL}
      - WYZE_PASSWORD=${WYZE_PASSWORD}
      - API_ID=${API_ID}
      - API_KEY=${API_KEY}
      - WB_IP=0.0.0.0
      - WB_BIND_ADDR=0.0.0.0
      # WebUI and Stream authentication:
      - WB_AUTH=True # Set to false to disable web and stream auth.
      - STREAM_AUTH=:@${CAMERA_NAME}|::${KLIPPER_IP}@${CAMERA_NAME}
      - WB_USERNAME=${WB_USERNAME}
      - WB_PASSWORD=${WB_PASSWORD}

Even in the WebUI, when I select the WebRTC from the drop down menu, it just shows a thumbnail and clicking on the play icon does nothing

@Deach01
Copy link
Contributor

Deach01 commented Feb 13, 2025

Make sure that these are set correctly.

  • WB_IP=0.0.0.0
  • WB_BIND_ADDR=0.0.0.0

@spamwax
Copy link
Author

spamwax commented Feb 24, 2025

isn't that exactly what I have in the above config?

@Deach01
Copy link
Contributor

Deach01 commented Feb 24, 2025

No, it’s not configured correctly.
0.0.0.0 is not your IP address.

See the webrtc section of the docs:

WebRTC requires two additional ports to be configured in docker:

ports:
...
- 8889:8889 #WebRTC
- 8189:8189/udp # WebRTC/ICE
In addition, the WB_IP env needs to be set with the IP address of the server running the bridge.

environment:
- WB_IP=192.168.1.116

Do NOT use the 192.168.1.116 address. That is an example only! (Unless, by some coincidence that AID your IP address).
Put the address of your own Wyze Bridge there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants