danylovolokh/VideoPlayerManager

media server died

Opened this issue · 2 comments

Hello

also I recevied message error from MediaPlayer :E/MediaPlayer: error (100, 0) (HTC Desire 510, Android 4.4.3)

Stacktrace:

02-09 16:18:12.494 30613-30613/com.vyda.stream E/MediaPlayer: Should have subtitle controller already set
02-09 16:18:12.494 30613-30613/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 1 >> run, onVideoPreparedMainThread
02-09 16:18:12.504 30613-30613/com.vyda.stream V/VideoPlayerView@1743218976: 1 notifyOnVideoPreparedMainThread
02-09 16:18:12.504 30613-31694/com.vyda.stream V/MessagesHandlerThread: 6030 run, mLastMessage Start
02-09 16:18:12.504 30613-31694/com.vyda.stream V/PlayerMessage: 6030 >> runMessage, Start
02-09 16:18:12.504 30613-31694/com.vyda.stream V/SingleVideoPlayerManager: 6030 getCurrentPlayerState, mCurrentPlayerState STARTING
02-09 16:18:12.514 30613-31694/com.vyda.stream D/Start: 6030 currentState STARTING
02-09 16:18:12.514 30613-31694/com.vyda.stream V/VideoPlayerView@1743218976: 6030 >> start
02-09 16:18:12.514 30613-31694/com.vyda.stream V/ReadyForPlaybackIndicator: 6030 isVideoSizeAvailable true
02-09 16:18:12.514 30613-31694/com.vyda.stream V/ReadyForPlaybackIndicator: 6030 isSurfaceTextureAvailable true
02-09 16:18:12.514 30613-31694/com.vyda.stream V/ReadyForPlaybackIndicator: 6030 isReadyForPlayback true
02-09 16:18:12.514 30613-31694/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 6030 >> start
02-09 16:18:12.524 30613-30613/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 1 << run, onVideoPreparedMainThread
02-09 16:18:12.544 30613-31694/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 6030 start, mState PREPARED
02-09 16:18:12.544 30613-31694/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 6030 start, video is PREPARED, starting playback.
02-09 16:18:12.554 30613-31694/com.vyda.stream D/[MediaPluginDLNA]: [getIsRegionSupported] sRegionCode: 6
02-09 16:18:12.554 30613-31694/com.vyda.stream I/[MediaPluginDLNA]: getSystemService failed!
02-09 16:18:12.554 30613-31694/com.vyda.stream D/MediaPlayer: doStart() in
02-09 16:18:12.554 30613-31694/com.vyda.stream D/MediaPlayer: Htc_getIntParameter = 903
02-09 16:18:12.564 30613-31694/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 6030 startPositionUpdateNotifier, mPositionUpdateNotifier java.util.concurrent.ScheduledThreadPoolExecutor@6858a910[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
02-09 16:18:12.564 30613-31694/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 6030 << start
02-09 16:18:12.564 30613-31694/com.vyda.stream V/VideoPlayerView@1743218976: 6030 << start
02-09 16:18:12.564 30613-31694/com.vyda.stream V/PlayerMessage: 6030 << runMessage, Start
02-09 16:18:12.564 30613-31694/com.vyda.stream V/SingleVideoPlayerManager: 6030 >> setVideoPlayerState, playerMessageState STARTED, videoPlayer VideoPlayerView@1743218976
02-09 16:18:12.564 30613-31694/com.vyda.stream V/SingleVideoPlayerManager: 6030 << setVideoPlayerState, playerMessageState STARTED, videoPlayer VideoPlayerView@1743218976
02-09 16:18:12.564 30613-31694/com.vyda.stream V/MessagesHandlerThread: 6030 mPlayerMessagesQueue []
02-09 16:18:12.564 30613-31694/com.vyda.stream V/MessagesHandlerThread: 6030 queue is empty, wait for new messages
02-09 16:18:12.614 30613-30613/com.vyda.stream D/MediaPlayer: Mediaplayer receives message, message type: 6
02-09 16:18:12.614 30613-30631/com.vyda.stream W/MediaPlayer: info/warning (3, 0)
02-09 16:18:12.614 30613-30613/com.vyda.stream D/MediaPlayer: Mediaplayer receives message, message type: 200
02-09 16:18:12.614 30613-30613/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 1 onInfo
02-09 16:18:12.614 30613-30613/com.vyda.stream I/MediaPlayerWrapperImpl@1750625568: 1 onInfo, MEDIA_INFO_VIDEO_RENDERING_START
02-09 16:18:13.974 30613-30630/com.vyda.stream W/IMediaDeathNotifier: media server died
02-09 16:18:13.974 30613-30630/com.vyda.stream E/MediaPlayer: error (100, 0)
02-09 16:18:13.974 30613-30613/com.vyda.stream D/MediaPlayer: Mediaplayer receives message, message type: 100
02-09 16:18:13.994 30613-30613/com.vyda.stream E/MediaPlayer: Error (100,0)
02-09 16:18:13.994 30613-30613/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 1 onErrorMainThread, what 100, extra 0
02-09 16:18:13.994 30613-30613/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 1 stopPositionUpdateNotifier, mPositionUpdateNotifier java.util.concurrent.ScheduledThreadPoolExecutor@6858a910[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 2]
02-09 16:18:13.994 30613-30613/com.vyda.stream V/MediaPlayerWrapperImpl@1750625568: 1 onErrorMainThread, mListener VideoPlayerView@1743218976
02-09 16:18:13.994 30613-30613/com.vyda.stream V/VideoPlayerView@1743218976: 1 onErrorMainThread, this VideoPlayerView@1743218976
02-09 16:18:13.994 30613-30613/com.vyda.stream V/VideoPlayerView@1743218976: 1 onErrorMainThread, what MEDIA_ERROR_SERVER_DIED
02-09 16:18:13.994 30613-30613/com.vyda.stream V/VideoPlayerView@1743218976: 1 notifyOnErrorMainThread
02-09 16:18:13.994 30613-30613/com.vyda.stream V/SingleVideoPlayerManager: 1 onErrorMainThread, what 100, extra 0
02-09 16:18:13.994 30613-31242/com.vyda.stream W/AudioSystem: AudioFlinger server died!
02-09 16:18:13.994 30613-30613/com.vyda.stream D/replej: onErrorMainThread

Error cases are not handled for now. Sorry :)

@rusmichal did you fix this problem ? i have the same problem.