RDK Documentation (Open Sourced RDK Components)
server.TestServer Class Reference
Inheritance diagram for server.TestServer:
Inheritance graph
Collaboration diagram for server.TestServer:
Collaboration graph

Public Member Functions

def getEventHLSPlaylist (self, path)
 
def getEventDASHManifest (self, path)
 
def getFile (self, path)
 
def do_GET (self)
 

Static Public Attributes

 startTime = time.time()
 
float minTime = 10.0
 
float liveWindow = 30.0
 
 streamType = StreamType.VOD
 
bool addPDTTags = False
 
bool addDiscontinuities = False
 
bool getAll = False
 

yes

Definition at line 33 of file server.py.

Member Function Documentation

◆ getEventHLSPlaylist()

def server.TestServer.getEventHLSPlaylist (   self,
  path 
)
Get a video test stream HLS playlist modified to emulate an ongoing
event or live.

Event media playlists are truncated based on the time since the server
was started. Live media playlists contain a window of segments based on
the time since the server was started. Master playlists are unmodified.

self -- Instance
path -- Playlist file path

Definition at line 42 of file server.py.

◆ getEventDASHManifest()

def server.TestServer.getEventDASHManifest (   self,
  path 
)
Get a video test stream DASH manifest modified to emulate an
ongoing event.

Later segments are removed from the manifest based on the time since the
server was started.

self -- Instance
path -- Manifest file path

Definition at line 165 of file server.py.

◆ getFile()

def server.TestServer.getFile (   self,
  path 
)
Get a file.

self -- Instance
path -- File path

Definition at line 268 of file server.py.

◆ do_GET()

def server.TestServer.do_GET (   self)
Get request.

self -- Instance

Definition at line 282 of file server.py.


The documentation for this class was generated from the following file: