Skip to content

Commit 771f198

Browse files
author
kuenzhang
committed
更新Android Demo到6.8.7959
1 parent 850be73 commit 771f198

File tree

210 files changed

+14544
-7160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+14544
-7160
lines changed

.gitignore

+101-42
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,101 @@
1-
Android/.gradle/3.3/taskArtifacts/fileHashes.bin
2-
Android/.gradle/3.3/taskArtifacts/fileSnapshots.bin
3-
Android/.gradle/3.3/taskArtifacts/taskArtifacts.bin
4-
Android/.gradle/3.3/taskArtifacts/taskArtifacts.lock
5-
Android/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin
6-
Android/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock
7-
Android/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin
8-
Android/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock
9-
Android/.idea/gradle.xml
10-
Android/.idea/misc.xml
11-
Android/.idea/modules.xml
12-
Android/.idea/runConfigurations.xml
13-
Android/.idea/workspace.xml
14-
Android/.idea/caches/build_file_checksums.ser
15-
Android/.idea/codeStyles/Project.xml
16-
Android/.idea/libraries/Gradle__com_android_support_animated_vector_drawable_26_0_0_alpha1.xml
17-
Android/.idea/libraries/Gradle__com_android_support_appcompat_v7_26_0_0_alpha1.xml
18-
Android/.idea/libraries/Gradle__com_android_support_multidex_1_0_1.xml
19-
Android/.idea/libraries/Gradle__com_android_support_multidex_instrumentation_1_0_1.xml
20-
Android/.idea/libraries/Gradle__com_android_support_support_annotations_26_0_0_alpha1_jar.xml
21-
Android/.idea/libraries/Gradle__com_android_support_support_compat_26_0_0_alpha1.xml
22-
Android/.idea/libraries/Gradle__com_android_support_support_core_ui_26_0_0_alpha1.xml
23-
Android/.idea/libraries/Gradle__com_android_support_support_core_utils_26_0_0_alpha1.xml
24-
Android/.idea/libraries/Gradle__com_android_support_support_fragment_26_0_0_alpha1.xml
25-
Android/.idea/libraries/Gradle__com_android_support_support_media_compat_26_0_0_alpha1.xml
26-
Android/.idea/libraries/Gradle__com_android_support_support_v4_26_0_0_alpha1.xml
27-
Android/.idea/libraries/Gradle__com_android_support_support_vector_drawable_26_0_0_alpha1.xml
28-
Android/.idea/libraries/Gradle__com_squareup_okhttp3_logging_interceptor_3_8_1_jar.xml
29-
Android/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_8_1_jar.xml
30-
Android/.idea/libraries/Gradle__com_squareup_okio_okio_1_13_0_jar.xml
31-
Android/.idea/libraries/Gradle__LiteAVSDK_TRTC_release__aar.xml
32-
Android/.settings/*
33-
.project
34-
Android/TRTCDemo/local.properties
35-
Android/TRTCDemo/build
36-
iOS/Pods/*
37-
iOS/Podfile.lock
38-
iOS/TRTCDemo.xcworkspace
39-
iOS/SDK/*.framework
40-
Mac/Pods/*
41-
Mac/Podfile.lock
42-
Mac/TRTCDemo.xcworkspace
1+
# windows vs
2+
Build
3+
*.cache
4+
*.suo
5+
project/win/sdk/liteav/liteav.VC.db
6+
project/win/sdk/liteav/liteav.VC.VC.opendb
7+
Win32
8+
Win64
9+
*.ipch
10+
11+
12+
# Xcode
13+
#
14+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
15+
16+
## User settings
17+
xcuserdata/
18+
*/IDEWorkspaceChecks.plist
19+
project/ios/demo/liteav/TXLiteAVDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
20+
project/ios/demo/TXXiaoShiPinDemo/TXXiaoShiPinDemo/Framework/TXLiteAVSDK_Enterprise.framework/
21+
project/ios/demo/XiaoZhiBoApp/XiaoZhiBoApp/Framework/TXLiteAVSDK_Enterprise.framework/
22+
23+
24+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
25+
*.xcscmblueprint
26+
*.xccheckout
27+
28+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
29+
build/
30+
DerivedData/
31+
*.moved-aside
32+
*.pbxuser
33+
!default.pbxuser
34+
*.mode1v3
35+
!default.mode1v3
36+
*.mode2v3
37+
!default.mode2v3
38+
*.perspectivev3
39+
!default.perspectivev3
40+
41+
## Xcode Patch
42+
*.xcodeproj/*
43+
!*.xcodeproj/project.pbxproj
44+
!*.xcodeproj/xcshareddata/
45+
!*.xcworkspace/contents.xcworkspacedata
46+
/*.gcno
47+
48+
49+
# General
50+
.DS_Store
51+
.AppleDouble
52+
.LSOverride
53+
54+
# Icon must end with two \r
55+
Icon
56+
57+
# Thumbnails
58+
._*
59+
60+
# Files that might appear in the root of a volume
61+
.DocumentRevisions-V100
62+
.fseventsd
63+
.Spotlight-V100
64+
.TemporaryItems
65+
.Trashes
66+
.VolumeIcon.icns
67+
.com.apple.timemachine.donotpresent
68+
69+
# Directories potentially created on remote AFP share
70+
.AppleDB
71+
.AppleDesktop
72+
Network Trash Folder
73+
Temporary Items
74+
.apdisk
75+
76+
# Android Studio
77+
# Built application files
78+
/*/build/
79+
80+
# Local configuration file (sdk path, etc)
81+
local.properties
82+
83+
# Gradle generated files
84+
.gradle/
85+
86+
# Signing files
87+
.signing/
88+
89+
# User-specific configurations
90+
.idea/libraries/
91+
.idea/workspace.xml
92+
.idea/tasks.xml
93+
.idea/.name
94+
.idea/compiler.xml
95+
.idea/copyright/profiles_settings.xml
96+
.idea/encodings.xml
97+
.idea/misc.xml
98+
.idea/modules.xml
99+
.idea/scopes/scope_settings.xml
100+
.idea/vcs.xml
101+
*.iml

