zhuguohui / videodemo Goto Github PK
View Code? Open in Web Editor NEW视频播放技术汇总
视频播放技术汇总
1.activity销毁时;Activity的静态变量是存在的,因为静态变量是属全局变量、静态变量是整个应用程序的公共变量 内存泄露上有没有考虑下
2.空指针的问题,很多static修饰的对象,并没有初始化,==null,有没有试过打一个比较长点的电话,再回到播放页面,是否直接闪退?
static应该不建议直接用来修饰 activity,context,view,或者未初始化的对象
如:static A a;static A a = null;//这种 做法很危险,会出现空指针异常,VideoItem,
static A a = new A();//这种做法是可以的,
每个的视频播放的url,无法播放,放到电脑上也无法打开
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.