Files
SellyCloudSDK_Android_demo/example/src/main/AndroidManifest.xml

106 lines
5.0 KiB
XML

<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<application
android:name=".DemoApplication"
android:allowBackup="true"
android:label="SellyCloudRTC Demo"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true">
<activity
android:name=".login.LoginActivity"
android:exported="true"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout|uiMode"
android:theme="@style/Theme.AVDemo.NoActionBar"
android:screenOrientation="fullSensor"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".FeatureHubActivity"
android:exported="true"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout|uiMode"
android:theme="@style/Theme.AVDemo.NoActionBar"
android:screenOrientation="fullSensor" />
<activity
android:name=".live.LivePushActivity"
android:exported="false"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout|uiMode"
android:screenOrientation="fullSensor"
android:theme="@style/Theme.AVDemo.NoActionBar"
android:parentActivityName=".FeatureHubActivity" />
<activity
android:name=".live.LivePlayActivity"
android:exported="false"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden"
android:screenOrientation="fullSensor"
android:theme="@style/Theme.AVDemo.NoActionBar"
android:resizeableActivity="true"
android:supportsPictureInPicture="true"
android:parentActivityName=".FeatureHubActivity" />
<activity
android:name=".live.PkPlayActivity"
android:exported="false"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden"
android:screenOrientation="fullSensor"
android:theme="@style/Theme.AVDemo.NoActionBar"
android:parentActivityName=".FeatureHubActivity" />
<activity
android:name=".vod.VodPlayActivity"
android:exported="false"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden"
android:screenOrientation="fullSensor"
android:theme="@style/Theme.AVDemo.NoActionBar"
android:parentActivityName=".FeatureHubActivity" />
<activity
android:name=".interactive.InteractiveLiveActivity"
android:exported="false"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="portrait"
android:parentActivityName=".FeatureHubActivity" />
<service
android:name=".interactive.InteractiveForegroundService"
android:exported="false"
android:foregroundServiceType="camera|microphone|mediaProjection" />
<service
android:name=".live.LivePlayForegroundService"
android:exported="false"
android:foregroundServiceType="mediaPlayback" />
</application>
</manifest>