Open cyanescent opened 5 days ago
From #7349, this is the reason:
Note that livestreams will still fetch the video stream (because streams we are getting right now are not demuxed (this will probably change soon) and there is an ExoPlayer bug which still fetches video even if it has been disabled with the track selector for HLS contents (the delivery method we can only use for livestreams right now) (a low priority has been given by the ExoPlayer team to this bug)).
@AudricV Has the situation changed here? Maybe media3 doesn't have this problem?
No, nothing has changed sadly in Media3.
DASH manifests can be prioritized as a workaround, but in order to use the DASH manifests of YouTube livestreams (version 5 up to 7), we need to fix them, as ExoPlayer starts them from the beginning of the live window (only the period?) (i.e. the earliest point with which you can rewind). For other services that use HLS for livestreams only, nothing will change.
I don't know right now what causes the start position issue (it doesn't seem to be a NewPipe bug this time). For some reason, the availabilityStartTime
property in DASH manifests of YouTube causes issues in ExoPlayer. Setting this value to "1970-01-01T00:00:00Z"
like in this sample makes the library handle things like expected.
Checklist
Affected version
0.27.2
Steps to reproduce the bug
Expected behavior
The step 2 should show a data usage <40 kB/s and actually save data compared to a video live stream.
Actual behavior
The data usage remains high in NewPipe with audio only, even after 1 min.
Affected Android/Custom ROM version
Android 13 /e/OS 2.5
Affected device model
Fairphone 3+