通过 ubuntu 进行 vlc android 流媒体播放

通过 ubuntu 进行 vlc android 流媒体播放

我曾尝试将视频从我的电脑播放到 Android 应用程序,但 Android 应用程序无法找到 PC vlc。

当我在我的电脑上运行 vlc 时出现此错误:

 vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[00005577d41cb470] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.8 Vetinari
Command Line Interface initialized. Type `help' for help.
> [00005577d41d57b0] [http] lua interface: Lua HTTP interface
[00005577d41d57b0] [http] main interface error: socket bind error: Address already in use
[00005577d40ee570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005577d41e3a20] [telnet] lua interface: Listening on host "telnet://:1234".
[00005577d40f24e0] main playlist: playlist is empty
[00007fa24c7a4890] [http] lua interface: Lua HTTP interface
[00007fa24c7a4890] [http] lua interface error: Error loading script /usr/lib/x86_64-linux-gnu/vlc/lua/intf/http.luac: lua/intf/http.lua:244: Failed to create HTTPd file.


此时我打开了这个端口:

so@so-notebook:~$  netstat -lp |grep vlc
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:1234            0.0.0.0:*               LISTEN      2083/vlc            
tcp6       0      0 [::]:http-alt           [::]:*                  LISTEN      2083/vlc            
tcp6       0      0 [::]:1234               [::]:*                  LISTEN      2083/vlc       

vlc 设置为:

在此处输入图片描述

$HOME/.config/vlc/vlcrc文件就像

此外,应用程序端口也已确定8080,通过是1234并且 IP 由是否配置在PC上输出结果。

那么您认为我应该做什么?

谢谢。

相关内容