Added: Additional DTMF frames
This commit is contained in:
@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- It is now possible to specify the period of the `PipelineTask` heartbeat
|
- It is now possible to specify the period of the `PipelineTask` heartbeat
|
||||||
frames with `heartbeats_period_secs`.
|
frames with `heartbeats_period_secs`.
|
||||||
|
|
||||||
|
- Additional DTMF frames
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed a type error when using `voice_settings` in `ElevenLabsHttpTTSService`.
|
- Fixed a type error when using `voice_settings` in `ElevenLabsHttpTTSService`.
|
||||||
|
|||||||
@@ -394,12 +394,22 @@ class TransportMessageFrame(DataFrame):
|
|||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class InputDTMFFrame(DataFrame):
|
class DTMFFrame(DataFrame):
|
||||||
"""A DTMF button input"""
|
"""A DTMF button frame"""
|
||||||
|
|
||||||
button: KeypadEntry
|
button: KeypadEntry
|
||||||
|
|
||||||
|
|
||||||
|
@dataclass
|
||||||
|
class InputDTMFFrame(DTMFFrame):
|
||||||
|
"""A DTMF button input"""
|
||||||
|
|
||||||
|
|
||||||
|
@dataclass
|
||||||
|
class OuputDTMFFrame(DTMFFrame):
|
||||||
|
"""A DTMF button output"""
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# System frames
|
# System frames
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user