mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: live room
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -87,11 +87,11 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
WidgetsBinding.instance.removeObserver(this);
|
||||
ScreenBrightness().resetApplicationScreenBrightness();
|
||||
PlPlayerController.setPlayCallBack(null);
|
||||
_liveRoomController.msgStream?.close();
|
||||
floating?.dispose();
|
||||
_node.dispose();
|
||||
plPlayerController.dispose();
|
||||
_ctr.dispose();
|
||||
_liveRoomController.msgStream?.close();
|
||||
_liveRoomController.scrollController.removeListener(() {});
|
||||
_liveRoomController.scrollController.dispose();
|
||||
super.dispose();
|
||||
@@ -306,10 +306,10 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
onPopInvokedWithResult: (bool didPop, Object? result) {
|
||||
if (plPlayerController.isFullScreen.value == true) {
|
||||
plPlayerController.triggerFullScreen(status: false);
|
||||
}
|
||||
if (MediaQuery.of(context).orientation ==
|
||||
Orientation.landscape) {
|
||||
verticalScreenForTwoSeconds();
|
||||
if (MediaQuery.of(context).orientation ==
|
||||
Orientation.landscape) {
|
||||
verticalScreenForTwoSeconds();
|
||||
}
|
||||
}
|
||||
},
|
||||
child: Listener(
|
||||
|
||||
@@ -184,8 +184,8 @@ class LiveMessageStream {
|
||||
),
|
||||
);
|
||||
|
||||
final marshaledData = authPackage.marshal();
|
||||
logger.d(marshaledData);
|
||||
// final marshaledData = authPackage.marshal();
|
||||
// logger.d(marshaledData);
|
||||
try {
|
||||
Future<WebSocket> getSocket() async {
|
||||
for (final server in servers) {
|
||||
|
||||
Reference in New Issue
Block a user