c# VLC plugin can't read rtsp-tcp stream
Posted: 31 Mar 2014 16:20
Hello,
the main problem is with reading rtsp stream.
As VLC player (i am using v.2.1.3) has option to change from default HTTP to RTP over RTSP (TCP) : Tools-> Preferences -> Input/Codecs -> Live555 stream transport. But i need to activate RTP over RTSP in plugin. I suppose it should be something like
vlc.setVariable("--rtsp-tcp", 1);
but it never worked - throw exception:
COMException,
message is: Error HRESULT E_FAIL has been returned from a call to a COM component;
Source : Interop.AXVLC
StackTrace: at AXVLC.IVLCControl.setVariable(String name, Object value)
at AxAXVLC.AxVLCPlugin.setVariable(String name, Object value)
Are there any suggestion how to configure plugin in oreder axvcl.dll could perform in the same way as VLC player with option rtsp-tcp (this parameter was taken from vlcrc file).
Thank you, in advance.
Andreisem7
the main problem is with reading rtsp stream.
As VLC player (i am using v.2.1.3) has option to change from default HTTP to RTP over RTSP (TCP) : Tools-> Preferences -> Input/Codecs -> Live555 stream transport. But i need to activate RTP over RTSP in plugin. I suppose it should be something like
vlc.setVariable("--rtsp-tcp", 1);
but it never worked - throw exception:
COMException,
message is: Error HRESULT E_FAIL has been returned from a call to a COM component;
Source : Interop.AXVLC
StackTrace: at AXVLC.IVLCControl.setVariable(String name, Object value)
at AxAXVLC.AxVLCPlugin.setVariable(String name, Object value)
Are there any suggestion how to configure plugin in oreder axvcl.dll could perform in the same way as VLC player with option rtsp-tcp (this parameter was taken from vlcrc file).
Thank you, in advance.
Andreisem7