Skip to content

Skip duplicate DTMF terminal packets#159

Open
yeoleobun wants to merge 5 commits intorestsend:mainfrom
yeoleobun:fix/skip-duplicate-dtmf
Open

Skip duplicate DTMF terminal packets#159
yeoleobun wants to merge 5 commits intorestsend:mainfrom
yeoleobun:fix/skip-duplicate-dtmf

Conversation

@yeoleobun
Copy link
Collaborator

@yeoleobun yeoleobun commented Mar 17, 2026

Summary

  • DMTF event was duplicated, when then end_bit was repeated (always)
  • DMTF wil split/shorted then it should be, happend when the previous audio have already flushed

Change

Fix preivous bug and do some refactor:

  • make the duration much bigger the previous for performance consideration
  • encode/decode once only when flushed
  • flush sample round to mutiple of ptime
  • Remove some dead code

@yeoleobun yeoleobun force-pushed the fix/skip-duplicate-dtmf branch from a9bc9f4 to 2f2f2a4 Compare March 18, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant