Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Displaying DirectX (SharpDX.Windows.RenderForm) within a WPF appication

$
0
0

We try to display a live stream of an rtsp camera within a WPF application. Performance is critical in our application, and we try to display a directX window within the WPF application.

My code looks as following:

fn =@"rtsp://192.168.4.104:554/stream0";//Camera urlvar player =Player.Create(fn);

enter image description here

The constructor of the player looks as following:

enter image description here

and the play method of the player looks as following:

enter image description here

Remember that the form data member is of type:

enter image description here

The result when I run the program is the following SharpDX window that indeed displays the live stream of the rtsp camera:

enter image description here

Now, what I want to do is to assimilate the directX (SharpDX.Windows.RenderForm) within my WPF appication. I'm looking forward to your suggestions. Thank you!


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>