Relay "constantly changing URL" #274
Replies: 11 comments
-
Hello, unfortunately i don't have a Google Nest to replicate the issue, but my advice is to run a script that
Since the server supports hot reloading, the configuration is reloaded after every change, so it does exactly what you're asking - switching to a new URL. |
Beta Was this translation helpful? Give feedback.
-
@aler9 That makes perfect sense - I'll give that a try and feedback. Thanks for the suggestion! |
Beta Was this translation helpful? Give feedback.
-
Hmm. It didn't seem to like the nest URLs. Debug log below. Any initial thoughts? Hot reloading didn't work for me either, not sure if I need to enable that somehow...
|
Beta Was this translation helpful? Give feedback.
-
Please try this nightly release (removed) |
Beta Was this translation helpful? Give feedback.
-
Sadly that performed the same with the same error. Slightly "larger" log here if it helps. I could probably provide the stream if you were interested!
|
Beta Was this translation helpful? Give feedback.
-
Evidently it isn't the path, but it's a header value that exceeds the maximum allowed length. |
Beta Was this translation helpful? Give feedback.
-
That's working perfectly :) I will give it a try with the hot loading and feedback again. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@scottgrobinson can i ask what url format/schema you are using to access the dropcams? we are definitely interested in trying this out. thanks! looking at this: |
Beta Was this translation helpful? Give feedback.
-
@t3therdev Yes - Using the NEST API there. The trickiest part is setting up the google authentication side of things. This script dumps out a URL that lasts for 5 minutes that you can load in VLC, I haven't got to the part of integrating it with a renewing URL. https://pastebin.com/62VQqb6R @aler9 Every time I paste in a new URL, the relay disconnects my client. Is that expected? If I load it up again, the URL works, but I was hoping it wouldn't disconnect me. Not sure if what I'm asking for is possible here without transcoding to a new stream entirley? Tried with VLC & MPV. 19:28:20 - Ready |
Beta Was this translation helpful? Give feedback.
-
added in v0.14.0 |
Beta Was this translation helpful? Give feedback.
-
Currently trying to do something similar to what @scottgrobinson is doing and seeing a different issue. Getting two different errors. It rotates between:
and:
I have tried the version above as well as I downloaded the current codebase and executed with go and get this error:
I have encryption set to "no" so maybe it is referring to the source? Thanks for any help you can offer. |
Beta Was this translation helpful? Give feedback.
-
Which version are you using?
N/A / Latest
Question
Google Nest cameras have a way of viewing there RTSP stream, but only via a URL which has limited life/avaliability until it stops. A new URL can be obtained to "keep it going". I have a simple script that gets the latest URL for me, but is there a way of create a relay stream where I can occasionally say "Hey - You have a new URL to relay, please switch to this"
Beta Was this translation helpful? Give feedback.
All reactions