UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

Alter streaming url before request

Open tienhunggg opened this issue 1 year ago • 5 comments

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!

tienhunggg avatar Aug 02 '23 07:08 tienhunggg

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

Chris-RH avatar Aug 02 '23 12:08 Chris-RH

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

tienhunggg avatar Aug 04 '23 09:08 tienhunggg

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.

Chris-RH avatar Aug 04 '23 11:08 Chris-RH

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] avatar Sep 17 '23 03:09 stale[bot]

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] avatar Mar 17 '24 12:03 stale[bot]