mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-08-28 06:25:23 +08:00
[fix] keep display stream IDs stable after monitor changes
This commit is contained in:
@@ -15,6 +15,8 @@ namespace crossdesk {
|
||||
|
||||
class ScreenCapturer {
|
||||
public:
|
||||
// The final callback argument is a logical MiniRTC stream ID (DisplayN),
|
||||
// not a platform display name or physical handle.
|
||||
typedef std::function<void(unsigned char*, int, int, int, const char*)>
|
||||
cb_desktop_data;
|
||||
|
||||
@@ -34,4 +36,4 @@ class ScreenCapturer {
|
||||
virtual int ResetToInitialMonitor() = 0;
|
||||
};
|
||||
} // namespace crossdesk
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user