If any are found, play the first matching source. All MediaSource properties will need to be examined in order to make this determination based on client capabilities. User defined max bitrate (quality setting)įind the first MediaSource that can the client is capable of direct streaming that falls within the bitrate setting.If multiple, present a selection screen, using MediaSource.Name as the display name.Using the above information, determine the number of MediaSources that can be direct played. The following is the algorithm to determine the optimal MediaSource: Step 1: Direct PlayĬlients that never direct play may skip this step. Transcode - The client streams the file from the server with encoding applied in order to convert it to a format that it can understand. Aside from Direct Play, this is the next most desirable playback method. Whenever possible this is the most desirable form of playback.ĭirect Stream - The client streams the file from the server as-is, in it's original format, without any encoding or remuxing applied. The server is bypassed with this mechanism. VideoType (VideoFile, Dvd, Iso, Bluray)īefore we discuss the algorithm to examine MediaSources, let us first define a few terms:ĭirect Play - The client plays the file by accessing the file system directly using the Path property.Bitrate (represents the total file bitrate).It is up to the client to choose the optimal source based on it's own requirements.Įach MediaSource has the following properties that can be examined: The server allows multiple sources for a single content item. The first step towards playing content is to examine the MediaSources property. Retrieved 2 April 2018.This info applies to both audio and video playback. "Exclusive Interview: Emby Founder Luke Pulverenti".
0 Comments
Leave a Reply. |