fredrikburmester / streamyfin

A Jellyfin client build with Expo
Mozilla Public License 2.0
700 stars 19 forks source link

Media not loading on iOS #2

Closed gmeijers closed 4 weeks ago

gmeijers commented 1 month ago

Media doesn’t load on iPhone 12 mini iOS 17.5.1

Tried via both http and https.

Tells me to try logging out and back in again, but no media loads.

does show up in list of active devices.

fredrikburmester commented 1 month ago

Hmm ok, can you try this server: https://jellyfin-test.fdrive.seand log in with Username: apple Pw: 123456 @gmeijers

gmeijers commented 1 month ago

I can’t login to that server. Nothing happens when I tap Log in.

Tried both WiFi / cellular.

On Mon, Aug 12, 2024 at 18:36, Fredrik Burmester @.***(mailto:On Mon, Aug 12, 2024 at 18:36, Fredrik Burmester < wrote:

Hmm ok, can you try this server: https://jellyfin-test.fdrive.seand log in with Username: apple Pw: 123456 @.***(https://github.com/gmeijers)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

fredrikburmester commented 1 month ago

The next release will have better error messages. Then we'll know if it's a credentials issue or a network issue. Check if you have a VPN on and if so turn it off maybe. @gmeijers

mobiledude commented 1 month ago

Iphone 13 here. Jellyfin on unraid, behind NGINX Proxymanager and Authentik. I was able to login with Username and Password, App looks slick and content shows up quickly. However unable to stream any media. Please let us know what kind of Info you need.

Update: @fredrikburmester I stand corrected. Video IS playing, just takes a long time to load. Even on local lan. I also noticed an " airplay" icon. not tested yet, and although Google Casting is way better.....you might mention it somewhere :-)

fredrikburmester commented 1 month ago

@mobiledude can you try the test server i posted about above? try media from that server and see if it works.

mobiledude commented 1 month ago

@mobiledude can you try the test server i posted about above? try media from that server and see if it works.

Tried your server and it worked. Way more responsive than my content on local lan. Could the NPM reverse proxy in combination with Authentik be the problem? Also using pi-hole to do dns rewrite. All working fine with Jellyfin/swiftfin and infuse btw.

fredrikburmester commented 1 month ago

Yeah if it works with Jellyfin/Infuse/Swiftfin then i would like to make it work for Streamyfin as well... Could be that the specific media on your server needs to be transcoded in my app but not in the other apps for some reason. And that the resulting stream is broken in some way. Please keep testing and see if you can find a video that works maybe? I'm gonna keep investigating as well.. @mobiledude

gmeijers commented 1 month ago

@fredrikburmester connecting to your server works fine with the new update! I can browse and play media.

Still the same issue when trying to connect to my own server though.

MajorP93 commented 1 month ago

@fredrikburmester I can confirm that this issue exists.

I installed Streamyfin 0.5.1 on my iPhone 14 (iOS 17.6.1) and entered my Jellyfin server address like this "http://my.server.com:8096" (example, actual FQDN differs). I am currently not using a reverse proxy and therefore no encryption (yet).

I was able to login and can browse media. When trying to play something, the title gets shown on the "control bar" on the bottom of the screen and there is a spinning wheel that indicates the app is trying to load something. After that nothing else happens even after waiting for like 2 minutes.

Both jellyfin and swiftfin work fine with my server address and I can play media in those apps within like 2-3 seconds.

If there is any additional information required for troubleshooting this issue I will be happy to provide.

Thanks for developing this app BTW, looks like a promising project :)

//EDIT: found the error message in logs section: ERROR Video playback error: {"error": {localizedRecoverySuggestion":" "code":-1008," localized Description":"resource unavailable", "domain":"NSURLErrorDomain", "localized Failu reReason" "'',"target":3805}

alonsoCan01 commented 1 month ago

I'm also getting the same error log as @MajorP93. My media runs fine on Swiftfin and Infuse, so I found it odd that Streamyfin was having issues.

When media is selected it starts the load process, but never completes. Once I click the video the play button is crossed out. Then the error is shown in the logs.

fredrikburmester commented 1 month ago

What device are you guys using? The crossed over play icon means the the video is not compatible with the device. I.e. jellyfin is serving a file in the wrong format. This is because i send a "device profile" to the server so that it can determine what to transcode the file into. @alonsoCan01 @MajorP93

alonsoCan01 commented 1 month ago

What device are you guys using? The crossed over play icon means the the video is not compatible with the device. I.e. jellyfin is serving a file in the wrong format. This is because i send a "device profile" to the server so that it can determine what to transcode the file into. @alonsoCan01 @MajorP93

@fredrikburmester I am using an iPhone 14 Pro on IOS 17.5.1

fredrikburmester commented 1 month ago

Could you send information about the file you're trying to play? If you want to join the discord we can discuss this in more depth: https://discord.gg/zyGKHJZvv4

MajorP93 commented 1 month ago

Could you send information about the file you're trying to play? If you want to join the discord we can discuss this in more depth: https://discord.gg/zyGKHJZvv4

Device is iPhone 14, file is 1080p HEVC SDR aswell. 1080p H264 SDR also does not work for me in Streamyfin though.

fredrikburmester commented 1 month ago

We figured out that some people have turned off transcoding on their servers. Since Streamyfin does not support as many codecs as something like Infuse or Swiftfin it's quite important to have the videos/audio/subs in a supported formats, or turn on transcoding.

Also, even though a video is H264 SDR, the container might not be supported, mkv for example.

gmeijers commented 4 weeks ago

My ehh.. issue was solved the moment I updated my Jellyfin server to the latest version. 👀