13
Advanced Features
The previous chapters already described the basic Samsung SmartTV application features. This chapter will describe more complex additional features such as the camera and SI (Smart Interaction).
Camera
Samsung SmartTV can use both the internal and an external camera. Let's see how the cameras are controlled in an application.
The SDF provides intensive camera-related API guides, including how to set initial position and size of the camera window, that are sufficient for developing an application with the camera feature.
“Fitness VOD” is a good example that uses the camera feature. It offers “Virtual Mirror” that shows a user's action on the screen using the camera feature, so that the user can closely compare a professional coach and herself. The application is available on the Samsung SmartTV App Store.
A user can also control sizes of VOD and the Virtual Mirror (camera) windows with three preset modes.
The SDF's DTV Web Device API provides all camera-related API functions. Unlike the IME or AVPlayer, no complex exception handling is needed to add the camera capability. The API simply supports turning ...
Get Samsung SmartTV Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.