Hello,
I have VLC 2.1.3 and use Logitech HD Pro Webcam C920.
I tried play stream with RTSP but cannot work. I get information about "failed to open/read to DVD". This code is right? What change in this code?
I have VLC 2.1.3 and use Logitech HD Pro Webcam C920.
I tried play stream with RTSP but cannot work. I get information about "failed to open/read to DVD". This code is right? What change in this code?
Vlc.DotNet.Core.Medias.MediaBase media = new Vlc.DotNet.Core.Medias.PathMedia(":dshow-vdev=USB2.0 Camera :dshow-adev=\"Logitech HD Pro Webcam C920\":live-caching=300");
if (media != null)
{
media.AddOption("#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:#rtp{dst=10.132.15.154,sdp=rtsp://10.132.15.154:8554/usb1}");
VlcControl control = new VlcControl();
control.Media = media;
control.Play();
}