Remove debug logging
Get rid of console.log statements.
Showing
1 changed file
with
0 additions
and
2 deletions
... | @@ -91,7 +91,6 @@ var | ... | @@ -91,7 +91,6 @@ var |
91 | if (buffered) { | 91 | if (buffered) { |
92 | // assuming a single, contiguous buffer region | 92 | // assuming a single, contiguous buffer region |
93 | bufferedTime = player.buffered().end(0) - player.currentTime(); | 93 | bufferedTime = player.buffered().end(0) - player.currentTime(); |
94 | console.log('buffered time:', bufferedTime); | ||
95 | } | 94 | } |
96 | 95 | ||
97 | // if there is plenty of content in the buffer, relax for awhile | 96 | // if there is plenty of content in the buffer, relax for awhile |
... | @@ -136,7 +135,6 @@ var | ... | @@ -136,7 +135,6 @@ var |
136 | player); | 135 | player); |
137 | } | 136 | } |
138 | 137 | ||
139 | console.log('finished downloading segment ' + player.hls.currentMediaIndex); | ||
140 | segmentXhr = null; | 138 | segmentXhr = null; |
141 | player.hls.currentMediaIndex++; | 139 | player.hls.currentMediaIndex++; |
142 | } | 140 | } | ... | ... |
-
Please register or sign in to post a comment