Commit aa9dfbd
fix: CMAF HLS. Source buffer change type is called with wrong codecs sometimes when append segment without init data because of a race condition. (#1374)
* Get Codecs: Always use playlist for current pending segment instead of currently loaded playlist.
* fix eslint errors
* Clear active init segment id during reset everything
---------
Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>1 parent 59d98df commit aa9dfbd
File tree
3 files changed
+54
-7
lines changed- src
- test
3 files changed
+54
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1725 | 1725 | | |
1726 | 1726 | | |
1727 | 1727 | | |
| 1728 | + | |
| 1729 | + | |
1728 | 1730 | | |
1729 | 1731 | | |
1730 | | - | |
| 1732 | + | |
1731 | 1733 | | |
1732 | 1734 | | |
1733 | 1735 | | |
| |||
1748 | 1750 | | |
1749 | 1751 | | |
1750 | 1752 | | |
1751 | | - | |
| 1753 | + | |
1752 | 1754 | | |
1753 | 1755 | | |
1754 | 1756 | | |
| |||
1773 | 1775 | | |
1774 | 1776 | | |
1775 | 1777 | | |
1776 | | - | |
1777 | | - | |
| 1778 | + | |
| 1779 | + | |
1778 | 1780 | | |
1779 | 1781 | | |
1780 | 1782 | | |
1781 | 1783 | | |
1782 | | - | |
| 1784 | + | |
1783 | 1785 | | |
1784 | 1786 | | |
1785 | 1787 | | |
| |||
1800 | 1802 | | |
1801 | 1803 | | |
1802 | 1804 | | |
1803 | | - | |
| 1805 | + | |
1804 | 1806 | | |
1805 | 1807 | | |
1806 | 1808 | | |
| |||
1825 | 1827 | | |
1826 | 1828 | | |
1827 | 1829 | | |
1828 | | - | |
| 1830 | + | |
1829 | 1831 | | |
1830 | 1832 | | |
1831 | 1833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
| 1165 | + | |
1165 | 1166 | | |
1166 | 1167 | | |
1167 | 1168 | | |
| |||
1982 | 1983 | | |
1983 | 1984 | | |
1984 | 1985 | | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1985 | 1990 | | |
1986 | 1991 | | |
1987 | 1992 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5092 | 5092 | | |
5093 | 5093 | | |
5094 | 5094 | | |
| 5095 | + | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
| 5112 | + | |
| 5113 | + | |
5095 | 5114 | | |
5096 | 5115 | | |
5097 | 5116 | | |
| |||
5123 | 5142 | | |
5124 | 5143 | | |
5125 | 5144 | | |
| 5145 | + | |
| 5146 | + | |
| 5147 | + | |
| 5148 | + | |
| 5149 | + | |
| 5150 | + | |
| 5151 | + | |
| 5152 | + | |
| 5153 | + | |
| 5154 | + | |
| 5155 | + | |
| 5156 | + | |
| 5157 | + | |
| 5158 | + | |
| 5159 | + | |
| 5160 | + | |
| 5161 | + | |
| 5162 | + | |
| 5163 | + | |
| 5164 | + | |
| 5165 | + | |
5126 | 5166 | | |
5127 | 5167 | | |
5128 | 5168 | | |
| |||
0 commit comments