Skip to content

Commit 288bd6a

Browse files
committed
Update README.md
1 parent 249eeae commit 288bd6a

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -149,35 +149,6 @@ Integrating vector graphics into SwiftUI views, particularly during lifecycle ev
149149
- **Independent Management**: Developers should manage brightness and contrast adjustments through their dedicated methods or properties to ensure these settings are accurately reflected in the video output.
150150

151151

152-
## AVQueuePlayer features out of the box
153-
154-
In the core of this package, I use `AVQueuePlayer`. Here are the supported features that are automatically enabled by `AVQueuePlayer` without passing any extra parameters:
155-
156-
| Feature | Description |
157-
|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
158-
| **Hardware accelerator** | `AVQueuePlayer` uses hardware acceleration by default where available. |
159-
| **4k/HDR/HDR10/HDR10+/Dolby Vision** | These high-definition and high-dynamic-range formats are natively supported by `AVQueuePlayer`. |
160-
| **Multichannel Audio/Dolby Atmos/Spatial Audio** | `AVQueuePlayer` supports advanced audio formats natively. |
161-
| **Text subtitle/Image subtitle/Closed Captions** | Subtitle and caption tracks included in the video file are automatically detected and rendered. |
162-
| **Automatically switch to multi-bitrate streams based on network** | Adaptive bitrate streaming is handled automatically by `AVQueuePlayer` when streaming from a source that supports it. |
163-
| **External playback control support** | Supports playback control through external accessories like headphones and Bluetooth devices. |
164-
| **AirPlay support** | Natively supports streaming audio and video via AirPlay to compatible devices without additional setup. |
165-
| **Background Audio Playback** | Continues audio playback when the app is in the background, provided the appropriate audio session category is set. |
166-
| **Picture-in-Picture (PiP) Support** | Enables Picture-in-Picture mode on compatible devices without additional setup. |
167-
| **HLS (HTTP Live Streaming) Support** | Natively supports streaming of HLS content for live and on-demand playback. |
168-
| **FairPlay DRM Support** | Can play FairPlay DRM-protected content when properly configured. |
169-
| **Now Playing Info Center Integration** | Automatically updates the Now Playing Info Center with current playback information for lock screen and control center displays. |
170-
| **Remote Control Event Handling** | Supports handling remote control events from external accessories and system controls. |
171-
| **Custom Playback Rate** | Allows setting custom playback rates for slow-motion or fast-forward playback without additional configuration. |
172-
| **Seamless Transition Between Items** | Provides smooth transitions between queued media items, ensuring continuous playback without gaps. |
173-
| **Automatic Audio Session Management** | Manages audio sessions to handle interruptions (like phone calls) and route changes appropriately. |
174-
| **Subtitles and Closed Caption Styling** | Supports user preferences for styling subtitles and closed captions, including font size, color, and background. |
175-
| **Audio Focus and Ducking** | Handles audio focus by pausing or lowering volume when necessary, such as when a navigation prompt plays. |
176-
| **Metadata Handling** | Reads and displays metadata embedded in media files, such as song titles, artists, and artwork. |
177-
| **Buffering and Caching** | Efficiently manages buffering of streaming content to reduce playback interruptions. |
178-
| **Error Handling and Recovery** | Provides built-in mechanisms to handle playback errors and attempt recovery without crashing the application. |
179-
| **Accessibility Features** | Supports VoiceOver and other accessibility features to make media content accessible to all users. |
180-
181152
## How to use the package
182153
### 1. Create LoopPlayerView
183154

@@ -300,3 +271,32 @@ You can introduce video hints about some functionality into the app, for example
300271
![The concept](https://github.com/The-Igor/swiftui-loop-videoplayer-example/blob/main/swiftui-loop-videoplayer-example/img/swiftui_video_hint.gif)
301272

302273
![The concept](https://github.com/The-Igor/swiftui-loop-videoplayer-example/blob/main/swiftui-loop-videoplayer-example/img/tip_video_swiftui.gif)
274+
275+
## AVQueuePlayer features out of the box
276+
277+
In the core of this package, I use `AVQueuePlayer`. Here are the supported features that are automatically enabled by `AVQueuePlayer` without passing any extra parameters:
278+
279+
| Feature | Description |
280+
|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
281+
| **Hardware accelerator** | `AVQueuePlayer` uses hardware acceleration by default where available. |
282+
| **4k/HDR/HDR10/HDR10+/Dolby Vision** | These high-definition and high-dynamic-range formats are natively supported by `AVQueuePlayer`. |
283+
| **Multichannel Audio/Dolby Atmos/Spatial Audio** | `AVQueuePlayer` supports advanced audio formats natively. |
284+
| **Text subtitle/Image subtitle/Closed Captions** | Subtitle and caption tracks included in the video file are automatically detected and rendered. |
285+
| **Automatically switch to multi-bitrate streams based on network** | Adaptive bitrate streaming is handled automatically by `AVQueuePlayer` when streaming from a source that supports it. |
286+
| **External playback control support** | Supports playback control through external accessories like headphones and Bluetooth devices. |
287+
| **AirPlay support** | Natively supports streaming audio and video via AirPlay to compatible devices without additional setup. |
288+
| **Background Audio Playback** | Continues audio playback when the app is in the background, provided the appropriate audio session category is set. |
289+
| **Picture-in-Picture (PiP) Support** | Enables Picture-in-Picture mode on compatible devices without additional setup. |
290+
| **HLS (HTTP Live Streaming) Support** | Natively supports streaming of HLS content for live and on-demand playback. |
291+
| **FairPlay DRM Support** | Can play FairPlay DRM-protected content when properly configured. |
292+
| **Now Playing Info Center Integration** | Automatically updates the Now Playing Info Center with current playback information for lock screen and control center displays. |
293+
| **Remote Control Event Handling** | Supports handling remote control events from external accessories and system controls. |
294+
| **Custom Playback Rate** | Allows setting custom playback rates for slow-motion or fast-forward playback without additional configuration. |
295+
| **Seamless Transition Between Items** | Provides smooth transitions between queued media items, ensuring continuous playback without gaps. |
296+
| **Automatic Audio Session Management** | Manages audio sessions to handle interruptions (like phone calls) and route changes appropriately. |
297+
| **Subtitles and Closed Caption Styling** | Supports user preferences for styling subtitles and closed captions, including font size, color, and background. |
298+
| **Audio Focus and Ducking** | Handles audio focus by pausing or lowering volume when necessary, such as when a navigation prompt plays. |
299+
| **Metadata Handling** | Reads and displays metadata embedded in media files, such as song titles, artists, and artwork. |
300+
| **Buffering and Caching** | Efficiently manages buffering of streaming content to reduce playback interruptions. |
301+
| **Error Handling and Recovery** | Provides built-in mechanisms to handle playback errors and attempt recovery without crashing the application. |
302+
| **Accessibility Features** | Supports VoiceOver and other accessibility features to make media content accessible to all users. |

0 commit comments

Comments
 (0)