Page 1 of 1

Delphi libVLC hiding RTSP on change dock type in TdxDockPanel at runtime

Posted: 28 Apr 2021 12:40
by woolfik
Hi guys.

It is my first question on this forum so sorry if I do it something not right.

I have made an application where are two forms. The first one is the Main form, the second is normal TForm with TPanel, and this panel displays the RTSP stream from the web camera by the VideoLanClient library. This works fine but … Instead of normal TPanel on the main form I have added TdxDockSite and TdxDockPanel from DevExpress package. It works fine until the user changes the docking type in runtime. Then the RTSP stream has disappeared. I don't know what is going on because when I have run TForm.Hide and TForm.Show programmable then this RTSP stream works fine. Even if I have resize TdxDockPanel in runtime it works. The problem is only on manual changing docking in runtime. In compiler I have seen such info when I have move mouse over panel:

Code: Select all

Debug Output: drawable window warning: unsupported control query 3 Debug Output: main vout display debug: auto hiding mouse cursor

Re: Delphi libVLC hiding RTSP on change dock type in TdxDockPanel at runtime

Posted: 05 May 2021 13:03
by woolfik
Problem solved.

When I change docikin in TdxDockPanel then TPanel.Handle is changing so I need to check TPanel.Handle on docking change.