plugins icon indicating copy to clipboard operation
plugins copied to clipboard

httpHeaders not supported

Open rzilat opened this issue 1 year ago • 9 comments

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 ?

rzilat avatar Sep 20 '24 13:09 rzilat

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 avatar Sep 20 '24 15:09 JSUYA

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

JSUYA avatar Sep 24 '24 02:09 JSUYA

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: @.***>

rzilat avatar Sep 24 '24 07:09 rzilat

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.

JSUYA avatar Sep 24 '24 09:09 JSUYA

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: @.***>

rzilat avatar Sep 24 '24 09:09 rzilat

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)?

JSUYA avatar Sep 24 '24 10:09 JSUYA

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 avatar Sep 25 '24 00:09 xiaowei-guan

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 avatar Sep 25 '24 01:09 xiaowei-guan

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

xiaowei-guan avatar Sep 25 '24 02:09 xiaowei-guan

This page has been automatically closed since there has not been any recent activity. If you are still experiencing a similar issue, please open a new issue with additional information about the issue.

github-actions[bot] avatar Aug 12 '25 03:08 github-actions[bot]