add VLC link
This commit is contained in:
@@ -60,12 +60,15 @@ namespace robospot_camera_finder
|
||||
cam_ip = ip;
|
||||
this.Text = name;
|
||||
|
||||
string rtsp_link = "rtsp://" + ip + "/profile2/media.smp";
|
||||
|
||||
updateZoomSlider();
|
||||
|
||||
tbSerial.Text = camera.camera_serial;
|
||||
tbRtspLink.Text = rtsp_link;
|
||||
|
||||
videoView.MediaPlayer = _mp;
|
||||
var media = new Media(_libVLC, new Uri("rtsp://" + ip + "/profile2/media.smp"));
|
||||
var media = new Media(_libVLC, new Uri(rtsp_link));
|
||||
media.AddOption(":network-caching=25");
|
||||
_mp.Play(media);
|
||||
media.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user