gpt4 book ai didi

ios - 如何给vlcMobilePlayer添加请求头?

转载 作者:行者123 更新时间:2023-11-29 05:53:57 24 4
gpt4 key购买 nike

我正在使用 MobileVLCKit 播放流媒体视频,并且可以通过 URL 播放视频。
但是,如何播放带有一些特殊标题的视频?
就像发送 HTTP 请求一样。

最佳答案

来自https://wiki.videolan.org/VLC_command-line_help/

HTTPS input (access)
--http-continuous, --no-http-continuous
Continuous stream
(default disabled)
Keep reading a resource that keeps being updated.
--http-forward-cookies, --no-http-forward-cookies
Cookies forwarding
(default enabled)
Forward cookies across HTTP redirections.
--http-referrer=<string> Referrer
Provide the referral URL, i.e. HTTP "Referer" (sic).
--http-user-agent=<string> User agent
Override the name and version of the application as provided to the
HTTP server, i.e. the HTTP "User-Agent". Name and version must be
separated by a forward slash, e.g. "FooBar/1.2.3".

在调用相当于 libvlc_new 的 MobileVLCKit 时,您可以通过 MobileVLCKit 向 libvlc 提供这些 CLI 参数。

关于ios - 如何给vlcMobilePlayer添加请求头?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55372079/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com