special overlay button "settings" implementation

This commit is contained in:
TrueZhuangjia
2025-01-28 12:09:43 +08:00
parent b7d8889180
commit ef418be2df
4 changed files with 52 additions and 12 deletions
@@ -233,6 +233,12 @@
selector:@selector(sessionDisconnectedBySettingView) //quit session when exit button is press in setting view during streaming
name:@"SessionDisconnectedBySettingsViewNotification"
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(expandSettingsView) // //force expand settings view to update resolution table, and all setting includes current fullscreen resolution will be updated.
name:@"SettingsOverlayButtonPressedNotification"
object:nil];
#endif
}