hyzp_ybqx-Commit163:版本号更新为version: 1.4.33+20220515。升级插件到自定义的my_flutter_superplayer 0.0.3,能够正常播放点位视频

This commit is contained in:
WinUser01
2022-05-13 10:17:30 +08:00
parent 138ece6fc6
commit 1915dbdcd2
25 changed files with 358 additions and 370 deletions
@@ -38,9 +38,6 @@ android {
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
// ndk {
// abiFilters "armeabi-v7a"
// }
}
buildTypes {
@@ -18,12 +18,17 @@ PODS:
- flutter_superplayer (0.0.1):
- Flutter
- flutter_superplayer/SuperPlayer_Professional (= 0.0.1)
- SDWebImage (~> 5.0)
- flutter_superplayer/SuperPlayer_Professional (0.0.1):
- AFNetworking (~> 4.0)
- Flutter
- Masonry
- SDWebImage (~> 5.0)
- TXLiteAVSDK_Professional
- Masonry (1.1.0)
- SDWebImage (5.11.1):
- SDWebImage/Core (= 5.11.1)
- SDWebImage/Core (5.11.1)
- TXLiteAVSDK_Professional (8.5.10022)
DEPENDENCIES:
@@ -34,6 +39,7 @@ SPEC REPOS:
trunk:
- AFNetworking
- Masonry
- SDWebImage
- TXLiteAVSDK_Professional
EXTERNAL SOURCES:
@@ -45,8 +51,9 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
flutter_superplayer: 50d64a438d4e917295d7c8d8124bcc239f323dad
flutter_superplayer: d776c28859e3e6c17821ab7973c1fd374f4f546f
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
TXLiteAVSDK_Professional: 165018e2f0570d2608d7ea2b785fc273558f9920
PODFILE CHECKSUM: b1f7a399522c118a74b177b13c01eca692aa7e6d
@@ -22,6 +22,11 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
@@ -1,220 +1,102 @@
///App.Car_Dwinfo.GetList 获取分页列表数据
Map mapDwinfo = {
Map mapDwinfoXwx = {
"ret": 200,
"data": {
"items": [
{
"id": 1,
"dwip": "172.16.3.1",
"dwmc": "锦绣花园",
"dwbh": 1,
"dwinfo": "振兴大道锦绣花园附近",
"dwzb": "104.607091|28.807061",
"dwms": "振兴大道锦绣花园附近,识别孜岩、红坝路入城排放黑烟车辆",
"id": 21,
"dwip": "172.16.3.21",
"dwmc": "大礼村",
"dwbh": 21,
"dwinfo": "兴文大礼村附近",
"dwzb": "105.270298|28.285956",
"dwms": "大礼村附近,抓拍自泸州叙永县方向入城黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320001012_34020000001320001012",
"video13": "/rtp/gb_play_34020000001320001014_34020000001320001014",
"video14": "/rtp/gb_play_34020000001320001013_34020000001320001013",
"video15": "/rtp/gb_play_34020000001320001015_34020000001320001015",
"video16": "/rtp/gb_play_34020000001320001016_34020000001320001016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 2,
"dwip": "172.16.3.2",
"dwmc": "石马溪桥",
"dwbh": 2,
"dwinfo": "宜飞路石马溪大桥附近",
"dwzb": "104.589904|28.787078",
"dwms": "宜飞路石马溪大桥附近,识别屏山、菜坝入城排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320002012_34020000001320002012",
"video13": "/rtp/gb_play_34020000001320002013_34020000001320002013",
"video12": "/rtp/gb_play_34020000001320021012_34020000001320021012",
"video13": "/rtp/gb_play_34020000001320021013_34020000001320021013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320002016_34020000001320002016",
"play_urlhead": "rtmp://125.64.218.67:9901"
"video16": "/rtp/gb_play_34020000001320021016_34020000001320021016",
"play_urlhead": "rtmp://125.64.218.67:9901",
"qxdm": "511528",
"qxmc": "兴文县"
},
{
"id": 3,
"dwip": "172.16.3.3",
"dwmc": "森林小区",
"dwbh": 3,
"dwinfo": "岷江南路森林小区附近",
"dwzb": "104.603919|28.765568",
"dwms": "岷江南路森林小区附近,识别宜宾市翠屏南收费站出城排放黑烟车辆",
"id": 22,
"dwip": "172.16.3.22",
"dwmc": "石海收费站",
"dwbh": 22,
"dwinfo": "兴文石海收费站附近",
"dwzb": "105.250612|28.288194",
"dwms": "石海收费站附近,抓拍自古宜高速入城黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320003012_34020000001320003012",
"video13": "/rtp/gb_play_34020000001320003013_34020000001320003013",
"video12": "/rtp/gb_play_34020000001320022012_34020000001320022012",
"video13": "/rtp/gb_play_34020000001320022013_34020000001320022013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320003016_34020000001320003016",
"play_urlhead": "rtmp://125.64.218.67:9901"
"video16": "/rtp/gb_play_34020000001320022016_34020000001320022016",
"play_urlhead": "rtmp://125.64.218.67:9901",
"qxdm": "511528",
"qxmc": "兴文县"
},
{
"id": 4,
"dwip": "172.16.3.4",
"dwmc": "南山星城",
"dwbh": 4,
"dwinfo": "一曼路南山星城南区附近",
"dwzb": "104.556797|28.718901",
"dwms": "一曼路南山星城南区附近,识别进入叙州区新城区排放黑烟车辆",
"id": 23,
"dwip": "172.16.3.23",
"dwmc": "高铁站",
"dwbh": 23,
"dwinfo": "兴文高铁站附近",
"dwzb": "105.237865|28.336993",
"dwms": "高铁站附近,抓拍自泸州纳溪区方向入城黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320004012_34020000001320004012",
"video13": "/rtp/gb_play_34020000001320004013_34020000001320004013",
"video12": "/rtp/gb_play_34020000001320023012_34020000001320023012",
"video13": "/rtp/gb_play_34020000001320023013_34020000001320023013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320004016_34020000001320004016",
"play_urlhead": "rtmp://125.64.218.67:9901"
"video16": "/rtp/gb_play_34020000001320023016_34020000001320023016",
"play_urlhead": "rtmp://125.64.218.67:9901",
"qxdm": "511528",
"qxmc": "兴文县"
},
{
"id": 5,
"dwip": "172.16.3.5",
"dwmc": "育才学校",
"dwbh": 5,
"dwinfo": "陵园路宜宾市翠屏育才学校附近",
"dwzb": "104.533476|28.699059",
"dwms": "陵园路宜宾市翠屏育才学校附近,识别叙州区老城区出城车辆排放黑烟",
"id": 24,
"dwip": "172.16.3.24",
"dwmc": "温水溪",
"dwbh": 24,
"dwinfo": "兴文温水溪加油站附近",
"dwzb": "105.246183|28.286743",
"dwms": "温水溪加油站附近,抓拍自云南威信县方向入城黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320005012_34020000001320005012",
"video13": "/rtp/gb_play_34020000001320005013_34020000001320005013",
"video12": "/rtp/gb_play_34020000001320024012_34020000001320024012",
"video13": "/rtp/gb_play_34020000001320024013_34020000001320024013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320005016_34020000001320005016",
"play_urlhead": "rtmp://125.64.218.67:9901"
"video16": "/rtp/gb_play_34020000001320024016_34020000001320024016",
"play_urlhead": "rtmp://125.64.218.67:9901",
"qxdm": "511528",
"qxmc": "兴文县"
},
{
"id": 6,
"dwip": "172.16.3.6",
"dwmc": "七星花园",
"dwbh": 6,
"dwinfo": "七星路东段七星花园小区附近",
"dwzb": "104.662376|28.755488",
"dwms": "七星路东段七星花园小区附近,识别高县入城排放黑烟车辆",
"id": 25,
"dwip": "172.16.3.25",
"dwmc": "古高路",
"dwbh": 25,
"dwinfo": "兴文古高路骨科医院附近",
"dwzb": "105.197409|28.334767",
"dwms": "古高路骨科医院附近,抓拍自长宁、江安、珙县方向和古宜高速入城黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320006012_34020000001320006012",
"video13": "/rtp/gb_play_34020000001320006013_34020000001320006013",
"video12": "/rtp/gb_play_34020000001320025012_34020000001320025012",
"video13": "/rtp/gb_play_34020000001320025013_34020000001320025013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320006016_34020000001320006016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 7,
"dwip": "172.16.3.7",
"dwmc": "市财政局",
"dwbh": 7,
"dwinfo": "南六路宜宾市翠屏财政局附近",
"dwzb": "104.616581|28.731942",
"dwms": "南六路宜宾市翠屏财政局附近,识别高县入城排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320007012_34020000001320007012",
"video13": "/rtp/gb_play_34020000001320007013_34020000001320007013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320007016_34020000001320007016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 8,
"dwip": "172.16.3.8",
"dwmc": "宜威路",
"dwbh": 8,
"dwinfo": "宜威路7km+800m附近",
"dwzb": "104.687767|28.731159",
"dwms": "宜威路7km+800m附近,识别珙县、筠连入城排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320008012_34020000001320008012",
"video13": "/rtp/gb_play_34020000001320008013_34020000001320008013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320008016_34020000001320008016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 9,
"dwip": "172.16.3.9",
"dwmc": "宜长路",
"dwbh": 9,
"dwinfo": "新宜长路13km+700m附近",
"dwzb": "104.717384|28.763214",
"dwms": "新宜长路13km+700m附近,识别长宁、江安方向排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320009012_34020000001320009012",
"video13": "/rtp/gb_play_34020000001320009013_34020000001320009013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320009016_34020000001320009016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 10,
"dwip": "172.16.3.10",
"dwmc": "临港马家湾",
"dwbh": 10,
"dwinfo": "长江北路四段马家湾附近",
"dwzb": "104.759928|28.816636",
"dwms": "长江北路四段马家湾附近,识别南溪方向入城排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320010012_34020000001320010012",
"video13": "/rtp/gb_play_34020000001320010013_34020000001320010013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320010016_34020000001320010016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 11,
"dwip": "172.16.3.11",
"dwmc": "环城路",
"dwbh": 11,
"dwinfo": "环城路方水中心学校附近",
"dwzb": "104.641112|28.814636",
"dwms": "环城路方水中心学校附近,识别自观斗山隧道入城排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320011012_34020000001320011012",
"video13": "/rtp/gb_play_34020000001320011013_34020000001320011013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320011016_34020000001320011016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 12,
"dwip": "172.16.3.12",
"dwmc": "陶瓷厂",
"dwbh": 12,
"dwinfo": "S206省道美莲陶瓷厂附近",
"dwzb": "104.63116|28.804407",
"dwms": "S206省道美莲陶瓷厂附近,识别省道206入城排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320012012_34020000001320012012",
"video13": "/rtp/gb_play_34020000001320012013_34020000001320012013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320012016_34020000001320012016",
"play_urlhead": "rtmp://125.64.218.67:9901"
},
{
"id": 13,
"dwip": "172.16.3.13",
"dwmc": "鑫菁英",
"dwbh": 13,
"dwinfo": "外江路鑫菁英小区附近",
"dwzb": "104.623547|28.74798",
"dwms": "外江路鑫菁英小区附近,识别中坝大桥往高铁站排放黑烟车辆",
"dwzt": "正常",
"video12": "/rtp/gb_play_34020000001320013012_34020000001320013012",
"video13": "/rtp/gb_play_34020000001320013013_34020000001320013013",
"video14": null,
"video15": null,
"video16": "/rtp/gb_play_34020000001320013016_34020000001320013016",
"play_urlhead": "rtmp://125.64.218.67:9901"
"video16": "/rtp/gb_play_34020000001320025016_34020000001320025016",
"play_urlhead": "rtmp://125.64.218.67:9901",
"qxdm": "511528",
"qxmc": "兴文县"
}
],
"total": 13,
"total": 5,
"page": 1,
"perpage": 20
"perpage": 19
},
"msg": ""
};
@@ -2,7 +2,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'superplayer_home.dart';
//import 'tc_player.dart';
import 'data_file.dart';
void main() {
@@ -71,21 +70,9 @@ class _HomePageState extends State<HomePage> {
}
Future getListButton() async {
List listDw = mapDwinfo['data']['items'];
List<Widget> _listButton = [];
_listButton.addAll([
getPlayUrl(
'http://www.yibinu.edu.cn/__local/5/35/DF/264049B7E978EEE2F5849688986_05D4A6FE_152CDB8C.mp4?e=.mp4',
'yibinu'),
getPlayUrl('https://yongling8808.github.io/test/video/movie/movie.mp4', '网络视频'),
getPlayUrl(
'http://125.64.218.67:9908/video/2_6063_20210410_155327_川QKK380.mp4', '违章视频-川QKK380'),
getPlayUrl(
'http://125.64.218.67:9908/video/2_6063_20210409_140608_川Q31715.mp4', '违章视频-川Q31715'),
]);
for (Map item in listDw) {
for (Map item in mapDwinfoXwx['data']['items']) {
_listButton.add(
getPlayUrl(item["play_urlhead"] + item["video16"], '${item["dwbh"]}.' + item["dwmc"]));
}
@@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.2"
version: "0.0.3"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -1,27 +1,27 @@
// // This is a basic Flutter widget test.
// //
// // To perform an interaction with a widget in your test, use the WidgetTester
// // utility that Flutter provides. For example, you can send tap and scroll
// // gestures. You can also use WidgetTester to find child widgets in the widget
// // tree, read text, and verify that the values of widget properties are correct.
//
// import 'package:flutter/material.dart';
// import 'package:flutter_test/flutter_test.dart';
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
// import 'package:flutter_superplayer_example/main.dart';
//
// void main() {
// testWidgets('Verify Platform version', (WidgetTester tester) async {
// // Build our app and trigger a frame.
// await tester.pumpWidget(MyApp());
//
// // Verify that platform version is retrieved.
// expect(
// find.byWidgetPredicate(
// (Widget widget) => widget is Text &&
// widget.data.startsWith('Running on:'),
// ),
// findsOneWidget,
// );
// });
// }
void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
// Build our app and trigger a frame.
// await tester.pumpWidget(MyApp());
// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate(
(Widget widget) => widget is Text &&
widget.data.startsWith('Running on:'),
),
findsOneWidget,
);
});
}