Open aBusyAnt opened 8 years ago
播放RTMP,网络差时,卡时,理论上应该会收到IJKMPMoviePlayerLoadStateDidChangeNotification,_player.loadState == IJKMPMovieLoadStateStalled 才对,
但经常却收到任何消息,包括IJKMPMoviePlayerPlaybackStateDidChangeNotification、IJKMPMoviePlayerLoadStateDidChangeNotification、IJKMPMoviePlayerPlaybackDidFinishNotification都没有,就会出现画面卡在那里,但是却没有processing 图标,some suggestion? thx. @bbcallen
`- (void)loadStateDidChange:(NSNotification*)notification { IJKMPMovieLoadState loadState = _player.loadState; ...... }
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loadStateDidChange:) name:IJKMPMoviePlayerLoadStateDidChangeNotification object:_player];`
log: 此时收到log: decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr
SDL_VoutVideoToolBox_CreateOverlay(w=640, h=480, fmt=_VTB, dp=0x191e5510) 2016-06-14 18:42:10.982 SioEyeAPP[1387:512844] FFP_MSG_VIDEO_SIZE_CHANGED: 640, 480 decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr SDL_VoutVideoToolBox_CreateOverlay(w=640, h=480, fmt=_VTB, dp=0x191e5510) 2016-06-14 18:42:37.779 SioEyeAPP[1387:512844] FFP_MSG_VIDEO_SIZE_CHANGED: 640, 480 decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr
It means you've got an error while decoding.
8
播放RTMP,网络差时,卡时,理论上应该会收到IJKMPMoviePlayerLoadStateDidChangeNotification,_player.loadState == IJKMPMovieLoadStateStalled 才对,
但经常却收到任何消息,包括IJKMPMoviePlayerPlaybackStateDidChangeNotification、IJKMPMoviePlayerLoadStateDidChangeNotification、IJKMPMoviePlayerPlaybackDidFinishNotification都没有,就会出现画面卡在那里,但是却没有processing 图标,some suggestion? thx. @bbcallen
`- (void)loadStateDidChange:(NSNotification*)notification { IJKMPMovieLoadState loadState = _player.loadState; ...... }
log: 此时收到log: decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr
SDL_VoutVideoToolBox_CreateOverlay(w=640, h=480, fmt=_VTB, dp=0x191e5510) 2016-06-14 18:42:10.982 SioEyeAPP[1387:512844] FFP_MSG_VIDEO_SIZE_CHANGED: 640, 480 decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr SDL_VoutVideoToolBox_CreateOverlay(w=640, h=480, fmt=_VTB, dp=0x191e5510) 2016-06-14 18:42:37.779 SioEyeAPP[1387:512844] FFP_MSG_VIDEO_SIZE_CHANGED: 640, 480 decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr