Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio out of sync on Chrome 48 #218

Closed
jikard0 opened this issue Jan 30, 2016 · 11 comments
Closed

Audio out of sync on Chrome 48 #218

jikard0 opened this issue Jan 30, 2016 · 11 comments
Labels

Comments

@jikard0
Copy link

jikard0 commented Jan 30, 2016

After playing 2-3 minutes audio goes out of sync on Google Chrome 48

http://dailymotion.github.io/hls.js/demo/?src=http%3A%2F%2F176.31.50.48%3A1935%2Ftest%2F2014tvtvn%2Fplaylist.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&levelCapping=-1

On IE,FF audio is fine even after few hours

@jikard0
Copy link
Author

jikard0 commented Feb 1, 2016

Seems there is old case for that issue https://github.com/dailymotion/hls.js/issues/186
The issue is not resolved and appears only at Google Chrome(Win,Lin).
As bikegriffith said sync is lost at about 1:38.

http://dailymotion.github.io/hls.js/demo/?src=https%3A%2F%2Fdev-recordings.boxcast.com%2Frecordings%2Fbajpw7wcvg1rtsunae2p%2F238%2F262%2F360p.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&levelCapping=-1

I'm wondering is this issue came from MSE in Google Chrome or hls.js itself.
At the begging
[log] > parsed video,PTS:[0.067,10.077],DTS:[0.000/10.010],nb:300
[log] > parsed audio,PTS:[0.076,10.082],DTS:[0.076/10.082],nb:469

at 2"

logger.js:37 [log] > parsed video,PTS:[141.117,151.127],DTS:[141.050/151.060],nb:300
logger.js:37 [log] > parsed audio,PTS:[141.131,151.148],DTS:[141.131/151.148],nb:470

Seems that there is no big difference in PTS which makes me thing the issue could came from MSE in Chrome?

@mangui
Copy link
Member

mangui commented Feb 1, 2016

this case is different IMHO, in #186 there was a progressive shift, whereas in this case it is a sudden shift @ 1:38s
furthermore the position at which the issue happens 1:38 (98s) is not at fragment boundary.

parsed video,PTS:[90.166,101.077],DTS:[90.099/101.010],nb:300
parsed audio,PTS:[90.187,101.098],DTS:[90.187/101.098],nb:491

@mangui
Copy link
Member

mangui commented Feb 1, 2016

I dumped the audio samples timestamp on this fragment and I didn't notice anything strange.
one AAC frame contains 1024 audio samples, with a sampling frequency of 48kHz, it gives one AAC frame every 21,3333ms

also there is no issue mentioned in chrome://media-internals

