Issue metadata
Sign in to add a comment
|
Shaka player error with Angel One Widevine on WebView
Reported by
ti...@chromium.org,
May 6 2017
|
||||||||||||||||||||||||
Issue descriptionNexus 5X, Android N (bullhead-userdebug 7.1.2 N2G47F 3769476 dev-keys) WebView monochrome_apk 60.0.3089.0 Debug build To reproduce: 1. Flash device to remove provisioning (although I do not know whether it matters). 2. In WebView shell navigate to https://shaka-player-demo.appspot.com 3. Select asset Angel One (multicodec, multilingual, Widevine) 4. Press Load The playback starts, but after 2-3 seconds the playback stops and the error appears MEDIA.MEDIA_SOURCE_OPERATON_FAILED(0) Sometimes debug build crashes.
,
May 6 2017
,
May 6 2017
The crash in debug build happens when MediaSource throws DOMException:
05-05 18:52:10.228 19026 19062 V chromium: [VERBOSE3:webm_stream_parser.cc(278)] ParseCluster: cluster_parser_->Parse() returned -1
05-05 18:52:10.228 19026 19062 V chromium: [VERBOSE3:webm_stream_parser.cc(101)] Parse: ParseClusters result < 0
05-05 18:52:10.228 19026 19062 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 2 -> 3
05-05 18:52:10.228 19026 19062 E chromium: [ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"Append: stream parsing failed. Data size=92844 append_window_start=0 append_window_end=60.062"}
05-05 18:52:10.229 19026 19062 V chromium: [VERBOSE3:MediaSource.cpp(135)] LogAndThrowDOMException (error=9, message="The 'updating' attribute is true on one or more of this MediaSource's SourceBuffers.")
05-05 18:52:10.260 19026 19062 F chromium: [FATAL:SourceBuffer.cpp(1300)] Check failed: false. DOMExeption should not be thrown.
,
May 6 2017
,
May 6 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ti...@chromium.org
, May 6 2017The error always appears after [VERBOSE2:cdm_session_adapter.cc(200)] OnSessionKeysChange The log: 05-05 18:26:25.324 17793 18042 D MediaCodec: [OMX.google.vp9.decoder] setting dataspace on output surface to #103 05-05 18:26:25.371 552 16563 I WVCdm : CdmEngine::AddKey 05-05 18:26:25.453 552 16563 E WVCdm : Skipping submission. Submission has time travelled.Start=1494033985371195 End=1494033985453151 Tail=1494033985387698. Should be Tail<=Start<=End. 05-05 18:26:25.456 17793 18014 D cr_media: [MediaDrmBridge.java:1364] Key successfully added for session 73696434 05-05 18:26:25.462 17793 17793 I MediaDrm: Drm key status changed 05-05 18:26:25.462 17793 17793 D cr_media: [MediaDrmBridge.java:1314] KeysStatusChange: 73696434, true 05-05 18:26:25.465 17793 17793 I MediaDrm: Drm key expiration update: 0 05-05 18:26:25.466 17793 17793 D cr_media: [MediaDrmBridge.java:1337] ExpirationUpdate: 73696434, 0 05-05 18:26:25.467 17793 18014 V chromium: [VERBOSE2:mojo_cdm_service.cc(228)] OnSessionKeysChange has_additional_usable_key=1 05-05 18:26:25.471 17793 18014 V chromium: [VERBOSE2:mojo_cdm_service.cc(240)] OnSessionExpirationUpdate expiry=1601-01-01 00:00:00.000 UTC 05-05 18:26:25.471 17793 18017 E chromium: [ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"Failed to reconcile encoded audio times with decoded output."} 05-05 18:26:25.472 17793 17831 V chromium: [VERBOSE2:mojo_cdm.cc(306)] OnSessionKeysChange 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(200)] OnSessionKeysChange: session_id = sid4 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(201)] - has_additional_usable_key = 1 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(203)] - key_id = 1089E1A1E1965FF3AD07431438E21F6F, status = USABLE, system_code = 0 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(203)] - key_id = 4F1FF5A355245E4FB9F1B153319A2698, status = USABLE, system_code = 0 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(203)] - key_id = 6EA7B73AA1E25BAFB15A2C0AC5EF3B01, status = USABLE, system_code = 0 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:mojo_cdm.cc(333)] OnSessionExpirationUpdate 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(216)] OnSessionExpirationUpdate: session_id = sid4 05-05 18:26:25.473 17793 17831 V chromium: [VERBOSE2:cdm_session_adapter.cc(218)] - new_expiry_time = NaN 05-05 18:26:25.509 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(1302)] OnBufferingStateChange(1) 05-05 18:26:25.510 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(1806)] SetReadyState(4) 05-05 18:26:25.512 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(584)] SetRate(1) 05-05 18:26:25.512 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(609)] SetVolume(1) 05-05 18:26:25.512 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(439)] Play 05-05 18:26:25.565 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(609)] SetVolume(1) 05-05 18:26:25.592 17793 17793 I chromium: [INFO:CONSOLE(231)] "The last segment should not end before the end of the Period.", source: https://shaka-player-demo.appspot.com/lib/media/segment_index.js (231) 05-05 18:26:25.607 17793 17831 V chromium: [VERBOSE2:webm_stream_parser.cc(137)] ParseInfoAndTracks() 05-05 18:26:25.607 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 1 -> 2 05-05 18:26:25.610 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 2 -> 1 05-05 18:26:25.611 17793 17831 V chromium: [VERBOSE2:webm_stream_parser.cc(137)] ParseInfoAndTracks() 05-05 18:26:25.611 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 1 -> 2 05-05 18:26:25.612 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 2 -> 1 05-05 18:26:27.181 935 3374 D WifiStateMachine: updateCapabilities for config:GoogleGuestfalse,false 05-05 18:26:27.704 17793 17831 V chromium: [VERBOSE2:webm_stream_parser.cc(137)] ParseInfoAndTracks() 05-05 18:26:27.704 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 1 -> 2 05-05 18:26:27.709 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 2 -> 1 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE2:webm_stream_parser.cc(137)] ParseInfoAndTracks() 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 1 -> 2 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE3:webm_parser.cc(936)] ParseListElement: ParseNonListElement() failed 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE3:webm_parser.cc(826)] Parse: ParseListElement() failed 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE3:webm_stream_parser.cc(278)] ParseCluster: cluster_parser_->Parse() returned -1 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE3:webm_stream_parser.cc(101)] Parse: ParseClusters result < 0 05-05 18:26:27.710 17793 17831 V chromium: [VERBOSE1:webm_stream_parser.cc(132)] ChangeState() : 2 -> 3 05-05 18:26:27.711 17793 17831 E chromium: [ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"Append: stream parsing failed. Data size=92844 append_window_start=0 append_window_end=60.062"} 05-05 18:26:27.711 17793 17831 V chromium: [VERBOSE3:MediaSource.cpp(588)] SetReadyState this=0x1035414230 : "open" -> "ended" 05-05 18:26:27.721 17793 17793 I chromium: [INFO:CONSOLE(1247)] "(video:20)", source: https://shaka-player-demo.appspot.com/lib/media/streaming_engine.js (1247) 05-05 18:26:27.722 17793 17831 V chromium: [VERBOSE1:webmediaplayer_impl.cc(1223)] OnError 05-05 18:26:27.722 17793 17793 I chromium: [INFO:CONSOLE(465)] "Player error", source: https://shaka-player-demo.appspot.com/demo/main.js (465)