新接入FaceUnity美颜SDK

This commit is contained in:
2022-09-17 16:54:58 +08:00
parent c6770c1d51
commit 333e4fc1e6
396 changed files with 58390 additions and 47 deletions

View File

@@ -70,6 +70,7 @@ dependencies {
//短视频
api project(':video')
api project(':common')
api project(':FaceUnity')
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
annotationProcessor rootProject.ext.dependencies["arouter-compiler"]

View File

@@ -331,6 +331,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
RongIMClient.init(this, RongcloudIMManager.RONG_IM_KEY, true);
// RTCLib 初始化
RCRTCConfig.Builder config = RCRTCConfig.Builder.create();
config.enableEncoderTexture(false);
RCRTCEngine.getInstance().init(MainActivity.this, config.build());
//推送跳直播间
if (getIntent().getStringExtra("liveid") != null) {