Closed BartusZak closed 3 years ago
You should sign the headers in the example app , not in the plugin code .
Exactly. It's just a POC.
I would like to improve it, but can not manage more time to do it right know.
The main goal was to check if it is possible to implement and if is there a need to open issue diretly in video_player
Flutter Package.
okay , great . So i will publish the new version since it works . Thank you so much for testing this :)
Your code works perfectly!
It does not cover my case because I have to calculate different signature per request but there is more approaches to handle it.
For example Presigned AWS URL where you can generate links working in a specyfic period of time.
If we would like to be enable to pass a function to VideoPlayerController
then it would cover my case.
But it is probably a issue that we should open directly in video_player
to extend VideoPlayerController
with e.g httpHeadersFunction
.
Do not know :D
Example of calculating and attaching
Secured Headers
per request with.m3u8
and.aac
using SigV4 to Amazon S3.@balvinderz