Member Junction
    Preparing search index...

    An appendable, self-paced RTP audio sender over a live SoftphoneCallSession. Construct one per call (after the session is live), start it, feed the agent's PCM via enqueue, flush on barge-in, and stop on hangup.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Barge-in: drop all queued (not-yet-sent) audio so the agent goes silent immediately. The softphone has no internal outbound buffer to clear — once tick has sent a frame it's on the wire — so dropping the local queue is the whole flush.

      Returns void

    • Sends exactly one frame if a whole packetSize chunk is queued and the call is live; otherwise a no-op (silence is simply the absence of packets — RTP needs no filler). Public so tests drive the clock deterministically.

      Returns void