Android/TRTCDemo/app/build.gradle

+5-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ dependencies {
2727
implementation fileTree(dir: 'libs', include: ['*.jar'])
2828

2929
implementation 'com.tencent.liteav:LiteAVSDK_TRTC:latest.release'
30-
implementation 'com.android.support:appcompat-v7:25.+'
31-
implementation 'com.android.support:recyclerview-v7:25.+'
32-
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'
3330
implementation 'com.android.support:multidex:1.0.0'
31+
implementation 'com.blankj:utilcode:1.25.9'
32+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
33+
implementation "com.android.support:design:25.+"
34+
implementation "com.android.support:appcompat-v7:25.+"
35+
implementation "com.android.support:recyclerview-v7:25.+"
3436
}

Android/TRTCDemo/app/src/main/AndroidManifest.xml

+8-6
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@
3636
</activity>
3737

3838
<activity
39-
android:name=".trtc.TRTCNewActivity"
40-
android:theme="@style/NewActivityTheme"
41-
android:screenOrientation="portrait" />
42-
39+
android:name=".trtc.TRTCNewRoomActivity"
40+
android:screenOrientation="portrait"
41+
android:theme="@style/NewActivityTheme" />
4342
<activity
44-
android:name=".trtc.TRTCMainActivity"
43+
44+
android:name=".trtc.TRTCVideoRoomActivity"
4545
android:launchMode="singleTask"
46-
android:windowSoftInputMode="adjustPan"
46+
android:screenOrientation="portrait"
47+
android:theme="@style/NewActivityTheme"
48+
android:windowSoftInputMode="adjustPan" />n"
4749
android:screenOrientation="portrait" />
4850
</application>
4951
</manifest>

Android/TRTCDemo/app/src/main/java/com/tencent/liteav/demo/MainActivity.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
import android.widget.TextView;
1515
import android.widget.Toast;
1616
import com.tencent.liteav.demo.expandableadapter.*;
17-
import com.tencent.liteav.demo.trtc.TRTCNewActivity;
1817

18+
import com.tencent.liteav.demo.trtc.TRTCNewRoomActivity;
1919
import com.tencent.rtmp.TXLiveBase;
2020

2121
import java.io.File;
@@ -104,8 +104,8 @@ private List<GroupBean> initGroupData() {
104104

105105
// 视频通话
106106
List<ChildBean> videoConnectChildList = new ArrayList<>();
107-
videoConnectChildList.add(new ChildBean("腾讯云视频通话", R.drawable.room_multi, TRTCNewActivity.class));
108-
videoConnectChildList.add(new ChildBean("万人低延时直播间", R.drawable.room_multi, TRTCNewActivity.class));
107+
videoConnectChildList.add(new ChildBean("腾讯云视频通话", R.drawable.room_multi, TRTCNewRoomActivity.class));
108+
videoConnectChildList.add(new ChildBean("万人低延时直播间", R.drawable.room_multi, TRTCNewRoomActivity.class));
109109
if (videoConnectChildList.size() != 0) {
110110
GroupBean videoConnectGroupBean = new GroupBean("实时音视频 TRTC", R.drawable.room_multi, videoConnectChildList);
111111
groupList.add(videoConnectGroupBean);

0 commit comments

Comments
 (0)