flutter-tizen / plugins

Flutter plugins for Tizen
65 stars 47 forks source link

httpHeaders not supported #749

Open rzilat opened 1 week ago

rzilat commented 1 week ago

I am developing a flutter app for Tizen and I need to add header in the request, but I found that The httpHeaders option of VideoPlayerController.networkUrl are not supported, can someone please explain to me why ?

JSUYA commented 1 week ago

The video_player_avplay and video_player_videohole's httpHeaders supports cookies and user-agent. (If you want to use video_player_avplay, your app must be signed with a partner-level certificate. Please refer to https://docs.tizen.org/partners/specialist)

+) Probably there was no requirement in video_player_tizen. We can review support for it(cookie and user-agent), but it may take some time. (streaming api)

JSUYA commented 6 days ago

Could you please use version 2.5.3 of video_player_tizen? Updated to support Cookies and User-Agent in httpHeaders.

rzilat commented 6 days ago

For the httpHeader referer is there a support in the future?

Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg


From: JunsuChoi @.> Sent: Tuesday, September 24, 2024 3:46:32 AM To: flutter-tizen/plugins @.> Cc: rzilat @.>; Author @.> Subject: Re: [flutter-tizen/plugins] httpHeaders not supported (Issue #749)

Could you please use version 2.5.3https://pub.dev/packages/video_player_tizen/changelog#253 of video_player_tizen? Updated to support Cookies and User-Agent in httpHeaders.

— Reply to this email directly, view it on GitHubhttps://github.com/flutter-tizen/plugins/issues/749#issuecomment-2370001589, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIW4JNA7VCMBTCPKWMBRWOTZYDHARAVCNFSM6AAAAABOSA6DNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZQGAYDCNJYHE. You are receiving this because you authored the thread.Message ID: @.***>

JSUYA commented 6 days ago

For the httpHeader referer is there a support in the future?

If there is a public Tizen Native API, we can support it. But since there is no such API, we cannot support it and we do not know the plan for when a native API will be supported.

rzilat commented 6 days ago

Thank you so much for your time, and we hope that for the security of our stream the token must be supported if there is no such api for the referer

Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg


From: JunsuChoi @.> Sent: Tuesday, September 24, 2024 10:31:56 AM To: flutter-tizen/plugins @.> Cc: rzilat @.>; Author @.> Subject: Re: [flutter-tizen/plugins] httpHeaders not supported (Issue #749)

For the httpHeader referer is there a support in the future?

If there is a public Tizen Native API, we can support it. But since there is no such API, we cannot support it and we do not know the plan for when a native API will be supported.

— Reply to this email directly, view it on GitHubhttps://github.com/flutter-tizen/plugins/issues/749#issuecomment-2370763588, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIW4JNDMAAGIRFW5IFCSMETZYEWQZAVCNFSM6AAAAABOSA6DNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZQG43DGNJYHA. You are receiving this because you authored the thread.Message ID: @.***>

JSUYA commented 6 days ago

Thank you so much for your time, and we hope that for the security of our stream the token must be supported if there is no such api for the referer

@xiaowei-guan Is there a way to use the above requirements through avplay(plus player)?

xiaowei-guan commented 5 days ago

Thank you so much for your time, and we hope that for the security of our stream the token must be supported if there is no such api for the referer

@xiaowei-guan Is there a way to use the above requirements through avplay(plus player)?

I can't find any api for http headers, I will check it with MM team doday.

xiaowei-guan commented 5 days ago

Thank you so much for your time, and we hope that for the security of our stream the token must be supported if there is no such api for the referer

@xiaowei-guan Is there a way to use the above requirements through avplay(plus player)?

I can't find any api for http header referer, I will check it with MM team doday.

xiaowei-guan commented 5 days ago

@rzilat I have checked with MM team, Player only support 'USER_AGENT','COOKIE', now, not support 'referer'.