第31月第10天 tableview头部空白 Other Linker Flags rtmp

1.ios10 tableview头部空白

if (@available(iOS 11.0, *)) {
            self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
 }else {
            self.automaticallyAdjustsScrollViewInsets = NO;
}

https://www.jianshu.com/p/7eea417275af

2.

  1. 如果没有使用pod管理第三方库的话,请在Build Setting >Linking > Other Linker Flags 上面加入 –ObjC 选项。如果用了pod请忽略,因为pod会自动添加上。

http://ai.baidu.com/docs#/FaceSDK-Collect-WithLiveness-iOS/top

3.rtmp

publish 流程

不同客户端publish的流程不一定完全一样,以ffmpeg推流为例。

首先客户端和服务器进行rtmp握手。握手之后客户端发送connect命令,并等待服务器响应。当获取服务器响应之后,发送releaseStream、FCPublish、createStream三个命令,并等待服务器响应。之后发送publish命令,获取服务器响应后就可以发送媒体数据了。

https://blog.csdn.net/cnhk1225/article/details/54729686

https://github.com/zhenfei2016/FFLv2-srsrtmp

https://blog.csdn.net/shangmingyang/article/details/50837852

https://github.com/liuf1986/LFRtmp

原文地址:https://www.cnblogs.com/javastart/p/10682198.html