-
Notifications
You must be signed in to change notification settings - Fork 34
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
Unable to get stream url during a user active stream #151
Comments
What are the debug logs showing you? |
Ah yes sorry:
|
I am trying to update the |
Any help ? I've found a sip call when I launch the stream on the interface but I don't how to use it or how to convert it on a rtsp feed |
I didn't overcome this topic. Help needed. Thanks. |
Sorry, I think I found the issue looking at another issue - to do with the glance cards in Home Assistant. Can you try this diff: Index: pyaarlo/camera.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/pyaarlo/camera.py b/pyaarlo/camera.py
--- a/pyaarlo/camera.py (revision 5f57e8b9a6a5c79ee000a53d462d0d032d0aed43)
+++ b/pyaarlo/camera.py (date 1716638333326)
@@ -432,16 +432,16 @@
with self._lock:
if not self.has_user_request("recording"):
self._remote_users.add("recording")
- if not self.has_any_local_users:
- self._local_users.add("remote")
+ # if not self.has_any_local_users:
+ # self._local_users.add("remote")
self._lock.notify_all()
self._dump_activities("_event::record")
if activity == "userStreamActive":
with self._lock:
if not self.has_user_request("streaming"):
self._remote_users.add("streaming")
- if not self.has_any_local_users:
- self._local_users.add("remote")
+ # if not self.has_any_local_users:
+ # self._local_users.add("remote")
self._lock.notify_all()
self._dump_activities("_event::stream")
|
@twrecked much better, it gets the stream ! |
ERRATUM: in my little script it works well, I received the event on stop, but it doesn't on the |
@twrecked you can consider that your patch solve the issue. |
Because All I can think is that Arlo has changed their back end. When I wrote this - a long time ago - I'm guessing we were automatically sent a stream URL when a remote started playback. ("Guess" is the word here, I would have tested it when I wrote it but too many things have happened since.) Thinking about this, I bet this changed around the time I'll try to get an updated release out this week. I'm also trying to make the login/cloudflare error messages more meaningful, hopefully I can roll it into one. |
Hi @twrecked, I've found a new bug I think. Should the url stream be converted from rtsps to rtsp ?
Regards. |
We manually convert it to Arlo always used to return a secure stream with the missing |
Oh sorry, I red the opposite last night 😶🌫️ |
HI,
I've created a simple python script to try getting the stream url when a Live stream is running. But it seems that the stream url cannot be get during a "manual" running stream.
How to handle that ?
It should be in the
_start_stream
function but I didn't know what I should change or not.Here my script:
The text was updated successfully, but these errors were encountered: