[refactor] use MiniRTC APIs for DeskHub media pause controls

This commit is contained in:
dijunkun
2026-10-13 15:39:34 +08:00
parent 3bd0676672
commit de16eb3b92
6 changed files with 41 additions and 23 deletions
+4
View File
@@ -36,6 +36,10 @@ struct PreviewSubscription {
return {0, 60, quality, frame_rate, preference, audio};
}
bool IsNewerThan(const PreviewSubscription &other) const {
return static_cast<int32_t>(request_id - other.request_id) > 0;
}
bool SameSettings(const PreviewSubscription &other) const {
return fps == other.fps && quality == other.quality &&
frame_rate == other.frame_rate &&