Skip to content
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

External stream through https not working #519

Closed
dm82m opened this issue Jul 9, 2023 · 7 comments
Closed

External stream through https not working #519

dm82m opened this issue Jul 9, 2023 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@dm82m
Copy link

dm82m commented Jul 9, 2023

Hey guys,

it worked once but it isn’t anymore and I have no idea why.

  1. I am forwarding port 8555 from my NAT router to my Home Assistant ip using TCP as protocol.
  2. I am using „WebRTC Camera“ in basic users mode.
  3. I have the go2rtc.yaml with
webrtc:
  candidates:
    - stun:8555
  1. My home assistant is behind the Nginx Proxy Manager through https
  2. Within internal network it is going from „Loading“ to „MP4“ to „RTC“ and shows video.
  3. From external network it goes from „Loading“ to „MP4“ and stays without showing video.

Where is my failure?

@dm82m
Copy link
Author

dm82m commented Jul 9, 2023

The above description applies to my iPhone.

on my wife’s Android it works: internal network „RTC“ and external network „MSE“ and both are showing video.

@dm82m
Copy link
Author

dm82m commented Jul 9, 2023

Putting the home assistant ip as exposed host and it works…

@dm82m
Copy link
Author

dm82m commented Jul 9, 2023

Setting the current IP instead of stun within go2rtc.yaml also works

@dm82m
Copy link
Author

dm82m commented Jul 9, 2023

Setting the domain that resolves to my dynamic ip to go2rtc.yaml also works, so found a solution for me. But no idea why stun detection stopped working and was working in the past…

@AlexxIT AlexxIT added the duplicate This issue or pull request already exists label Jul 20, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jul 20, 2023

#378

@AlexxIT AlexxIT closed this as completed Jul 20, 2023
@aarnaegg
Copy link

aarnaegg commented Aug 13, 2023

Hey @dm82m, how do you access go2rtc.yaml in home assistant?
Also, can you post your working config?

is it like:

webrtc:
  candidates:
    - xxx.xxx.xxx.xxx:8555

xxx being your public IP?

@dm82m
Copy link
Author

dm82m commented Aug 14, 2023

The file is located here: /config/go2rtc.yaml

the content is:

webrtc:
  candidates:
    - myDomainThatResolvesToMyIp.com:8555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants