슈리튬
8378056a04
Fix the problem when audioFormat's length is zero.
In befor code,
```js
if(opusFormats.length === 0){
type = StreamType.Arbitrary
final.push(audioFormat[audioFormat.length - 1])
}
else{
type = StreamType.WebmOpus
final.push(opusFormats[opusFormats.length - 1])
}
if(final.length === 0) {
type = StreamType.Arbitrary
final.push(info.format[info.format.length - 1])
}
```
length of final cannot be 0 coz it only check `opusFormats.length === 0`.
2021-09-11 21:08:04 +09:00
..
2021-09-09 21:50:19 +05:30
2021-09-11 21:08:04 +09:00
2021-09-09 09:25:21 +05:30