wang-bin / QtAV

A cross-platform multimedia framework based on Qt and FFmpeg. 基于Qt和FFmpeg的跨平台高性能音视频播放框架. Recommand to use new sdk https://github.com/wang-bin/mdk-sdk
http://qtav.org
3.94k stars 1.5k forks source link

The problem with playing multiple screens #1416

Open Mangomm opened 2 years ago

Mangomm commented 2 years ago

I have a practical problem with implementing multi-window playback. At the bottom, I use C++ to generate a DLL from my class and provide it to the calling layer to call in C#. C# only needs to provide a handle argument, and C++ uses this handle to play the video, so that when C# creates multiple C++ class objects, it can play multiple Windows. How can I implement this if I use QtAV? Does QtAV support this?

Note, this is the actual application scenario encountered. C++ handles the bottom layer and C# serves as the application layer. It's actually quite common for C++ to generate DLLS for other programming languages to develop, and I'd love to see QtAV support that. Hope to receive your reply, thank you!