Skip to content

Some pointers about DASH (MPD) streaming #1045

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
bjia56 opened this issue Feb 12, 2025 · 5 comments
Open

Some pointers about DASH (MPD) streaming #1045

bjia56 opened this issue Feb 12, 2025 · 5 comments

Comments

@bjia56
Copy link

bjia56 commented Feb 12, 2025

Hi @twrecked, I saw in the 0.8.1.13 release notes that you're looking into getting MPEG-DASH streams working. We have it working inside Scrypted, using ffmpeg as the client. Here are a few findings from our previous investigation:

From personal experience, the DASH stream is not very stable compared to RTSP, and in Scrypted's persistent streaming mode, sometimes fails to load the stream even when a new URL is requested. My guess is that ffmpeg is missing compression algorithms that the browser may support, but I haven't looked into it. The Scrypted Arlo plugin typically prefers either the RTSP or the WebRTC streams instead.

@twrecked
Copy link
Owner

Many thanks for the info.

I actually figured out the egressToken piece a while ago and incorporated it into my lovelace card but completely forgot about it.

The problem I have now is getting this information into the stream component. I can modify the component to accept a headers option which is passed to PyAV and which seems to do nothing...

@twrecked
Copy link
Owner

And I just saw your comment about the android user agent - it still returns an RTSP stream.

Sorry I missed that, there was a lot of activity the last few days and it got buried in the deluge of people telling me they had the same issue...

I'll add that user agent to pyaarlo as well.

@bjia56
Copy link
Author

bjia56 commented Feb 12, 2025

Np, thanks for your awesome work keeping on top of Arlo's server side changes!

@bjia56
Copy link
Author

bjia56 commented Feb 13, 2025

Something else possibly worth looking into is replacing cloudscraper with curl_cffi, which in my experience does a pretty good job at bypassing cf for the login and works with sseclient.

@twrecked
Copy link
Owner

Thanks. I'll take a look.

I've realised I need to refactor the auth code so I'll take a look at this as well.

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