uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.54k stars 83 forks source link

Direct Play stream playback is broken #552

Closed GrabbenD closed 10 months ago

GrabbenD commented 11 months ago

Preliminary checklist

Can the bug be reproduced with corresponding Chromium version?

No

Cromite version

v119.0.6045

Device architecture

arm64

Platform version

Android 11

Android Device model

NVIDIA Shield

Is the device rooted?

No

Changed flags

N/A

Is this bug happening in an incognito tab?

Yes

Is this bug caused by the adblocker?

No

Is this bug a crash?

No

Describe the bug

The video doesn't load when the client attempts to play a 4K HEVC HDR video as it's stuck loading.

Steps to reproduce the bug

Expected behavior

Should be able to play 4K HEVC videos

Screenshots

N/A

Universalizer commented 11 months ago

Check whether your device (Android 11) supports 4K HEVC videos at operating system level,

Try, Codec Info (apk), package name; com.parseus.codecinfo from Fdroid. And kow what codec's encoder or decoder + resolution your android supports.

Generally, 4K requires lots of RAM and sometimes slow internet it shows please wait, loading or buffering. Hope your device must have sufficient RAM and faster internet connectivity,

Here these are concerns.

GrabbenD commented 11 months ago

Thanks for taking a look

Check whether your device (Android 11) supports 4K HEVC videos at operating system level,

For reference, my NVIDIA Shield Pro works fine with 4K HEVC HDR when playing with:

The exact same media from Jellyfin isn't working with Cromite and neither are any 4K HEVC HDR videos in youtube.com?

Try, Codec Info (apk), package name; com.parseus.codecinfo from Fdroid. And kow what codec's encoder or decoder + resolution your android supports.

Just tried com.parseus.codecinfo. Is this the right field for determinating if the media can be played correctly?

Hope your device must have sufficient RAM and faster internet connectivity,

It has 3 GB RAM and uses a CAT 8.1 Ethernet cable which is connected to my router that has full 1000/1000 up/down WAN fiber connection. There shouldn't be any bottlenecks with this setup :)

uazo commented 11 months ago

The video doesn't load when the client attempts to play a 4K HEVC HDR video as it's stuck loading.

I am not aware of any problems. this is my result:

Windows

![image](https://github.com/uazo/cromite/assets/29201891/abbe1c05-5890-492a-863e-c5e6ae886ec1)

Android LOS 10 - Mi10 3Gb ram - 3g

![image](https://github.com/uazo/cromite/assets/29201891/bc911387-0dbb-4405-9fd8-eb22a4d8fb1d)

you should check whether you have any messages in the log.

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.

GrabbenD commented 11 months ago

you should check whether you have any messages in the log.

Which log are you thinking about?

uazo commented 11 months ago

Which log are you thinking about?

console.log() and logcat, the former you can only extract if you connect the device to a desktop with chrome://inspect/#devices

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.

GrabbenD commented 11 months ago

Thanks! I connected the device with adb and was able to access the logs:

Seems like DirectPlay stream method isn't supported (meaning the problem isn't HEVC)

> Requesting url without automatic networking: http://192.168.50.154:9096/Sessions/Playing

> 3793.d0b3a6a1e2ba5944f89e.chunk.js:1 error locking orientation: TypeError: Failed to execute 'lock' on 'ScreenOrientation': Illegal invocation

> main.jellyfin.bundle.js?bd5d0bec6156aabfd326:2 Translation key is missing from dictionary: AirPlay
uazo commented 11 months ago

http://192.168.50.154:9096/Sessions/Playing

I do not have an Jellyfin Server at my disposal, so unless you allow me a direct check, I cannot help you.

GrabbenD commented 11 months ago

@uazo Add me on Discord: grabbend or Telegram: GrabbenD and I'll give you the credentials :)

uazo commented 11 months ago

sorry but I don't use any social, not one! isn't there something public we can test?

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.

github-actions[bot] commented 10 months ago

This issue has been automatically closed as sufficient information hasn't been provided on the issue for further actions to be taken. Feel free to add more information.