How do I prevent "unsupported control query 3"?
Using VideoLAN.LibVLC.Windows and LibVLCSharp.WinForms NuGet packages to display an RTSP audio/video stream in a WinForms window. It is working but I occasionally see the message unsupported control query 3 in the LibVLC Log event while the stream is playing. I have been unable to find any documentation that explains the "unsupported control query 3" error message or what causes it. Is there anything that I can do in my program so that the event for unsupported control query 3 isn't thrown by LibVLC?
Imports LibVLCSharp.Shared
...
Dim WithEvents VLCLibrary As LibVLC
Dim WithEvents VLCMediaPlayer As MediaPlayer
...
If Not DesignMode Then
Core.Initialize()
End If
VLCLibrary = New LibVLC(False, "")
VLCMediaPlayer = New MediaPlayer(VLCLibrary)
TheViewer.MediaPlayer = VLCMediaPlayer
With TheViewer.MediaPlayer
.Scale = 0 ' Change size of video to match the window
.Volume = 100 ' Full volume
.NetworkCaching = 2000
.EnableHardwareDecoding = True
End With
VLCMediaPlayer.Play(New Media(VLCLibrary, "rtsp://xxx.xxx.xxx.xxx/STREAM", FromType.FromLocation))
...
Private Sub VLCLibrary_Log(sender As Object, e As LogEventArgs) Handles VLCLibrary.Log
Debug.WriteLine($"{Format(Now, "HH:mm:ss.ffff")} {e.Message}")
End Sub
Versions
- .NET Framework 4.8
- VideoLAN.LibVLC.Windows 3.0.16
- LibVLCSharp.WinForms 3.6.6