修改vlc/lib/core.c文件中libvlc_set_user_agent方法
设置默认User agent
[[VLCLibrary sharedLibrary] setHumanReadableName:@"TVPlayer 1.2.3" withHTTPUserAgent:@"TVPlayer/1.0.1 "];
本文介绍如何修改 VLC 的 core.c 文件来设置默认 User-Agent。通过设置 HumanReadableName 和 HTTPUserAgent,可以实现对 VLC 应用程序标识的自定义。
修改vlc/lib/core.c文件中libvlc_set_user_agent方法
设置默认User agent
[[VLCLibrary sharedLibrary] setHumanReadableName:@"TVPlayer 1.2.3" withHTTPUserAgent:@"TVPlayer/1.0.1 "];
8697

被折叠的 条评论
为什么被折叠?