Skip to content

LLLaiYoung/RTCChatUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTCChatUI

仿QQ音视频通话效果
这是一个用于做音视频效果的View。

效果图

图片1 图片2 图片3 图片4

还有两个gif效果

效果1 效果2

介绍

头文件中,暴漏了对方的昵称、连接状态、提示信息,是否是被对方挂断、是否已经接听、对方是否开启了摄像头。
暴漏的三个UIImageView分别用于设置头像、视频画面。

示例代码:

 RTCView *presentView; if (sender.tag == 1) { presentView = [[RTCView alloc] initWithIsVideo:NO isCallee:NO]; } else if (sender.tag == 2) { presentView = [[RTCView alloc] initWithIsVideo:YES isCallee:NO]; } else if (sender.tag == 3) { presentView = [[RTCView alloc] initWithIsVideo:NO isCallee:YES]; } else { presentView = [[RTCView alloc] initWithIsVideo:YES isCallee:YES]; } presentView.nickName = @"小萝莉"; presentView.connectText = @"通话时长"; presentView.netTipText = @"对方的网络状况不是很好"; [presentView show]; 

About

仿QQ音视频通话效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Objective-C 100.0%