Merge branch 'release_sky' into 'master_sky'

Release sky

See merge request StarlockTeam/app-starlock!185
This commit is contained in:
李仪 2025-06-26 02:03:19 +00:00
commit d01bcf2d5b
3 changed files with 23 additions and 20 deletions

View File

@ -239,25 +239,27 @@ class StartChartManage {
// udp
Future<void> _onlineRelayService() async {
var addressIListenFrom = InternetAddress.anyIPv4;
RawDatagramSocket.bind(addressIListenFrom, localPort)
await RawDatagramSocket.bind(addressIListenFrom, localPort)
.then((RawDatagramSocket socket) {
// (SO_RCVBUF = 8)
socket.setRawOption(
RawSocketOption.fromInt(
RawSocketOption.levelSocket,
8, // SO_RCVBUF for Android/iOS
2 * 1024 * 1024, // 2MB receive buffer
),
);
if (AppPlatform.isAndroid) {
socket.setRawOption(
RawSocketOption.fromInt(
RawSocketOption.levelSocket,
8, // SO_RCVBUF for Android/iOS
2 * 1024 * 1024, // 2MB receive buffer
),
);
// (SO_SNDBUF = 7)
socket.setRawOption(
RawSocketOption.fromInt(
RawSocketOption.levelSocket,
7, // SO_SNDBUF for Android/iOS
2 * 1024 * 1024, // 2MB send buffer
),
);
// (SO_SNDBUF = 7)
socket.setRawOption(
RawSocketOption.fromInt(
RawSocketOption.levelSocket,
7, // SO_SNDBUF for Android/iOS
2 * 1024 * 1024, // 2MB send buffer
),
);
}
_udpSocket = socket;

View File

@ -106,9 +106,9 @@ class TalkViewNativeDecodeLogic extends BaseGetXController {
state.isLoading.value = true;
//
final config = VideoDecoderConfig(
width: StartChartManage().videoWidth,
width: 864,
//
height: StartChartManage().videoHeight,
height: 480,
codecType: 'h264',
);
// textureId

View File

@ -130,7 +130,7 @@ dependencies:
video_decode_plugin:
git:
url: git@code.star-lock.cn:liyi/video_decode_plugin.git
ref: 5dfbd190fdc61dab3fc93543606b85d6b826a2ed
ref: bedb692484c9273f13b8bcb9723e86f56076183a
flutter_localizations:
sdk: flutter
@ -182,7 +182,8 @@ dependencies:
#菊花
flutter_easyloading: ^3.0.5
#图形验证码
aj_captcha_flutter: ^0.0.1
# aj_captcha_flutter: ^0.0.1
asn1lib: ^1.6.5
#国家选择
azlistview: ^2.0.0
common_utils: ^2.0.0