-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Shaka player does not play video when play button is pressed #600
Comments
@sridhardvvce, can you please test something for me? I have been working on a bug today that may be related. In lib/media/playhead.js, in the constructor, change |
I believe this was fixed by 84fb9d4. If not, please let me know and we can reopen and investigate. |
As mentioned by @sridhardvvce in #637, this is not fixed yet. Reopening to investigate. |
Manifest link from the original issue, #585: https://s3-ap-southeast-1.amazonaws.com/learnyst/schools/1094/courses/6677/paid/25537/online/11/004_video_youtube_1mb_fdq7pg2zj7la7v7bke29webTrack.mpd |
@sridhardvvce, I am unable to reproduce your issue using the latest code from Please provide detailed instructions to reproduce your issue. Here's a template:
|
Hi, What version of Shaka Player are you using? Can you reproduce the issue with the latest code from master? Are you using the demo app or your own custom app? What browser and OS are you using? What did you do? What content did you load? If standard demo asset, which one? How did you interact with the content, if at all? What did you expect to happen? |
I have taken the latest master code and used the demo player to test the content. I have removed the auto play from the video tag in the index.html of demo player. Steps:
Most of the times the content will be played when the play button is pressed. Some times it will display the loading progress and will not play the content. If we seek little bit then the content will start playing immediately |
@joeyparrish are you able to reproduce the issue? Do you need any help from me? |
@joeyparrish I have another video where this issue is reproduced most of the time https://s3-ap-southeast-1.amazonaws.com/learnyst/schools/1075/courses/8921/paid/42061/online/tst/2016-11-14_20_01__CGL17_Maths_Live_ClasswebTrack.mpd |
Sorry for the delay. We've been really busy lately! We'll take a look and see if we can reproduce. |
Here are the first few frame times of the audio stream, according to Chrome:
The first few audio frames in the presentation have a So either this is Chrome's bug or the content is bad. I would suggest contacting the encoder that made the content to make sure that |
@joeyparrish I have tested this content with DASH player(http://dashif.org/reference/players/javascript/1.4.0/samples/dash-if-reference-player/) and it plays fine. But this content fails to play without seeking in shaka player. |
@TheModMaker with DASH reference player(http://dashif.org/reference/players/javascript/1.4.0/samples/dash-if-reference-player/) I am able to play the content. In shaka player this content will play only when we seek initially. |
@joeyparrish @TheModMaker I have tried this content with expressplay SDK also. The content is played successfully. Can you please help in resolving the issue in shaka player |
Before, we would use the last appended segment to determine how much we have buffered in StreamingEngine. However, this causes a slight difference between StreamingEngine and Playhead, which uses the MediaSource buffered ranges. If the video has a non-zero drift, StreamingEngine will think it has buffered enough and will stop buffering, but Playhead will see the buffered ranges slightly less than the goal and wait forever. Issue #600 Change-Id: Ib68df5f8a84c15bcc8530f9db9c6b9a06e6a72ba
I just pushed a change that should fix the problem. Please try again with the latest from |
@TheModMaker I have tested the latest code. But still the issue exist. |
@TheModMaker . Sorry. It was my mistake. The issue is resolved Thanks a lot |
Thanks for retesting. Closing as resolved. |
Before, we would use the last appended segment to determine how much we have buffered in StreamingEngine. However, this causes a slight difference between StreamingEngine and Playhead, which uses the MediaSource buffered ranges. If the video has a non-zero drift, StreamingEngine will think it has buffered enough and will stop buffering, but Playhead will see the buffered ranges slightly less than the goal and wait forever. Issue #600 Based on Change-Id: Ib68df5f8a84c15bcc8530f9db9c6b9a06e6a72ba
@joeyparrish @TheModMaker I encountered this exact same issue using v2.0.6 as well as master on Chrome 57. Here's the sample stream: https://akadash0-test.akamaized.net/test/clear/test-multi-audio/master.mpd It is reproducible in the demo page, and verified that this started occurring between v2.0.0 and v2.0.1 Thoughts? |
@hghazzi First I am getting a 403 error for the manifest. Please post an accessible manifest. Also please open a new issue. |
@TheModMaker Done. Stream worked fine for me |
Hi,
This is continuation of issue #585 .
@joeyparrish I have updated the latest code.
If I play the video several times the issue will be reproduced 1 or 2 times (say 1 out of 10 times). When the video is not played if I seek a little the video starts playing.
Since the #585 ticket was closed I raised a new ticket.
Please help in fixing the issue
The text was updated successfully, but these errors were encountered: