Added: Additional DTMF frames

This commit is contained in:
Joe Garlick
2025-01-22 13:47:23 +00:00
committed by GitHub
parent 0d79a9eaa6
commit b72504f1cb
2 changed files with 14 additions and 2 deletions

View File

@@ -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
frames with `heartbeats_period_secs`.
- Additional DTMF frames
### Fixed
- Fixed a type error when using `voice_settings` in `ElevenLabsHttpTTSService`.

View File

@@ -394,12 +394,22 @@ class TransportMessageFrame(DataFrame):
@dataclass
class InputDTMFFrame(DataFrame):
"""A DTMF button input"""
class DTMFFrame(DataFrame):
"""A DTMF button frame"""
button: KeypadEntry
@dataclass
class InputDTMFFrame(DTMFFrame):
"""A DTMF button input"""
@dataclass
class OuputDTMFFrame(DTMFFrame):
"""A DTMF button output"""
#
# System frames
#