I'm working on a flutter project involving a video streaming widget, I use this plugin:
https://pub.dartlang.org/packages/chewie
which depends on this plugin:
https://pub.dartlang.org/packages/video_player
it works fine when I use common video, basically the plugin define the video stream type based on the video url
but in my case, due to some CDN/security issue on my backend, the video url doesn't contain any file extension, and by default the plugin will use common stream type to render, yet my video is an hls stream
so I figure, it could be done if can just override the native implementation on Android and force the stream type to hls
yet, the plugin registrant is a generated class and it points to the default implementation of the plugin and not the one I create
is there something I can do to handle this beside rewrite both the plugins?