FLV格式非常简单,头信息数据量很少,适合网络传输,因此被广泛的应用。
1 | h264 NALU: 0x00 00 00 01 | nalu_type(1字节)| nalu_data (N 字节) | 0x00 00 00 01 | ... |
id is a special keyword used in Objective-C to mean “some kind of object.” It does not contain isa pointer(isa, gives the object access to its class and, through the class, to all the classes it inherits from), So you lose compile-time information about the object.
注意点:
1、先创建静态工程 .a工程 比如说目录是
~/testlib
2、在.a工程目录下创建demo路径并且创建demo工程。目录是:
~/testlib/demo/testlibdemo
3、打开demo工程,把静态库工程拖进demo工程。设置