RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
226 stars 28 forks source link

No video on iPhone 11 pro max #1273

Closed shiryshev closed 1 year ago

shiryshev commented 1 year ago

Describe the issue User of our app report problem with player on iPhone 11 pro max device: — hear sound, no video (only black or white screen)

Your Setup (please complete the following information):

To Reproduce

  1. Download https://apps.apple.com/ru/app/id1592290296
  2. Skip paywall, go to home screen
  3. Play any free video

Logs No logs

Screenshots 11pro-15 6 1-Paul-novideo

Videos

https://user-images.githubusercontent.com/726717/187148663-396b8712-7145-4c76-897b-7271dc4389e9.mov

Attached

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Instead email the link to us unitysupport@renderheads.com

Chris-RH commented 1 year ago

Hi @shiryshev, Have you tried a new project with just our demo media player? Have you tried it on other devices? Do you have any error logs? We need to know if the following events are working: ReadyToPlay, MetaDataReady, FirstFrameReady

shiryshev commented 1 year ago

Have you tried a new project with just our demo media player? No. It is 2.5.4 Ultra

Have you tried it on other devices? Yes, iphone 6,7,8,10,11,13,se, ipad 4 gen - no problem

Do you have any error logs? No. This is user's device

We need to know if the following events are working: ReadyToPlay, MetaDataReady, FirstFrameReady They are working

Chris-RH commented 1 year ago

Ah, so you don't have access to the device?

Can they test it with an apk just playing our demo media player? https://www.renderheads.com/content/docs/AVProVideo/articles/usage-demos.html

MorrisRH commented 1 year ago

Hey @shiryshev, a few more questions:

  1. Are the movies HLS or mp4?
  2. Would it be possible to get a link to one of the videos so we can test playback here? (you can send it to unitysupport@renderheads.com with 'GitHub Issue #1273' as the subject if you want to keep it private).
  3. What are the settings on the media player component?
shiryshev commented 1 year ago

Hi!

Can they test it with an apk just playing our demo media player?

Nope. This is iPhone :)

  1. Are the movies HLS or mp4?

mp4

2. Would it be possible to get a link to one of the videos so we can test playback here? (you can send it to unitysupport@renderheads.com with 'GitHub Issue No video on iPhone 11 pro max #1273' as the subject if you want to keep it private).

Ok

3. What are the settings on the media player component?

See attach 2022-08-31 13 12 03 2022-08-31 13 12 13 2022-08-31 13 12 44 2022-08-31 13 13 15

Thanks!

MorrisRH commented 1 year ago

Thanks for sending on the video, everything looks fine there. Unfortunately I cannot reproduce this. I am wondering if it's the same issue as #1266.

shiryshev commented 1 year ago

You test on an iPhone 11 pro max and everything is ok?

On Wed, 31 Aug 2022 at 16:35, Morris Butler @.***> wrote:

Thanks for sending on the video, everything looks fine there. Unfortunately I cannot reproduce this. I am wondering if it's the same issue as #1266 https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1266.

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1273#issuecomment-1232948115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRNPLNQVSZNKQ5SCSHTITV35NSLANCNFSM574XAB6A . You are receiving this because you were mentioned.Message ID: @.***>

MorrisRH commented 1 year ago

I don't have access to an iPhone 11 Pro Max, I have checked on an iPhone 13 Pro, iPhone X and an iPad Pro (10.5"). I've never had an issue specific to a model of iPhone before though so I'm unconvinced that it is specific to an iPhone 11 Pro Max.

It will be worth asking your user if they've been using AirPlay before using your app just to rule that out as a possible cause of the issue.

shiryshev commented 1 year ago

We tested on all these devices, but we can't find an iphone 11 pro max (only 11) to reproduce the issue. And our user tested on the wife's iphone 13 pro — everything works.

I try to ask about AirPlay. What kind of problem may be with it?

On Wed, 31 Aug 2022 at 17:42, Morris Butler @.***> wrote:

I don't have access to an iPhone 11 Pro Max, I have checked on an iPhone 13 Pro, iPhone X and an iPad Pro (10.5"). I've never had an issue specific to a model of iPhone before though so I'm unconvinced that it is specific to an iPhone 11 Pro Max.

It will be worth asking your user if they've been using AirPlay before using your app just to rule that out as a possible cause of the issue.

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1273#issuecomment-1233031842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRNPJJODAVGBHIYL5NATDV35VOPANCNFSM574XAB6A . You are receiving this because you were mentioned.Message ID: @.***>

MorrisRH commented 1 year ago

If AirPlay has been enabled in another app (Apple's TV app for example) then when a video is played in your app it will automatically be cast to the TV. When this happens no video is rendered inside the app so you see a blank image where the video would be which matches what you are describing. We've made this behaviour opt-in in AVPro Video so it shouldn't happen by default, but if "Enable External Playback" is checked in the media player properties then it will happen.

MorrisRH commented 1 year ago

Closing as duplicate of #1266