Commit ad06e74
[mod_opus] configure timestamp increments to be fixed
Allow transcoding between different rate without messing up the
RTP timestamps after transcoding kicks-in.
@celliso1: It appears this PR (#2623) has revealed a bug in the opus encoder affecting the timestamp increment. The RFC 7587 states opus always increments at 48kHz regardless of the payload sample rate, but mod_opus.c is using 16 kHz or 8kHz samples per packet.
Co-authored-by: celliso1 <celliso1@users.noreply.github.com>
Tested-by: Jérôme Poulin <jeromepoulin@gmail.com>1 parent ebc0e54 commit ad06e74
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
1490 | | - | |
| 1490 | + | |
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| |||
1584 | 1584 | | |
1585 | 1585 | | |
1586 | 1586 | | |
1587 | | - | |
| 1587 | + | |
1588 | 1588 | | |
1589 | 1589 | | |
1590 | 1590 | | |
| |||
0 commit comments