Open GoogleCodeExporter opened 9 years ago
This is still a potential issue, although it tends to show up only when some
other problem causes the error condition.
We need a reliable way to handle an error within the player which causes an
extended clip to never finish playback, hanging the player (playback does
resume if the Play/Pause button is pressed, however).
A quick inspection shows that this condition does NOT fire a JWPlayer onError
event (perhaps because of how media.php handles the condition?).
Original comment by Owen.R.E...@gmail.com
on 7 Oct 2013 at 7:41
Detect the error condition as reported from DVX API, and play a short (0.1
second) silence MP3 instead. The error is logged to "YDmedia.log".
Original comment by Owen.R.E...@gmail.com
on 8 Oct 2013 at 11:19
Following the steps to reproduce outlined in the original report, this bug is
still present using Windows7 and IE10. The player hangs at 16 seconds.
Original comment by joshua.a...@gmail.com
on 31 Oct 2013 at 5:32
The DVX API to get this clip:
http://dvx.ski.org:9090/dvx2Api/clip?Function=descriptions&Chapter=0&Language=En
glish&Time=16.0&UserId=30&MediaId=N33q303jSy0
returns an error message:
The server encountered an internal error that prevented it from fulfilling this
request.
java.lang.NullPointerException
com.kwilliams.dvxApi.AugmentedStreamingOutput.write(AugmentedStreamingOutput.java:25)
com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1451)
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Original comment by Owen.R.E...@gmail.com
on 1 Nov 2013 at 4:15
There are two issues here:
1/. We need some automated garbage cleanup, or at least garbage detection and
reporting (with manual deletion), for the DVX database.
2/. YouDescribe needs to be more robust in handling errors during playback.
I've finally gone ahead and put more thorough detection and handling of
CURL/HTTP transfer errors in clip playback in YouDescribe, and this one is a
good test; it now plays the short silence and resumes video playback. However,
I can't yet detect if a corrupted clip (like Ting created) comes from DVX; I
think we need to think about this more after the upcoming release.
Original comment by Owen.R.E...@gmail.com
on 2 Nov 2013 at 6:02
Issue 97 is now a separate issue related to YouDescribe detecting and handling
a corrupt audio clip.
YouDescribe now handles clip playback error messages from DVX (see #5 above),
so this issue (Issue 36) just relates to DVX handling of corrupt audio clips
now.
Original comment by Owen.R.E...@gmail.com
on 6 Jan 2014 at 7:29
Original issue reported on code.google.com by
joshua.a...@gmail.com
on 19 Apr 2013 at 4:56