April 2024 - This site, and Kamaelia are being updated. There is significant work needed, and PRs are welcome.

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.