Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

播放RTMP,网络差时,卡时,经常收不到任何消息 #1464

Open
aBusyAnt opened this issue Jun 14, 2016 · 1 comment
Open

播放RTMP,网络差时,卡时,经常收不到任何消息 #1464

aBusyAnt opened this issue Jun 14, 2016 · 1 comment

Comments

@aBusyAnt
Copy link

aBusyAnt commented Jun 14, 2016

#8

播放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

@bbcallen
Copy link
Contributor

It means you've got an error while decoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants