Flutter Radio Player는 Android 및 iOS에서 백그라운드 재생과 잠금 화면 컨트롤을 지원하는 Flutter 패키지입니다. 개발자가 앱에 온라인 라디오 스트리밍 기능을 통합할 수 있도록 설계되었으며, 사용자가 인터넷 라디오 방송국을 중단 없이 들을 수 있도록 합니다. 이 패키지는 재생 관리, 메타데이터 표시, 미디어 세션 통합을 위한 깔끔한 API를 제공하여 사용의 용이성을 강조합니다. 원격 플랫폼 기능을 활용하여 다양한 디바이스에서 부드러운 성능을 보장합니다.
사용 사례
스트리밍 인터넷 라디오 방송국
백그라운드 재생 기능을 갖춘 음악 또는 팟캐스트 앱 만들기
잠금 화면 미디어 컨트롤을 사용한 앱 만들기
모바일을 위한 오디오 중심 애플리케이션 개발
앱 일시 중지 중에도 연속 재생 활성화
주요 기능
백그라운드 오디오 재생
잠금 화면 미디어 컨트롤
크로스 플랫폼 지원 (Android 및 iOS)
실시간 스트리밍 통합
미디어 세션 관리
재생 중 메타데이터 표시
적합한 대상
모바일 오디오 애플리케이션 개발자
라디오 방송 앱 제작자
지속적인 오디오 재생이 필요한 앱
Android 및 iOS 양쪽을 대상으로 하는 개발자
오디오 스트리밍에 최소한의 설정이 필요한 프로젝트
고려 사항
백그라운드 실행을 위해 적절한 권한이 필요합니다
iOS 백그라운드 모드에 대한 추가 구성이 필요할 수 있습니다
스트리밍을 위해서는 안정적인 인터넷 연결이 필요합니다
오직 오디오 콘텐츠에 한정
플랫폼별 동작은 약간 다를 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Flutter Radio Player
A Flutter plugin for playing streaming radio with background playback, lock screen controls, and platform-native media integrations.
Android
iOS
Support
SDK 21+
iOS 14+
Features
Background audio playback with no extra configuration
Lock screen and notification media controls
ICY/Shoutcast metadata extraction
Multiple source queue with next/previous/jump-to navigation
Volume control with stream updates
Artwork support (asset paths and remote URLs)
watchOS, WearOS, CarPlay, and Android Auto integration
Swift Package Manager and CocoaPods support on iOS
Quick Start
Installation
flutter pub add flutter_radio_player
Minimal Example
import'package:flutter_radio_player/flutter_radio_player.dart';
final player = FlutterRadioPlayer();
await player.initialize([
constRadioSource(url: 'https://example.com/stream'),
], playWhenReady: true);
Working with Sources
Define your radio stations using the RadioSource model:
The nowPlayingStream automatically extracts ICY metadata from Shoutcast/Icecast streams. If the stream provides metadata (e.g., artist and song title), it will appear here without any extra configuration.