注册

iOS 集成环信3.0 remoteView已经添加上去了 但是没图像

iOS  集成环信3.0 remoteView已经添加上去了 但是没图像
localView 有图像  给了remoteView 背景色都能看到添加上去了

 //1.对方窗口
    _callSession.remoteView = [[EMCallRemoteView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.height * 288 / 352, self.view.frame.size.height)];
    _callSession.remoteView.backgroundColor=[UIColor orangeColor];
    [self.view addSubview:_callSession.remoteView];
    
    //2.自己窗口
    CGFloat width = 80;
    CGFloat height = self.view.frame.size.height / self.view.frame.size.width * width;
    _callSession.localView = [[EMCallLocalView alloc] initWithFrame:CGRectMake(self.view.frame.size.width - 90, 20, width, height)];
    _callSession.localView.backgroundColor=[UIColor redColor];
    [self.view addSubview:_callSession.localView];

 
已邀请:
发起实时音视频的通知多次监听或没有在dealloc中移除

要回复问题请先登录注册