August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year, primarily targeted around Python 3 and ecosystem compatibility. PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)

Kamaelia.NullPayloadRTP.NullPayloadPreFramer

class NullPayloadPreFramer(Axon.Component.component)

Inboxes:
control -> File select, file read control, framing control recvsrc -> Block/Chunks of raw disk data
Outboxes:
activatesrc -> Control messages to the file reading subsystem output -> The framed data, payload ready

Inboxes

Outboxes

Methods defined here

Warning!

__init__(self, sourcename, sourcebitrate, chunksize)

closeDownComponent(self)

No closedown/shutdown code

handleControl(self)

returns quit flag - True means quit

handleShutdown(self)

initialiseComponent(self)

No initialisation

mainBody(self)

Loopbody:

makeChunk(self, datatosend)

C.makeChunk(datatosend) -> chunk : network ready data

sendCurrentChunk(self, sendpartial)

updateTimestamp(self, datatosend)

C.updateTimestamp(datatosend)

self.timestamp stores the timestamp of the end of the most recently transmitted data, whenever we send some data this timestamp needs to be updated. This method represents the calculation involved. (calculate the time period the data covers, and increment the timestamp)


Feedback

Got a problem with the documentation? Something unclear, could be clearer? Want to help with improving? Constructive criticism, preferably in the form of suggested rewording is very welcome.

Please leave the feedback here, in reply to the documentation thread in the Kamaelia blog.