七牛连麦接入
2017-07-26 本文已影响68人
40dd4b561abe
1.添加podfile文件

2.plplayerkit需要自己手动导入,其中libssl.a,libcrypto.a有重复,自己搜索一下,去重复

3.添加图文件

4.调用连麦
这几个值都是在自己后台获取

5.搜索PLMediaViewerViewController.m文件中的
self.roomName 删除提示让自己获取的地方,应该就两处,上面有#好说明,
6.在PLMediaViewerViewController.h 添加
@property (nonatomic, strong) NSString *roomName;
@property (nonatomic, strong) NSString * roomToken;
@property (nonatomic, strong) NSString * userID;
同时删除PLMediaViewerViewController.m的定义
7.拉流地址,自己搞定就好,这个可以自己的后台获取
