I have a problem with the recording function of the VLC ActivX plugins in VB.NET
RTP streams can be played normally without any problems, but the recording function does not work.
I have solved the recording function as follows:
Code: Select all
AxVLCPlugin21.playlist.items.clear()
Dim Options() As String = {"--sout""#duplicate{dst=display,dst=std{access=file,mux=ps,dst=\""C:\\test.avi\""}}"}
AxVLCPlugin21.playlist.add(CurrentStream, Nothing, Options)
AxVLCPlugin21.playlist.next()
AxVLCPlugin21.playlist.play()