Skip to content

Commit

Permalink
Completely demonstration
Browse files Browse the repository at this point in the history
  • Loading branch information
hzw1199 committed Apr 28, 2023
1 parent 8aee96f commit 18344bf
Show file tree
Hide file tree
Showing 44 changed files with 2,253 additions and 52 deletions.
20 changes: 19 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {

defaultConfig {
applicationId "pro.zongheng.realtimestream.demo"
minSdk 16
minSdk 21
targetSdk 33
versionCode 1
versionName "1.0"
Expand All @@ -26,13 +26,31 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
signingConfigs {
debug {
keyAlias 'demo'
keyPassword '123456'
storeFile file('../keystore')
storePassword '123456'
}
release {
keyAlias 'demo'
keyPassword '123456'
storeFile file('../keystore')
storePassword '123456'
}
}
}

dependencies {

implementation project(path: ':fflibrary')
implementation project(path: ':medialibrary')

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.blankj:utilcodex:1.30.6'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
Expand Down
16 changes: 15 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<application
android:name=".MainApplication"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
Expand All @@ -11,9 +16,18 @@
android:supportsRtl="true"
android:theme="@style/Theme.RealTimeStream"
tools:targetApi="31">
<activity
android:name=".RtspSingleActivity"
android:exported="false"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".RtspMultiActivity"
android:exported="false"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".MainActivity"
android:exported="true">
android:exported="true"
android:screenOrientation="sensorLandscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Binary file added app/src/main/assets/avatar-1920-1080-30fps.h264
Binary file not shown.
Loading

0 comments on commit 18344bf

Please sign in to comment.