RenderHeads / UnityPlugin-AVProVideo

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

Alter streaming url before request #1603

Open tienhunggg opened 1 year ago

tienhunggg commented 1 year ago

Hello, I'm using this plugin for a webgl game with custom streaming js lib (VHS https://github.com/videojs/http-streaming) which support alter the url before request it. like this: image

my question is: is there any way to do it on other platforms(desktop, android, ios) ? thank you!

Chris-RH commented 1 year ago

Are you talking about dynamically adjusting URL on responses? Is this something that you already have working with AVPro Video on webgl?

tienhunggg commented 1 year ago

sorry the late reply! yes, I have working version on webgl. Basically, I have a normal url and then I need to convert it to s3 signed url. My problem is I dont want to modify m3u8 file content on the server so I found the solution above to change the url before request to s3 but cannot find anyway to it on Android or iOS. ----edit---- I'm using AVProVideo with custom javascript lib on webgl and I modified jslib of the plugin to support convert normal url to s3 signed url before request it to s3

Chris-RH commented 1 year ago

Its something that might be possible, but a very niche use-case, so we would need to be investigated further. Our android and iOS devs are on annual leave at the moment, but can look into it further when they get back.

stale[bot] commented 11 months 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 5 months 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.