AndroidManifest.xml文件发出警告-
Attribute hardwareAccelerated is only used in API level 11 and higher(current min is 1)
Attribute windowSoftInputMode is only used in API level 3 and higher(current min is 1)
Run Code Online (Sandbox Code Playgroud)
和
Should set android:versionCode to specify the application version
Should set android:versionName to specify the application version
Run Code Online (Sandbox Code Playgroud)
也
App is not indexable by Google Search;
Run Code Online (Sandbox Code Playgroud)
当app / build.gradle文件读取时-
compileSdkVersion 28
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger() // 1
versionName flutterVersionName // '1.0'
Run Code Online (Sandbox Code Playgroud)
这些警告是最近开始发生的,没有任何新的升级。我较早的flutter项目从未遇到过这些警告,并且仍然可以正常工作。
我尝试过的事情:
解决警告的原因:
<uses-sdk android:minSdkVersion="16" …Run Code Online (Sandbox Code Playgroud) android android-manifest build.gradle android-min-sdk flutter
我想从一个源(ffmpeg)直播到我使用mkvserver 的多个客户端。我可以将网络摄像头从ffmpeg(客户端)实时流式传输到mkvserver(服务器),如下所示:
在服务器上:
nc -l <port-number> | ./server
Run Code Online (Sandbox Code Playgroud)
在客户端:
ffmpeg -f avfoundation -framerate 30 -i 0 -b 900k -f matroska -r 20 tcp://<ip-address>:<port-number>
Run Code Online (Sandbox Code Playgroud)
要查看服务器上的生成蒸汽,我使用了ffplay:
ffplay tcp://<ip-address>:<port>
Run Code Online (Sandbox Code Playgroud)
但我得到了Connection timed out error. 请建议一种通过ffplay. 谢谢!