SamsungDForum / SmartViewSDKDefaultMediaPlayer2.0

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.
14 stars 6 forks source link

DefaultMediaPlayer2.0

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.

UX Guide

Developer Guide

SmartViewSDK SDK Download

TV Media Specifications

DMP2.0 supports general media spec and adative streaming(mpeg-dash/hls/smooth streaming)

Sender (mobile)

Discover devices

1.Push discover button in ActionBar, then Smart View SDK searches devices around your mobile.

Videos

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.

Audios

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.

Photos

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)

Support Multitasking

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.

Disconnect