Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CloudClass_iOS_Module_SDK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CCVideo
  • CloudClass_iOS_Module_SDK
  • Wiki
  • 白板与文档

Last edited by liguanpei Jul 16, 2018
Page history

白板与文档

[TOC]

白板与文档组件

1. 白板与文档组件

白板与文档组件的核心类是CCDocViewManager;

//在工程需要的地方引入头文件
#import <CCDocLibrary/CCDocLibrary.h>

//1、类的实例化
- (CCDocVideoView *)ccVideoView
{
    if (!_ccVideoView) {
        CGRect frame = CGRectMake(0, 0, 200, 100);
        _ccVideoView = [[CCDocVideoView alloc]initWithFrame:frame];
        [_ccVideoView addObserverNotify];
    }
    return _ccVideoView;
}
//2、与BaseSDK建立联系
- (void)addBasicClient:(CCStreamerBasic *)basic;

2. 开始加载内容

进入房间成功后调用

- (void)startDocView;
Clone repository
  • Home
  • iOS 合规指南 云课堂
  • 基础版SDK
  • 排麦组件
  • 白板与文档
  • 组件集成说明文档
  • 聊天组件