Class a.r.FMPtx(TxBase):

Part of aculab.rtp View Source View In Hierarchy

An RTP T.38 transmitter (untested/incomplete).

Logging: output from a FMPrx is prefixed with frx-
Method __init__ Allocate an RTP FAX sender, and add its event to the reactor.
Method close Stop the transmitter.
Method __del__ Undocumented
Method on_fmptx Internal event handler.
Method configure Configure the Transmitter according to the SDP.
Method listen_to Listen to a timeslot or a tx instance.

Inherited from TxBase:

Method tx_tdm_connect For Transmitter subclasses: connect to a timeslot on its DSP's
Method get_module Return a unique identifier for module comparisons.
Method get_switch Return a unique identifier for switch card comparisons.
def __init__(self, controller, card=0, module=0, user_data=None, ts_type=lowlevel.kSMTimeslotTypeData, reactor=Reactor): (source)

Allocate an RTP FAX sender, and add its event to the reactor.

Note: the FMPrx is not ready to use until it has called 'fmprx_ready' on its controller.

Controllers must implement:
  • fmprx_ready(vmprx, sdp, user_data)
  • fmprx_running(vmprx, user_data)
def close(self): (source)
Stop the transmitter.
def __del__(self): (source)
Undocumented
def on_fmptx(self): (source)
Internal event handler.
def configure(self, sdp): (source)
Configure the Transmitter according to the SDP.
ParameterssdpAn instance of class SDP.
def listen_to(self, source, tdm=None): (source)

Listen to a timeslot or a tx instance.

Switching protocol. Applications should generally use switching.connect.
Parameterssourcea tuple (stream, timeslot, [timeslot_type]) or a transmitter instance (VMPtx, FMPtx or TDMtx), which must be on the same module.
tdmUsed internally - TxBase.tx_tdm_connect will call listen_to recursively and supply a tdm.
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.