[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)