Multimedia Streaming Q&A

The following questions are related to streaming media in applications.

You can retrieve various stream property information, such as the current bandwidth, current bitrate, and available bitrates, using the getCurrentStreamInfo() and getStreamingProperty() methods of the AVPlay API.

Make sure playback is in progress before retrieving the current stream properties.

TV
HTV
#stream property

By default, the AVPlay API implements a 10 second or 15 MB buffer.

You can define the buffer size, in seconds or bytes, using the setBufferingParam() method. While there is no maximum buffer size, it is not recommended to modify the default values.

TV
HTV
#buffer size

Switching the audio quality or video resolution during playback is not supported. However, you can switch between audio tracks during playback.

TV
HTV
#audio quality
#video resolution

Yes, you can implement adaptive streaming with the AVPlay API. For more information, see Adaptive Streaming.

TV
HTV
#adaptive streaming
#http live streaming

Adaptive streaming media playback is implemented using the AVPlay API in the same way as other media. For more information, see Adaptive Streaming.

To enable streaming 4K UHD video, use the setStreamingProperty() method to set the SET_MODE_4K property to TRUE. For more information, see 4K 8K UHD video.

If you implement adaptive streaming that can change the video resolution, make sure the SET_MODE_4K property is TRUE when the stream switches to 4K UHD resolution.

TV
HTV
#4k uhd
#adaptive streaming

Cookies can be used if the DRM implementation requires them. However, cookie reception must be handled on the server side.

Whenever possible, use local storage instead of cookies, since the application is not a Web page on the Internet, and consequently does not have a domain name.

TV
HTV
#http live streaming
#cookies

The seekTo(), jumpForward(), and jumpBackward() methods of the AVPlay API are supported for live HLS streams. If you want to use live seek, the streaming server must maintain past and future segments. The seekable range is limited to the segments maintained on the server.

TV
HTV
#http live streaming

No. Samsung TVs do not support the UDP protocol.

Multicast streaming is supported on 2012 to 2015 models using Samsung Legacy Platform, but only through the HTTP and RTP protocols.

Hotel TV supports UDP streaming. Refer to the detailed specification.

TV
HTV
#multicast
#udp

MPEG-DASH data can be specified in various ways, such as using a number-based or time-based segment template, or as a byte range. For more information, see the ISO/IEC 23009-1 specification.

TV
HTV
#mpeg dash

No. Samsung TVs do not support media up or down-scaling. The media content must follow the resolution and FPS specifications for the applicable video codec.

TV
HTV
#resolution
#fps
#specification values

To prevent audio sync issues, make sure that all video resolutions in the HLS content have the same frame rate (FPS).

TV
HTV
#http live streaming
#video resolution
#audio sync

Check that the TV supports the specified HLS tag version. For more information, see HLS Tag Support.

TV
HTV
#http live streaming
#corruption