How to disable DVR/Buffering in VLC's ActiveX object (timeshifting)
Posted: 30 Sep 2016 15:06
I'm using the VLC ActiveX object to display a RTSP stream from a IP camera to a webpage. It is important the stream stay's live and does not show "past data". The player has a pause button and some other controls shown on the bottom of the player. If you press pause, the video stream pauses and the streaming video is buffer similar to the function of a DVR. When you hit play again, it starts playing the video back from the time you pressed pause and is now showing the stream but displaying data that is old. I would like it to always stay live. I have set the "controls" parameter to false....
This has removed the pause button and controls from the native ActiveX object size which is great but if you double click on the object to make the video full screen (which I need in this application), the controls come back. In the player itself (exe) I have unchecked the Tools->Preferences->Interface->Show controls in full screen mode. This disables the control bar when using the exe but does not seem to apply to the ActiveX object.
I am using IE wrapped in a C++ VCL application. Any other way to display RTSP streams in a VCL application would be a good workaround as well.
Any ideas how to hide the controls on the ActiveX object in full screen mode and/or disable the buffering when paused?
Here is how I'm embedded the object into my browser...
Installed VLC version is 2.2.4.
After some investigation I found that in my C:\Users\Administrator\App Data\Local\Temp directory that VLC is creating files and buffering the data to them. They are are labeled vlc-timeshift.XXXXXX. I can't seem to find a way to disable timeshifting in the preferences. In Input Codecs I can change the file granularity or the path (the path change doesn't seem to change the location of the timeshift files when using the ActiveX object). Any ideas how to disable this? This application is viewing a live webcam and the stream staying live is paramount.
Thanks!
Code: Select all
<param name="controls" value="False" />
I am using IE wrapped in a C++ VCL application. Any other way to display RTSP streams in a VCL application would be a good workaround as well.
Any ideas how to hide the controls on the ActiveX object in full screen mode and/or disable the buffering when paused?
Here is how I'm embedded the object into my browser...
Code: Select all
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
width="1024"
height="768"
id="vlcPlayer1"
name="vlcPlayer1"
class="vlcPlayer"
events="True">
<param name="Src" value="rtsp://192.168.0.24"/>
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<param name="branding" value="False" />
<param name="control" value="False" />
</object>
After some investigation I found that in my C:\Users\Administrator\App Data\Local\Temp directory that VLC is creating files and buffering the data to them. They are are labeled vlc-timeshift.XXXXXX. I can't seem to find a way to disable timeshifting in the preferences. In Input Codecs I can change the file granularity or the path (the path change doesn't seem to change the location of the timeshift files when using the ActiveX object). Any ideas how to disable this? This application is viewing a live webcam and the stream staying live is paramount.
Thanks!