logger.js:37 [log] > Audio/PTS:90187
logger.js:37 [log] > Audio/PTS:90208
logger.js:37 [log] > Audio/PTS:90230
logger.js:37 [log] > Audio/PTS:90241
logger.js:37 [log] > Audio/PTS:90262
logger.js:37 [log] > Audio/PTS:90284
logger.js:37 [log] > Audio/PTS:90305
logger.js:37 [log] > Audio/PTS:90326
logger.js:37 [log] > Audio/PTS:90348
logger.js:37 [log] > Audio/PTS:90369
logger.js:37 [log] > Audio/PTS:90390
logger.js:37 [log] > Audio/PTS:90412
logger.js:37 [log] > Audio/PTS:90433
logger.js:37 [log] > Audio/PTS:90454
logger.js:37 [log] > Audio/PTS:90476
logger.js:37 [log] > Audio/PTS:90497
logger.js:37 [log] > Audio/PTS:90518
logger.js:37 [log] > Audio/PTS:90540
logger.js:37 [log] > Audio/PTS:90561
logger.js:37 [log] > Audio/PTS:90582
logger.js:37 [log] > Audio/PTS:90604
logger.js:37 [log] > Audio/PTS:90625
logger.js:37 [log] > Audio/PTS:90646
logger.js:37 [log] > Audio/PTS:90668
logger.js:37 [log] > Audio/PTS:90689
logger.js:37 [log] > Audio/PTS:90710
logger.js:37 [log] > Audio/PTS:90732
logger.js:37 [log] > Audio/PTS:90753
logger.js:37 [log] > Audio/PTS:90774
logger.js:37 [log] > Audio/PTS:90796
logger.js:37 [log] > Audio/PTS:90817
logger.js:37 [log] > Audio/PTS:90838
logger.js:37 [log] > Audio/PTS:90860
logger.js:37 [log] > Audio/PTS:90881
logger.js:37 [log] > Audio/PTS:90902
logger.js:37 [log] > Audio/PTS:90924
logger.js:37 [log] > Audio/PTS:90945
logger.js:37 [log] > Audio/PTS:90966
logger.js:37 [log] > Audio/PTS:90988
logger.js:37 [log] > Audio/PTS:91009
logger.js:37 [log] > Audio/PTS:91030
logger.js:37 [log] > Audio/PTS:91052
logger.js:37 [log] > Audio/PTS:91073
logger.js:37 [log] > Audio/PTS:91094
logger.js:37 [log] > Audio/PTS:91116
logger.js:37 [log] > Audio/PTS:91137
logger.js:37 [log] > Audio/PTS:91158
logger.js:37 [log] > Audio/PTS:91180
logger.js:37 [log] > Audio/PTS:91201
logger.js:37 [log] > Audio/PTS:91222
logger.js:37 [log] > Audio/PTS:91244
logger.js:37 [log] > Audio/PTS:91265
logger.js:37 [log] > Audio/PTS:91286
logger.js:37 [log] > Audio/PTS:91308
logger.js:37 [log] > Audio/PTS:91329
logger.js:37 [log] > Audio/PTS:91350
logger.js:37 [log] > Audio/PTS:91372
logger.js:37 [log] > Audio/PTS:91393
logger.js:37 [log] > Audio/PTS:91414
logger.js:37 [log] > Audio/PTS:91436
logger.js:37 [log] > Audio/PTS:91457
logger.js:37 [log] > Audio/PTS:91478
logger.js:37 [log] > Audio/PTS:91500
logger.js:37 [log] > Audio/PTS:91521
logger.js:37 [log] > Audio/PTS:91542
logger.js:37 [log] > Audio/PTS:91564
logger.js:37 [log] > Audio/PTS:91585
logger.js:37 [log] > Audio/PTS:91606
logger.js:37 [log] > Audio/PTS:91628
logger.js:37 [log] > Audio/PTS:91649
logger.js:37 [log] > Audio/PTS:91670
logger.js:37 [log] > Audio/PTS:91692
logger.js:37 [log] > Audio/PTS:91713
logger.js:37 [log] > Audio/PTS:91734
logger.js:37 [log] > Audio/PTS:91756
logger.js:37 [log] > Audio/PTS:91777
logger.js:37 [log] > Audio/PTS:91798
logger.js:37 [log] > Audio/PTS:91820
logger.js:37 [log] > Audio/PTS:91841
logger.js:37 [log] > Audio/PTS:91862
logger.js:37 [log] > Audio/PTS:91884
logger.js:37 [log] > Audio/PTS:91905
logger.js:37 [log] > Audio/PTS:91926
logger.js:37 [log] > Audio/PTS:91948
logger.js:37 [log] > Audio/PTS:91969
logger.js:37 [log] > Audio/PTS:91990
logger.js:37 [log] > Audio/PTS:92012
logger.js:37 [log] > Audio/PTS:92033
logger.js:37 [log] > Audio/PTS:92054
logger.js:37 [log] > Audio/PTS:92076
logger.js:37 [log] > Audio/PTS:92097
logger.js:37 [log] > Audio/PTS:92118
logger.js:37 [log] > Audio/PTS:92140
logger.js:37 [log] > Audio/PTS:92161
logger.js:37 [log] > Audio/PTS:92182
logger.js:37 [log] > Audio/PTS:92204
logger.js:37 [log] > Audio/PTS:92225
logger.js:37 [log] > Audio/PTS:92246
logger.js:37 [log] > Audio/PTS:92268
logger.js:37 [log] > Audio/PTS:92289
logger.js:37 [log] > Audio/PTS:92310
logger.js:37 [log] > Audio/PTS:92332
logger.js:37 [log] > Audio/PTS:92353
logger.js:37 [log] > Audio/PTS:92374
logger.js:37 [log] > Audio/PTS:92396
logger.js:37 [log] > Audio/PTS:92417
logger.js:37 [log] > Audio/PTS:92438
logger.js:37 [log] > Audio/PTS:92460
logger.js:37 [log] > Audio/PTS:92481
logger.js:37 [log] > Audio/PTS:92502
logger.js:37 [log] > Audio/PTS:92524
logger.js:37 [log] > Audio/PTS:92545
logger.js:37 [log] > Audio/PTS:92566
logger.js:37 [log] > Audio/PTS:92588
logger.js:37 [log] > Audio/PTS:92609
logger.js:37 [log] > Audio/PTS:92630
logger.js:37 [log] > Audio/PTS:92662
logger.js:37 [log] > Audio/PTS:92673
logger.js:37 [log] > Audio/PTS:92694
logger.js:37 [log] > Audio/PTS:92716
logger.js:37 [log] > Audio/PTS:92737
logger.js:37 [log] > Audio/PTS:92758
logger.js:37 [log] > Audio/PTS:92780
logger.js:37 [log] > Audio/PTS:92801
logger.js:37 [log] > Audio/PTS:92822
logger.js:37 [log] > Audio/PTS:92844
logger.js:37 [log] > Audio/PTS:92865
logger.js:37 [log] > Audio/PTS:92886
logger.js:37 [log] > Audio/PTS:92908
logger.js:37 [log] > Audio/PTS:92929
logger.js:37 [log] > Audio/PTS:92950
logger.js:37 [log] > Audio/PTS:92972
logger.js:37 [log] > Audio/PTS:92993
logger.js:37 [log] > Audio/PTS:93014
logger.js:37 [log] > Audio/PTS:93036
logger.js:37 [log] > Audio/PTS:93057
logger.js:37 [log] > Audio/PTS:93078
logger.js:37 [log] > Audio/PTS:93100
logger.js:37 [log] > Audio/PTS:93121
logger.js:37 [log] > Audio/PTS:93142
logger.js:37 [log] > Audio/PTS:93164
logger.js:37 [log] > Audio/PTS:93185
logger.js:37 [log] > Audio/PTS:93206
logger.js:37 [log] > Audio/PTS:93228
logger.js:37 [log] > Audio/PTS:93249
logger.js:37 [log] > Audio/PTS:93270
logger.js:37 [log] > Audio/PTS:93292
logger.js:37 [log] > Audio/PTS:93313
logger.js:37 [log] > Audio/PTS:93334
logger.js:37 [log] > Audio/PTS:93356
logger.js:37 [log] > Audio/PTS:93377
logger.js:37 [log] > Audio/PTS:93398
logger.js:37 [log] > Audio/PTS:93420
logger.js:37 [log] > Audio/PTS:93441
logger.js:37 [log] > Audio/PTS:93462
logger.js:37 [log] > Audio/PTS:93484
logger.js:37 [log] > Audio/PTS:93505
logger.js:37 [log] > Audio/PTS:93526
logger.js:37 [log] > Audio/PTS:93548
logger.js:37 [log] > Audio/PTS:93569
logger.js:37 [log] > Audio/PTS:93590
logger.js:37 [log] > Audio/PTS:93612
logger.js:37 [log] > Audio/PTS:93633
logger.js:37 [log] > Audio/PTS:93654
logger.js:37 [log] > Audio/PTS:93676
logger.js:37 [log] > Audio/PTS:93697
logger.js:37 [log] > Audio/PTS:93718
logger.js:37 [log] > Audio/PTS:93740
logger.js:37 [log] > Audio/PTS:93761
logger.js:37 [log] > Audio/PTS:93782
logger.js:37 [log] > Audio/PTS:93804
logger.js:37 [log] > Audio/PTS:93825
logger.js:37 [log] > Audio/PTS:93846
logger.js:37 [log] > Audio/PTS:93868
logger.js:37 [log] > Audio/PTS:93889
logger.js:37 [log] > Audio/PTS:93910
logger.js:37 [log] > Audio/PTS:93932
logger.js:37 [log] > Audio/PTS:93953
logger.js:37 [log] > Audio/PTS:93974
logger.js:37 [log] > Audio/PTS:93996
logger.js:37 [log] > Audio/PTS:94017
logger.js:37 [log] > Audio/PTS:94038
logger.js:37 [log] > Audio/PTS:94060
logger.js:37 [log] > Audio/PTS:94081
logger.js:37 [log] > Audio/PTS:94273
logger.js:37 [log] > Audio/PTS:94316
logger.js:37 [log] > Audio/PTS:94358
logger.js:37 [log] > Audio/PTS:94380
logger.js:37 [log] > Audio/PTS:94401
logger.js:37 [log] > Audio/PTS:94422
logger.js:37 [log] > Audio/PTS:94444
logger.js:37 [log] > Audio/PTS:94465
logger.js:37 [log] > Audio/PTS:94486
logger.js:37 [log] > Audio/PTS:94508
logger.js:37 [log] > Audio/PTS:94529
logger.js:37 [log] > Audio/PTS:94550
logger.js:37 [log] > Audio/PTS:94572
logger.js:37 [log] > Audio/PTS:94593
logger.js:37 [log] > Audio/PTS:94614
logger.js:37 [log] > Audio/PTS:94636
logger.js:37 [log] > Audio/PTS:94657
logger.js:37 [log] > Audio/PTS:94678
logger.js:37 [log] > Audio/PTS:94700
logger.js:37 [log] > Audio/PTS:94721
logger.js:37 [log] > Audio/PTS:94742
logger.js:37 [log] > Audio/PTS:94764
logger.js:37 [log] > Audio/PTS:94785
logger.js:37 [log] > Audio/PTS:94806
logger.js:37 [log] > Audio/PTS:94828
logger.js:37 [log] > Audio/PTS:94849
logger.js:37 [log] > Audio/PTS:94870
logger.js:37 [log] > Audio/PTS:94892
logger.js:37 [log] > Audio/PTS:94913
logger.js:37 [log] > Audio/PTS:94934
logger.js:37 [log] > Audio/PTS:94956
logger.js:37 [log] > Audio/PTS:94977
logger.js:37 [log] > Audio/PTS:94998
logger.js:37 [log] > Audio/PTS:95020
logger.js:37 [log] > Audio/PTS:95041
logger.js:37 [log] > Audio/PTS:95062
logger.js:37 [log] > Audio/PTS:95084
logger.js:37 [log] > Audio/PTS:95105
logger.js:37 [log] > Audio/PTS:95126
logger.js:37 [log] > Audio/PTS:95148
logger.js:37 [log] > Audio/PTS:95169
logger.js:37 [log] > Audio/PTS:95190
logger.js:37 [log] > Audio/PTS:95212
logger.js:37 [log] > Audio/PTS:95233
logger.js:37 [log] > Audio/PTS:95254
logger.js:37 [log] > Audio/PTS:95276
logger.js:37 [log] > Audio/PTS:95297
logger.js:37 [log] > Audio/PTS:95318
logger.js:37 [log] > Audio/PTS:95340
logger.js:37 [log] > Audio/PTS:95361
logger.js:37 [log] > Audio/PTS:95382
logger.js:37 [log] > Audio/PTS:95404
logger.js:37 [log] > Audio/PTS:95425
logger.js:37 [log] > Audio/PTS:95446
logger.js:37 [log] > Audio/PTS:95468
logger.js:37 [log] > Audio/PTS:95489
logger.js:37 [log] > Audio/PTS:95510
logger.js:37 [log] > Audio/PTS:95532
logger.js:37 [log] > Audio/PTS:95553
logger.js:37 [log] > Audio/PTS:95574
logger.js:37 [log] > Audio/PTS:95596
logger.js:37 [log] > Audio/PTS:95617
logger.js:37 [log] > Audio/PTS:95638
logger.js:37 [log] > Audio/PTS:95660
logger.js:37 [log] > Audio/PTS:95681
logger.js:37 [log] > Audio/PTS:95702
logger.js:37 [log] > Audio/PTS:95724
logger.js:37 [log] > Audio/PTS:95745
logger.js:37 [log] > Audio/PTS:95766
logger.js:37 [log] > Audio/PTS:95788
logger.js:37 [log] > Audio/PTS:95809
logger.js:37 [log] > Audio/PTS:95830
logger.js:37 [log] > Audio/PTS:95852
logger.js:37 [log] > Audio/PTS:95873
logger.js:37 [log] > Audio/PTS:95894
logger.js:37 [log] > Audio/PTS:95916
logger.js:37 [log] > Audio/PTS:95937
logger.js:37 [log] > Audio/PTS:95958
logger.js:37 [log] > Audio/PTS:95980
logger.js:37 [log] > Audio/PTS:96001
logger.js:37 [log] > Audio/PTS:96022
logger.js:37 [log] > Audio/PTS:96044
logger.js:37 [log] > Audio/PTS:96065
logger.js:37 [log] > Audio/PTS:96086
logger.js:37 [log] > Audio/PTS:96108
logger.js:37 [log] > Audio/PTS:96129
logger.js:37 [log] > Audio/PTS:96150
logger.js:37 [log] > Audio/PTS:96172
logger.js:37 [log] > Audio/PTS:96193
logger.js:37 [log] > Audio/PTS:96214
logger.js:37 [log] > Audio/PTS:96236
logger.js:37 [log] > Audio/PTS:96257
logger.js:37 [log] > Audio/PTS:96278
logger.js:37 [log] > Audio/PTS:96300
logger.js:37 [log] > Audio/PTS:96406
logger.js:37 [log] > Audio/PTS:96449
logger.js:37 [log] > Audio/PTS:96470
logger.js:37 [log] > Audio/PTS:96492
logger.js:37 [log] > Audio/PTS:96513
logger.js:37 [log] > Audio/PTS:96534
logger.js:37 [log] > Audio/PTS:96556
logger.js:37 [log] > Audio/PTS:96577
logger.js:37 [log] > Audio/PTS:96598
logger.js:37 [log] > Audio/PTS:96620
logger.js:37 [log] > Audio/PTS:96641
logger.js:37 [log] > Audio/PTS:96662
logger.js:37 [log] > Audio/PTS:96684
logger.js:37 [log] > Audio/PTS:96705
logger.js:37 [log] > Audio/PTS:96726
logger.js:37 [log] > Audio/PTS:96748
logger.js:37 [log] > Audio/PTS:96769
logger.js:37 [log] > Audio/PTS:96790
logger.js:37 [log] > Audio/PTS:96812
logger.js:37 [log] > Audio/PTS:96833
logger.js:37 [log] > Audio/PTS:96854
logger.js:37 [log] > Audio/PTS:96876
logger.js:37 [log] > Audio/PTS:96897
logger.js:37 [log] > Audio/PTS:96918
logger.js:37 [log] > Audio/PTS:96940
logger.js:37 [log] > Audio/PTS:96961
logger.js:37 [log] > Audio/PTS:96982
logger.js:37 [log] > Audio/PTS:97004
logger.js:37 [log] > Audio/PTS:97025
logger.js:37 [log] > Audio/PTS:97046
logger.js:37 [log] > Audio/PTS:97068
logger.js:37 [log] > Audio/PTS:97089
logger.js:37 [log] > Audio/PTS:97110
logger.js:37 [log] > Audio/PTS:97132
logger.js:37 [log] > Audio/PTS:97153
logger.js:37 [log] > Audio/PTS:97174
logger.js:37 [log] > Audio/PTS:97196
logger.js:37 [log] > Audio/PTS:97217
logger.js:37 [log] > Audio/PTS:97238
logger.js:37 [log] > Audio/PTS:97260
logger.js:37 [log] > Audio/PTS:97281
logger.js:37 [log] > Audio/PTS:97302
logger.js:37 [log] > Audio/PTS:97324
logger.js:37 [log] > Audio/PTS:97345
logger.js:37 [log] > Audio/PTS:97366
logger.js:37 [log] > Audio/PTS:97388
logger.js:37 [log] > Audio/PTS:97409
logger.js:37 [log] > Audio/PTS:97430
logger.js:37 [log] > Audio/PTS:97452
logger.js:37 [log] > Audio/PTS:97473
logger.js:37 [log] > Audio/PTS:97494
logger.js:37 [log] > Audio/PTS:97516
logger.js:37 [log] > Audio/PTS:97537
logger.js:37 [log] > Audio/PTS:97558
logger.js:37 [log] > Audio/PTS:97580
logger.js:37 [log] > Audio/PTS:97601
logger.js:37 [log] > Audio/PTS:97622
logger.js:37 [log] > Audio/PTS:97644
logger.js:37 [log] > Audio/PTS:97665
logger.js:37 [log] > Audio/PTS:97686
logger.js:37 [log] > Audio/PTS:97708
logger.js:37 [log] > Audio/PTS:97729
logger.js:37 [log] > Audio/PTS:97750
logger.js:37 [log] > Audio/PTS:97772
logger.js:37 [log] > Audio/PTS:97793
logger.js:37 [log] > Audio/PTS:97814
logger.js:37 [log] > Audio/PTS:97836
logger.js:37 [log] > Audio/PTS:97857
logger.js:37 [log] > Audio/PTS:97878
logger.js:37 [log] > Audio/PTS:97900
logger.js:37 [log] > Audio/PTS:97921
logger.js:37 [log] > Audio/PTS:97942
logger.js:37 [log] > Audio/PTS:97964
logger.js:37 [log] > Audio/PTS:97985
logger.js:37 [log] > Audio/PTS:98006
logger.js:37 [log] > Audio/PTS:98028
logger.js:37 [log] > Audio/PTS:98049
logger.js:37 [log] > Audio/PTS:98070
logger.js:37 [log] > Audio/PTS:98092
logger.js:37 [log] > Audio/PTS:98113
logger.js:37 [log] > Audio/PTS:98134
logger.js:37 [log] > Audio/PTS:98156
logger.js:37 [log] > Audio/PTS:98177
logger.js:37 [log] > Audio/PTS:98198
logger.js:37 [log] > Audio/PTS:98220
logger.js:37 [log] > Audio/PTS:98241
logger.js:37 [log] > Audio/PTS:98262
logger.js:37 [log] > Audio/PTS:98284
logger.js:37 [log] > Audio/PTS:98305
logger.js:37 [log] > Audio/PTS:98326
logger.js:37 [log] > Audio/PTS:98348
logger.js:37 [log] > Audio/PTS:98369
logger.js:37 [log] > Audio/PTS:98390
logger.js:37 [log] > Audio/PTS:98412
logger.js:37 [log] > Audio/PTS:98433
logger.js:37 [log] > Audio/PTS:98454
logger.js:37 [log] > Audio/PTS:98476
logger.js:37 [log] > Audio/PTS:98497
logger.js:37 [log] > Audio/PTS:98518
logger.js:37 [log] > Audio/PTS:98540
logger.js:37 [log] > Audio/PTS:98561
logger.js:37 [log] > Audio/PTS:98582
logger.js:37 [log] > Audio/PTS:98604
logger.js:37 [log] > Audio/PTS:98625
logger.js:37 [log] > Audio/PTS:98646
logger.js:37 [log] > Audio/PTS:98668
logger.js:37 [log] > Audio/PTS:98689
logger.js:37 [log] > Audio/PTS:98710
logger.js:37 [log] > Audio/PTS:98732
logger.js:37 [log] > Audio/PTS:98753
logger.js:37 [log] > Audio/PTS:98774
logger.js:37 [log] > Audio/PTS:98796
logger.js:37 [log] > Audio/PTS:98817
logger.js:37 [log] > Audio/PTS:98838
logger.js:37 [log] > Audio/PTS:98860
logger.js:37 [log] > Audio/PTS:98881
logger.js:37 [log] > Audio/PTS:98902
logger.js:37 [log] > Audio/PTS:98924
logger.js:37 [log] > Audio/PTS:98945
logger.js:37 [log] > Audio/PTS:98966
logger.js:37 [log] > Audio/PTS:98988
logger.js:37 [log] > Audio/PTS:99009
logger.js:37 [log] > Audio/PTS:99030
logger.js:37 [log] > Audio/PTS:99052
logger.js:37 [log] > Audio/PTS:99073
logger.js:37 [log] > Audio/PTS:99094
logger.js:37 [log] > Audio/PTS:99116
logger.js:37 [log] > Audio/PTS:99137
logger.js:37 [log] > Audio/PTS:99168
logger.js:37 [log] > Audio/PTS:99180
logger.js:37 [log] > Audio/PTS:99201
logger.js:37 [log] > Audio/PTS:99222
logger.js:37 [log] > Audio/PTS:99244
logger.js:37 [log] > Audio/PTS:99265
logger.js:37 [log] > Audio/PTS:99286
logger.js:37 [log] > Audio/PTS:99308
logger.js:37 [log] > Audio/PTS:99329
logger.js:37 [log] > Audio/PTS:99350
logger.js:37 [log] > Audio/PTS:99372
logger.js:37 [log] > Audio/PTS:99393
logger.js:37 [log] > Audio/PTS:99414
logger.js:37 [log] > Audio/PTS:99436
logger.js:37 [log] > Audio/PTS:99457
logger.js:37 [log] > Audio/PTS:99478
logger.js:37 [log] > Audio/PTS:99500
logger.js:37 [log] > Audio/PTS:99521
logger.js:37 [log] > Audio/PTS:99542
logger.js:37 [log] > Audio/PTS:99564
logger.js:37 [log] > Audio/PTS:99585
logger.js:37 [log] > Audio/PTS:99606
logger.js:37 [log] > Audio/PTS:99628
logger.js:37 [log] > Audio/PTS:99649
logger.js:37 [log] > Audio/PTS:99670
logger.js:37 [log] > Audio/PTS:99692
logger.js:37 [log] > Audio/PTS:99713
logger.js:37 [log] > Audio/PTS:99734
logger.js:37 [log] > Audio/PTS:99756
logger.js:37 [log] > Audio/PTS:99777
logger.js:37 [log] > Audio/PTS:99798
logger.js:37 [log] > Audio/PTS:99820
logger.js:37 [log] > Audio/PTS:99841
logger.js:37 [log] > Audio/PTS:99862
logger.js:37 [log] > Audio/PTS:99948
logger.js:37 [log] > Audio/PTS:99969
logger.js:37 [log] > Audio/PTS:100033
logger.js:37 [log] > Audio/PTS:100054
logger.js:37 [log] > Audio/PTS:100076
logger.js:37 [log] > Audio/PTS:100097
logger.js:37 [log] > Audio/PTS:100118
logger.js:37 [log] > Audio/PTS:100140
logger.js:37 [log] > Audio/PTS:100161
logger.js:37 [log] > Audio/PTS:100182
logger.js:37 [log] > Audio/PTS:100204
logger.js:37 [log] > Audio/PTS:100225
logger.js:37 [log] > Audio/PTS:100246
logger.js:37 [log] > Audio/PTS:100268
logger.js:37 [log] > Audio/PTS:100289
logger.js:37 [log] > Audio/PTS:100310
logger.js:37 [log] > Audio/PTS:100332
logger.js:37 [log] > Audio/PTS:100353
logger.js:37 [log] > Audio/PTS:100374
logger.js:37 [log] > Audio/PTS:100396
logger.js:37 [log] > Audio/PTS:100417
logger.js:37 [log] > Audio/PTS:100438
logger.js:37 [log] > Audio/PTS:100460
logger.js:37 [log] > Audio/PTS:100481
logger.js:37 [log] > Audio/PTS:100502
logger.js:37 [log] > Audio/PTS:100524
logger.js:37 [log] > Audio/PTS:100545
logger.js:37 [log] > Audio/PTS:100566
logger.js:37 [log] > Audio/PTS:100588
logger.js:37 [log] > Audio/PTS:100609
logger.js:37 [log] > Audio/PTS:100630
logger.js:37 [log] > Audio/PTS:100652
logger.js:37 [log] > Audio/PTS:100673
logger.js:37 [log] > Audio/PTS:100694
logger.js:37 [log] > Audio/PTS:100716
logger.js:37 [log] > Audio/PTS:100737
logger.js:37 [log] > Audio/PTS:100758
logger.js:37 [log] > Audio/PTS:100780
logger.js:37 [log] > Audio/PTS:100801
logger.js:37 [log] > Audio/PTS:100822
logger.js:37 [log] > Audio/PTS:100844
logger.js:37 [log] > Audio/PTS:100865
logger.js:37 [log] > Audio/PTS:100886
logger.js:37 [log] > Audio/PTS:100908
logger.js:37 [log] > Audio/PTS:100929
logger.js:37 [log] > Audio/PTS:100950
logger.js:37 [log] > Audio/PTS:100972
logger.js:37 [log] > Audio/PTS:100993
logger.js:37 [log] > Audio/PTS:101014
logger.js:37 [log] > Audio/PTS:101036
logger.js:37 [log] > Audio/PTS:101067

