-
Anonymous
Ошибка Flutter mmap: 1 (операция не разрешена)
Сообщение
Anonymous »
Я использую flutter для отображения серии до 9 потоков rstp, но через некоторое время получаю ошибку:
Код: Выделить всё
dependencies:
flutter:
sdk: flutter
flutter_vlc_player: ^7.4.2 # To play RTSP streams
media_kit: ^1.1.11 # Primary package
media_kit_video: ^1.2.5 # For video rendering.
media_kit_libs_video: ^1.0.5 # Native video dependencies
Код: Выделить всё
flutter/third_party/dart/runtime/vm/virtual_memory_posix.cc: 69: error: mmap failed: 1 (Operation not permitted)'
eax 00000000 ebx 000052b5 ecx 000052d0 edx 00000006
esi a007f978 edi a007f920
xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
eip abe6a424 ebp a007db08 esp a007daac flags 00000292
Код: Выделить всё
return Scaffold(
appBar: AppBar(title: const Text('Video Grid')),
body: Center(
child: Wrap(
alignment: WrapAlignment.center,
spacing: 0,
runSpacing: 0,
children: List.generate(controllers.length, (index) {
return FutureBuilder(
future: Future.delayed(Duration(seconds: index)),
builder: (context, snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
return SizedBox(
width: videoWidth,
height: videoHeight,
child: Video(
filterQuality: FilterQuality.medium,
controller: controllers[index],
fit: BoxFit.contain,
),
);
} else {
return SizedBox(
width: videoWidth,
height: videoHeight,
child: Center(child: CircularProgressIndicator()),
);
}
},
);
}),
),
),
);
Может ли кто-нибудь помочь мне с этим решением? Я уже тестировал его с другими пакетами, но выдает ту же ошибку, думаю, это дротик.
Подробнее здесь:
https://stackoverflow.com/questions/793 ... -permitted
1736508101
Anonymous
Я использую flutter для отображения серии до 9 потоков rstp, но через некоторое время получаю ошибку:
[code]dependencies:
flutter:
sdk: flutter
flutter_vlc_player: ^7.4.2 # To play RTSP streams
media_kit: ^1.1.11 # Primary package
media_kit_video: ^1.2.5 # For video rendering.
media_kit_libs_video: ^1.0.5 # Native video dependencies
[/code]
[code]flutter/third_party/dart/runtime/vm/virtual_memory_posix.cc: 69: error: mmap failed: 1 (Operation not permitted)'
eax 00000000 ebx 000052b5 ecx 000052d0 edx 00000006
esi a007f978 edi a007f920
xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
eip abe6a424 ebp a007db08 esp a007daac flags 00000292
[/code]
[code]return Scaffold(
appBar: AppBar(title: const Text('Video Grid')),
body: Center(
child: Wrap(
alignment: WrapAlignment.center,
spacing: 0,
runSpacing: 0,
children: List.generate(controllers.length, (index) {
return FutureBuilder(
future: Future.delayed(Duration(seconds: index)),
builder: (context, snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
return SizedBox(
width: videoWidth,
height: videoHeight,
child: Video(
filterQuality: FilterQuality.medium,
controller: controllers[index],
fit: BoxFit.contain,
),
);
} else {
return SizedBox(
width: videoWidth,
height: videoHeight,
child: Center(child: CircularProgressIndicator()),
);
}
},
);
}),
),
),
);
[/code]
Может ли кто-нибудь помочь мне с этим решением? Я уже тестировал его с другими пакетами, но выдает ту же ошибку, думаю, это дротик.
Подробнее здесь: [url]https://stackoverflow.com/questions/79339173/flutter-mmap-failed-1-operation-not-permitted[/url]