简体   繁体   English

无法在 Flutter 视频播放器中播放 IPTV 频道

[英]Can't able to play IPTV channel in Flutter Video Player

I have made a flutter video player app and want to play IPTV channel in the app.我制作了一个 flutter 视频播放器应用程序,并想在应用程序中播放 IPTV 频道。 The player is playing some online videos successfully but it is not able to run the link of IPTV.播放器正在成功播放一些在线视频,但无法运行 IPTV 的链接。 I have a paid IPTV m3u playlist file.我有一个付费的 IPTV m3u 播放列表文件。 I want to play the specific channel of the list in the video player.我想在视频播放器中播放列表的特定频道。 I have extracted the link from the m3u file and pasted in the player but its not working.我已经从 m3u 文件中提取了链接并粘贴到播放器中,但它不起作用。 The link is looks like this( http://ottbest.net:80/940F4D6ACD4F/4A30606C8931/83137 ).链接看起来像这样( http://ottbest.net:80/940F4D6ACD4F/4A30606C8931/83137 )。 This link is running successfully in VLC and MX Player.此链接在 VLC 和 MX Player 中成功运行。

First extract your m3u playlist to dart object using m3u_nullsafe package.首先使用 m3u_nullsafe package 将您的 m3u 播放列表提取到dart object。 Then, you can use Flutter_vlc_player to play m3u videos然后,就可以使用Flutter_vlc_player播放 m3u 视频了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM