This application demonstrates how to send a video,audio,photo content URL to a default media player app on TV and how to control the playback and make a list of the content from mobile.
DMP2.0 supports general media spec and adative streaming(mpeg-dash/hls/smooth streaming)
1.Push discover button in ActionBar, then Smart View SDK searches devices around your mobile.
If you want cast to DMP video content, refer to Videos tabs
also you can make 'playing video content list' using queueing API)
DMP2.0 is launched and play your video content.
If you want cast to DMP audio content, refer to Audios tabs
also you can make 'playing audio content list' using queueing API)
DMP2.0 is launched and play your audio content.
If you want cast to DMP image content, refer to Photos tabs
also you can make 'playing images content list' using queueing API)
DMP2.0 is launched and play your image content.
You can set backgorund music, see setBackgroundMusic(Uri uri)
If player is sent to background by any other process or otherwise, android library receives an event – onApplicationSuspend().
To bring the player to foreground (from suspended to active state), API - resumeApplicationInForeground() can be used.
Event onApplicationResume() is received when application is successfully brought to foreground.