前言 web 端播放rtsp 流,一般都是采用vlc插件,默认是用 UDP 协议播放,这就会存在丢包的可能性,导致界面会变花,要想不花,需要使用更可靠的TCP协议.关于这两种协议的区别,大家可以自行查资料. Web VLC 文档设置 官方文档上面告诉我们设置的方式 ,大家可以查看文档 ,代码如下: var options = new Array(":aspect-ratio=4:3", "--rtsp-tcp"); var id = vlc.playlist.add
去年我们信息之夜我们进行过视频直播服务,当时我们使用了WMS(Windows Media Server)实现了这个服务,但是编码是微软的WMV,因而像iPhone/Android这样的智能手机无法观看,今天我给大家带来一种更简便的实现方式,并帮助所有平台用户都可以观看. 首先介绍一下,今天我们的工具VLC Player. VLC主页:http://www.videolan.org VLC is a free and open source cross-platform multimedia pl
procedure TForm1.SpeedButton1Click(Sender: TObject); var Apoint:TPoint; begin APoint:=TSpeedButton(Sender).ClientToScreen(Point(0,TSpeedButton(Sender).ClientHeight)); PopupMenu1.Popup(Apoint.X,Apoint.Y); end;