I have This Link
http://51.159.3.14:8081/live/FILMAKSION/playlist.m3u8 And i want to play it inside my android app. It only supports single links who are entered from a panel. anyone has any idea how i can play the links with user agent please
Please check the official Exoplayer Demo because there you have this method that I think is what you want customize:
public HttpDataSource.Factory buildHttpDataSourceFactory() {
return new DefaultHttpDataSourceFactory(userAgent);
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.