You'll get access to over 3,000 product manager interview questions and answers
Recommended by over 100k members
The media app architecture has the following components:
UI -->Media controller -->Media session -->Player
UI Transport protocols are used to run the player and displays the players state
Player- Player takes the digital media and plays the video/audio. E.g. Mediaplayer and Exoplayer libraries in android
Media controller- Media controller takes transport protocol commands from the UI and translates it into callbacks against the media session
Media session- Media sessions maintains the current state of the player, metadata and information about the playback. The media session isolates the Player from the media controller
Media Session calls-
| On play() | On Pause() | On Stop() |
Audio Focus | requestfocus() passing in your OnAudioFocusChangeListener |
| Abandon Audio Focus() |
Media Session | setActive()= True - update metadata and state | Update metadata and state | setActive()= False |
Player implementation() | Start the Player | Pause the player | Stop the player |
Becoming Noisy | Register your broadcast receiver | Unregister your broadcast receiver | |
Notification | Show notifications | Update notification |
Top Twitch interview questions
- What is RTSP(Real Time Streaming Protocol)?1 answers | 793 views
- What are the key elements of media manifest?1 answers | 251 views
- What is the difference between client side ad integration and server side ad integration?1 answers | 363 views
- See Twitch PM Interview Questions
Top Technical interview questions
- Imagine you're the product manager for Facebook Marketplace. Since many sellers don't mark items as sold, what existing functionality and metrics could you use to determine whether an item has likely sold?7 answers | 20.9k views
- What happens when you enter a URL in your browser?6 answers | 10.8k views
- How does TinyURL work?5 answers | 317k views
- See Technical PM Interview Questions
Top Twitch interview questions
- The product manager is the most influential entity in an organization. What do you think about that statement?1 answers | 347 views
- What do you think will happen to the streaming services industry over the next few years?1 answers | 633 views
- What happens when a user hits play on a video player?1 answers | 333 views
- See Twitch PM Interview Questions
Top Technical interview questions
- How would you determine how to rank posts in the newsfeed?4 answers | 3.3k views
- The Chrome team is looking to reduce power utilization on mobile phones when using the browser. How would you go about solving this problem?3 answers | 3.7k views
- How would you map the ocean?3 answers | 2.9k views
- See Technical PM Interview Questions