[TOC]
**
1) 确定初始化key是否正确。确保没有空格,包名和key需要一一对应。如果更改包名,请重新申请key。(confirm whether the initialization key is correct. Make sure there are no spaces. The package name and key need to correspond one by one. If you change the package name, please apply for the key.)
2) server证书是否添加在Build Phases —>Copy Bundle Resources中。如果仍然报错,请删除证书重新添加。(报错Error Domain的时候)(whether the server certificate is added in Build Phases —>Copy Bundle Resources. If the error is still reported, please delete the certificate and add it again. (when error domain is reported))
3) 关闭手机代理。( turn off the mobile agent)
- 确认MHBeautyManager是否初始化,key是否在有效期(confirm whether the mhbeautymanager is initialized and whether the key is valid)
- 腾讯直播SDK的话需要实现美颜代理方法(Tencent live SDK needs to implement the beauty agent method)
```
- (void)beautyEffectWithLevel:(NSInteger)beauty whitenessLevel:(NSInteger)white ruddinessLevel:(NSInteger)ruddiness {
//用腾讯的美颜
TXBeautyManager *manager = [_pusher getBeautyManager];
[manager setBeautyStyle:TXBeautyStyleSmooth];
[manager setBeautyLevel:beauty];
[manager setWhitenessLevel:white];
[manager setRuddyLevel:ruddiness];
}
```
- 调用MHBeautyManager对美型效果赋值(大眼瘦脸等)时,一定要在下面等方法之后进行(when calling mhbeautymanager to assign the beauty effect (big eyes, thin face, etc.), it must be carried out after the following methods:):
```
[self.beautyManager processWithTexture:texture width:width height:height];
```
- 美狐SDK接入文档
- Meihu SDK Access Document
- (Untitled)
- 一、基础描述(Basic description)
- 1. 最新特性 (Latest features)
- 2. 支持平台 (Support platform)
- 二、集成步骤 (Integration steps)
- 3. 配置工程(Configuration Engineering)
- 4. 使用 MHUI (Use MHUI)
- 5. 腾讯直播 SDK/短视频SDK (Tencent live SDK / short video SDK)
- 6. 金山直播SDK (Jinshan)
- 7. 七牛直播SDK (Qiniu Live)
- 8. 七牛短视频SDK (Qiniu ShortVideo)
- 9. Movieous短视频 (Movieous short Video)
- 10. 即构直播SDK (Zego live)
- 11. 即构实时音视频SDK(Zego Real time audio and video)
- 12. 新版Zego(即构)实时音视频(New Zego Real time audio and video)
- 13. 网易直播 (NetEase live)
- 14. 腾讯互动直播 (Tencent interactive live broadcast)
- 15. 腾讯实时音视频(Tencent real-time audio and video)
- 16. 融云实时音视频 (SealRTC)
- 17. 声网视频通话 (Agora video call)
- 18. 声网直播 (Agora Live)
- 19. 阿里直播 (Ali Live)
- 20. 阿里音视频 SDK美颜
- 三、对接说明 (Docking instructions)
- 四、常见问题(common problem)
- 2. 美颜无效果(Beauty has no effect)
- 3. 贴纸下载失败(Sticker download failed)
- 4. 点击无法出现美颜菜单页(The beauty menu page cannot appear after clicking)
- 5. 英文版显示中文(The beauty menu page cannot appear after clicking)
- 6. 语言切换功能(Language switching function)