如何修改VLC中默认的User agent

修改vlc/lib/core.c文件中libvlc_set_user_agent方法

设置默认User agent

[[VLCLibrary sharedLibrary] setHumanReadableName:@"TVPlayer 1.2.3" withHTTPUserAgent:@"TVPlayer/1.0.1 "];

 

猜你喜欢

转载自yanwt.iteye.com/blog/2169296