Class RttSender
This class manages the sending side of a RTT media session. See RFC 4103. This class manages the transmission of redundant or non-redundant RTP packets containing RTT payloads based on the timing requirements specified in RFC 4103.
Inherited Members
Namespace: SipLib.RealTimeText
Assembly: SipLib.dll
Syntax
public class RttSender
Constructors
| Edit this page View SourceRttSender(RttParameters, RttRtpSendDelegate)
Constructs a new RttSender object.
Declaration
public RttSender(RttParameters Rp, RttRtpSendDelegate sender)
Parameters
Type | Name | Description |
---|---|---|
RttParameters | Rp | Contains the RTT media session parameters. |
RttRtpSendDelegate | sender | Delegate to use to send RTP packets. |
Methods
| Edit this page View SourceSendMessage(string)
Enqueues characters to send. This method will truncate the message if it exceeds a maximum allowed message length. If Cps is 0 and redundancy is being used then the maximum length is 1024 characters. If Cps is 0 and redundancy is not being used then the maximum length is the maximum size of a RTP UDP packet. If Cps is greater than 0 then characters are sent one at a time so there is no length restriction.
Declaration
public void SendMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Contains at least one character to send |
Start()
Starts the sender task
Declaration
public void Start()
Stop()
Stops the sender task
Declaration
public void Stop()