Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpHeaders not supported #749

Open
rzilat opened this issue Sep 20, 2024 · 9 comments
Open

httpHeaders not supported #749

rzilat opened this issue Sep 20, 2024 · 9 comments
Assignees

Comments

@rzilat
Copy link

rzilat commented Sep 20, 2024

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
Copy link
Member

JSUYA commented Sep 20, 2024

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 JSUYA self-assigned this Sep 20, 2024
@JSUYA
Copy link
Member

JSUYA commented Sep 24, 2024

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

@rzilat
Copy link
Author

rzilat commented Sep 24, 2024 via email

@JSUYA
Copy link
Member

JSUYA commented Sep 24, 2024

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
Copy link
Author

rzilat commented Sep 24, 2024 via email

@JSUYA
Copy link
Member

JSUYA commented Sep 24, 2024

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants