Part of aculab.rtp View Source View In Hierarchy
An RTP T.38 transmitter (untested/incomplete).
Logging: output from a FMPrx is prefixed withfrx-
| 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. |
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:| Parameters | sdp | An instance of class SDP.
|
Listen to a timeslot or a tx instance.
Switching protocol. Applications should generally useswitching.connect.
| Parameters | source | a tuple (stream, timeslot, [timeslot_type]) or a transmitter instance
(VMPtx, FMPtx or TDMtx), which must be
on the same module.
|
| tdm | Used internally - TxBase.tx_tdm_connect will call listen_to recursively and supply a tdm. |