media3-background-playback-service
Compact skill for Media3 MediaSessionService, MediaController, notification, media buttons, and service lifetime.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Compact skill for Media3 MediaSessionService, MediaController, notification, media buttons, and service lifetime.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Compact skill for Media3 Google IMA CSAI/SSAI ad insertion, AdViewProvider, companions, and ad telemetry.
Compact skill for Media3 offline downloads with DownloadService, DownloadManager, Requirements, and the WorkManagerScheduler role of media3-exoplayer-workmanager.
Compact skill for Media3 bandwidth estimation, ABR limits, load control, network constraints, and preload contention.
Compact skill for Media3 CastPlayer.Builder, automatic local/remote handoff, MediaRouteButton, and Cast session lifecycle.
Compact skill for Media3 HTTP DataSource, OkHttp/Cronet/HttpEngine, cache, headers, auth, and custom DataSource decisions.
Compact skill for Media3 inspector metadata, thumbnail/frame extraction, and container sample inspection without playback.
| name | media3-background-playback-service |
| description | Compact skill for Media3 MediaSessionService, MediaController, notification, media buttons, and service lifetime. |
| license | Apache-2.0 |
| metadata | {"author":"Shunnek Labs","version":"1.2","target_media3_version":"1.10.1","last_reviewed":"2026-07-23","keywords":["android","media3","mediasessionservice","mediasession","mediacontroller","foreground-service","notification"]} |
Use when playback must survive Activity recreation/backgrounding or expose system notification, media buttons, external controllers.
streaming-media-architecture for ownership, KMP split, preload window, and telemetry.1.10.1 through the version catalog.MediaController; UI does not own the service player.android.permission.FOREGROUND_SERVICE and android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK; both are mandatory on targetSdk 34+.androidx.media3.session.MediaSessionService intent-filter action; add android.media.browse.MediaBrowserService so legacy browser clients (for example Android Auto) can bind.MediaSessionCompat, MediaSessionConnector, or PlayerNotificationManager.<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<service android:name=".playback.PlaybackService"
android:exported="true"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="androidx.media3.session.MediaSessionService" />
<action android:name="android.media.browse.MediaBrowserService" />
</intent-filter>
</service>
media3-lifecycle-statemedia3-audio-playbackmedia3-video-playback