#2089 closed enhancement (fixed)
Support receiving Opus packets with various frame lengths
Reported by: | ming | Owned by: | nanang |
---|---|---|---|
Priority: | normal | Milestone: | release-2.8 |
Component: | pjmedia | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
From the RFC 7587:
The Opus encoder can output encoded frames representing 2.5, 5, 10, 20, 40, or 60 ms of speech or audio data. Further, an arbitrary number of frames can be combined into a packet, up to a maximum packet duration representing 120 ms of speech or audio data.
For example, for a packet duration of 40ms, we can receive 1 frame of 40ms, 2x20ms, 4x10ms, etc. However, currently pjmedia only expects constant frame length to be specified during stream creation.
Thank you to Marcus Froeschl for the suggestion and patch testing.
Change History (3)
comment:1 Changed 7 years ago by ming
- Resolution set to fixed
- Status changed from new to closed
comment:2 follow-up: ↓ 3 Changed 6 years ago by nanang
In 5799:
Note: See
TracTickets for help on using
tickets.
In 5734: