Remote Control Overview#
When media is played on the seatback monitor, it can be controlled using various remote control methods after pairing with the seat. This functionality provides a wide range of options for managing the seatback monitor. The purpose of this class is to send remote commands from a personal electronic device (PED) to the seatback monitor.
Prerequisite: Pairing between the passenger's personal electronic device (PED) and the interactive system on the seatback monitor must be established.
Key Actors
-
Passenger – The end user who interacts with both the PED and the seatback monitor.
-
PED (Personal Electronic Device) – The Passenger's device, running the Companion App.
-
Seatback Monitor – The IFE display that the passenger interacts with during the flight.
Combined Flow Explanation for PED and IFE Integration with "Now Playing" Details#
This diagram illustrates the integrated interaction between the Passenger's Entertainment Device (PED) and the In-Flight Entertainment System (IFE) when paired, specifically focusing on managing media playback and keeping both systems synchronized.
Unified Flow:#
1. Playing Media: PED Initiates the Request
-
Passenger action: The passenger selects a video to play on the PED.
-
PED behavior:
- If a bookmark exists for the selected media, the PED sends a launch request to the IFE, including the elapsed time from the bookmark.
- If no bookmark exists, the PED requests the IFE to play the media from the start.
-
IFE behavior:
- Starts playing the media based on the PED’s request (either from the beginning or from the bookmarked time).
2. Synchronization Between PED and IFE
- As the media starts playing, the IFE sends a "Now Playing" notification to the PED. This keeps the PED updated about the current media state.
Details in the "Now Playing" Notification:#
-
Media Identifier: Unique ID of the media (e.g., "40205").
-
Content Type: Type of media, such as "track" or "video".
-
Playback State: Status of playback (e.g., "PLAYING", "PAUSED", "PLAYBACK_COMPLETED").
-
Elapsed Time: Current playback position (e.g., 10 seconds).
-
Duration: Total duration of the media (e.g., 100 seconds).
-
Subtitle and Soundtrack: Current selections for subtitles and audio tracks.
-
Volume: Current playback volume (e.g., 50 out of 100).
This notification is processed by:
-
iOS: Using the
PACSeatMediaPlayerInfoDidChangeNotificationevent. -
Android: Using the
setSeatRemoteControllerInfoChangedListener.
Example:
-
Media: "Spider-Man"
-
State: "PLAYING"
-
Elapsed Time: 20 seconds
-
Volume: 50
-
Soundtrack: English
3. Media Control from PED or IFE
- From PED:
- Passengers control playback through the PED mini player:
- Play/Pause/Stop: Updates the IFE state.
- Seek forward/backward or Volume up/down: Sends commands to the IFE to adjust playback.
- Subtitle/Soundtrack selection: Changes media settings and updates the PED UI.
- Passengers control playback through the PED mini player:
-
The PED updates its UI and bookmark based on these actions.
-
From IFE:
- If the passenger uses the seatback monitor to control playback (e.g., pausing, adjusting volume), the IFE executes the command and sends a "Now Playing" notification to update the PED with the new state.
4. Bookmark Updates
-
Whenever playback is paused, stopped, or the media ends, the PED updates its bookmark with the latest elapsed time.
-
If the PED or IFE detects a bookmark conflict (e.g., different elapsed times for the same media), the system resolves it by:
- Option 1: Allowing the passenger to choose which bookmark to keep (PED or IFE).
- Option 2: Automatically keeping the bookmark with the greater elapsed time.
Example Flow for Synchronization:#
Scenario 1: Playing a Movie
-
Passenger action: Selects "Spider-Man" on the PED.
-
PED request:
- Sends a launch request to IFE.
- If no bookmark exists, starts from the beginning.
-
IFE response:
- Plays the video from the start and sends a "Now Playing" notification to PED.
- Notification details:
- Identifier: "40205"
- State: "PLAYING"
- Elapsed Time: 0 seconds
- Duration: 100 seconds
- Volume: 50
- Subtitle: None
- Soundtrack: English
-
PED UI: Updates the mini player with these details.
Scenario 2: Passenger Controls Playback
-
Pause:
- The passenger pauses the video using the PED.
- PED sends a pause request to IFE.
- IFE pauses playback and sends an updated "Now Playing" notification with:
- State: "PAUSED"
- Elapsed Time: 25 seconds.
-
Volume:
- The passenger adjusts the volume using the seatback monitor.
- IFE changes the volume and notifies PED:
- Volume: 60.
- PED updates the mini player with this new volume.
This flow ensures seamless synchronization and a consistent user experience between the PED and IFE systems.
Version 1.0
