mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
支持低版本Android
This commit is contained in:
parent
67b70ec8bb
commit
b3c53391f4
@ -38,10 +38,10 @@ public class MainActivity extends AppCompatActivity {
|
||||
if(permissionSuccess){
|
||||
Toast.makeText(this,"你可以修改配置文件再启动:" + sd_dir + "/zlmediakit.ini" ,Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(this,"SSL证书请放置在:" + sd_dir + "/zlmediakit.pem" ,Toast.LENGTH_LONG).show();
|
||||
ZLMediaKit.startDemo(sd_dir);
|
||||
}else{
|
||||
Toast.makeText(this,"请给予我权限,否则无法启动测试!" ,Toast.LENGTH_LONG).show();
|
||||
}
|
||||
ZLMediaKit.startDemo(sd_dir);
|
||||
}
|
||||
|
||||
private ZLMediaKit.MediaPlayer _player;
|
||||
|
Loading…
Reference in New Issue
Block a user