@jikard0
Copy link
Author

jikard0 commented Feb 1, 2016

I understand , both issues are different. But what about the issue about i opened the case
http://dailymotion.github.io/hls.js/demo/?src=http%3A%2F%2F176.31.50.48%3A1935%2Ftest%2F2014tvtvn%2Fplaylist.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&levelCapping=-1

After 5 minutes of watching audio is out of sync. I'm not sure but even with latest changes in 0.4.8. issue still appears(assumed that the changes are related to this case).

@mangui
Copy link
Member

mangui commented Feb 1, 2016

this stream should now work on Chrome
http://dailymotion.github.io/hls.js/demo/?src=https%3A%2F%2Fdev-recordings.boxcast.com%2Frecordings%2Fbajpw7wcvg1rtsunae2p%2F238%2F262%2F360p.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&levelCapping=-1

there were still some missing/misaligned audio PES packets in the stream. (especially from 90 to 100s), you can check this in the logs by disabling worker.

@mangui
Copy link
Member

mangui commented Feb 1, 2016

regarding http://dailymotion.github.io/hls.js/demo/?src=http%3A%2F%2F176.31.50.48%3A1935%2Ftest%2F2014tvtvn%2Fplaylist.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&levelCapping=-1 some audio samples are out of order in the stream, these samples were dropped. they are sorted now instead.
it should work better, but I still get other issues after a while (video error ...)

@jikard0
Copy link
Author

jikard0 commented Feb 1, 2016

I'm watching almost 20 minutes and seem issue is gone. Audio is aligned to video.

@jikard0
Copy link
Author

jikard0 commented Feb 1, 2016

I still noticed those video error. It happens to me few times. Now i'm checking is it from source or the reason is at hls.js

@jikard0
Copy link
Author

jikard0 commented Feb 2, 2016

Now I can confirm issue with audio is resolved. Even after 1 hour audio is aligned. I noticed changes are applied in dist but not in npm registry.

@mangui
Copy link
Member

mangui commented Feb 2, 2016

great !
yes, dist is updated, but a new release would have to be tagged and published so that the npm registry would be updated

@mangui mangui added the Bug label Feb 2, 2016
@mangui
Copy link
Member

mangui commented Feb 8, 2016

now pushed to npm registry through 0.5.0, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants