Since we are planing to handle Pepper (and probably WebRTC) in MediaSession, the existing MediaSession::Type seems won't work well.
Spliting MediaSession::Type into MediaContentType as MediaPlayer attributes, and AudioFocusType for requesting audio focus from the platform.
Originally I was thinking of moving MediaSession::Type out, but I'm came up with the idea that we need another enum to tell MediaSession which type of player is joining, and the old MediaSession::Type is actually for audio focus (which only have two).
Comment 1 by mlamouri@chromium.org
, Jul 7 2016