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

请教下访问服务器的视频资源,需要token的,怎么设置header呢? #14

Open
16954655 opened this issue Apr 29, 2022 · 2 comments

Comments

@16954655
Copy link

public VlcPlayer(@nonnull Context context){
mContext = context.getApplicationContext();
LibVLC libVLC = new LibVLC(context);
libVLC.setUserAgent("token","asdaasdfafasdfasfdasfa");
mMediaPlayer = new MediaPlayer(libVLC);
initHandlerThread();
}
这样子设置无效

@mengzhidaren
Copy link
Owner

https://code.videolan.org/videolan/vlc-android issues list 里面有

@16954655
Copy link
Author

16954655 commented May 30, 2022 via email

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

No branches or pull requests

2 participants