RenderHeads / UnityPlugin-AVProVideo

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

android ,avprovideo version2.0.11, no sound ,GetDurationMs return wrong value..runs ok in editor #808

Closed 15989766280 closed 3 years ago

15989766280 commented 3 years ago

Describe the issue platform android ,avprovideo version2.0.11,play absolute url video like ****.mpeg...........it plays no sound....GetDurationMs() returns 9.22E+18 and when i called Seek(1000000),the video plays from the begining of the vieo.....when running in windows editor mode,,it runs ok.

Your Setup (please complete the following information):

To Reproduce

Logs If applicable, add error logs to help explain your problem.

Screenshots If applicable, add screenshots to help explain your problem.

Videos http://112.17.52.41/110000000108/00600637000000020000000025381937/29666.ts?AuthInfo=cC4TcDJPbdaBKl6GOM1k9%2BSDvhyZovLSYF4YT6nvpF2VzJ1aRgpCMDLadHbBdhZy4%2BtVUeUiEFY6iJFvjjPGWp8w8l%2F9%2F8zqqw4YWe3bXbuo9HiQOmEMEu%2Fspb08k%2Fbj8vAL1geKq9iASMGGfNvZYw%3D%3D&version=null&netType=Wifi&clientType=Android&isVr=0&zjDownLoadFlag=0&zjAppOfType=3&is5G=0&zjTerType=PC

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Instead email the link to us unitysupport@renderheads.com

15989766280 commented 3 years ago

copy that link to browser or to the avpro path for test

kahnivore commented 3 years ago

Hi,

Are you sure this link is correct? It doesn't open in browser or load in editor.

It'd be useful to know which audio codec your media is encoded with and which API you are using (ExoPlayer or Android Media Player) as they both have constraints regarding audio codecs that may be causing this; as well as limitations with seeking when using MPEG-2 TS. Please see Android Media Player supported media here, and ExoPlayer here.

Thanks

kahnivore commented 3 years ago

Also please see this note on HTTP streaming in Android 9 and above.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.