User Tools

Site Tools


programming:python:py-sonic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
programming:python:py-sonic [2013/04/28 20:36] – [jukeboxControl(self, action, index=None, sids=[], gain=None , offset=None)] jayprogramming:python:py-sonic [2013/04/28 20:37] – [hls(self , mid , bitrate=None)] jay
Line 1171: Line 1171:
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | mid | str | The ID of the media to stream | | mid | str | The ID of the media to stream |
-| bitrate | str | |+| bitrate | str | If specified, the server will attempt to limit the bitrate to this value, in kilobits per second. If this parameter is specified more than once, the server will create a variant playlist, suitable for adaptive bitrate streaming. The playlist will support streaming at all the specified bitrates.  The server will automatically choose video dimensions that are suitable for the given bitrates.  (since: 1.9.0) you may explicitly request a certain width (480) and height (360) like so: bitRate=1000@480x360 |
  
 Returns the raw m3u8 file as a string Returns the raw m3u8 file as a string
programming/python/py-sonic.txt · Last modified: 2024/01/01 17:13 by jay