I hold a ring with the fragments available in the playlist and update
the playlist according to this.
|
__init__(self,
mainPlaylist,
streamPlaylist,
streamBitrate=300000,
title='',
fragmentPrefix='fragment',
newFragTolerance=0,
window=5,
maxExtraBuffers=None,
keyInterval=0,
keysURI=None) |
source code
|
|
|
_encryptFragment(self,
fragment,
secret,
IV) |
source code
|
|
|
|
|
addFragment(self,
fragment,
sequenceNumber,
duration)
Adds a fragment to the ring and updates the playlist. |
source code
|
|
array
|
getFragment(self,
fragmentName)
Returns a fragment of the playlist or raises an Exception if the
fragment is not found |
source code
|
|
str
|
|
Inherited from Playlister :
renderArgs ,
renderPlaylist ,
setAllowCache ,
setHostname
|