Commit 2f3920c
committed
[YouTube] Return approxDurationMs value from YouTube's player response in ItagItems generated
This change allows to build DASH manifests using YoutubeDashManifestCreator with the real duration of streams and prevent potential cuts of the end of progressive streams, because the duration in YouTube's player response is in seconds and not milliseconds.1 parent 4158fc4 commit 2f3920c
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
- extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
1396 | 1397 | | |
1397 | 1398 | | |
1398 | 1399 | | |
1399 | | - | |
| 1400 | + | |
1400 | 1401 | | |
1401 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
1402 | 1405 | | |
1403 | 1406 | | |
1404 | 1407 | | |
| |||
0 commit comments