JvmDtmfSender

class JvmDtmfSender(inner: RTCDtmfSender) : WebRtc.DtmfSender(source)

JVM implementation of DTMF sender that wraps RTCDtmfSender.

Provides a platform-safe API for sending DTMF tones.

Report a problem

Constructors

Link copied to clipboard
constructor(inner: RTCDtmfSender)

Properties

Link copied to clipboard
open override val canInsertDtmf: Boolean

Whether DTMF tones can be inserted.

Link copied to clipboard
open override val toneBuffer: String

The tone buffer containing the tones to be played.

Functions

Link copied to clipboard
fun WebRtc.DtmfSender.getNative(): DtmfSender

Returns implementation of the dtmf sender that is used under the hood. Use it with caution.

fun WebRtc.DtmfSender.getNative(): RTCDtmfSenderProtocol

Returns implementation of the dtmf sender that is used under the hood. Use it with caution.

fun WebRtc.DtmfSender.getNative(): RTCDtmfSender

Returns implementation of the dtmf sender that is used under the hood. Use it with caution.

fun WebRtc.DtmfSender.getNative(): RTCDTMFSender

Returns implementation of the dtmf sender that is used under the hood. Use it with caution.

Link copied to clipboard
open override fun insertDtmf(tones: String, duration: Int, interToneGap: Int)