easemob / livestream_demo_ios

直播demo iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

观看直播一段时间后,会报以下错误,然后导致观看端退出直播间。

JYungSiu opened this issue · comments

如题:
使用的播放流协议是rtmp,播放端播放大概20分钟左右就会报以下错误。从而导致用户退出直播间,退出直播间后声音依然在后台播放,尝试在意外退出的时候stop player也无效。望解惑。
日志如下:

Stream discovered after head already parsed
Audio codec (9) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
discarding packet!!!!!
aout_pause_audio(1)
2017-05-04 14:49:13.736855+0800 xx[23212:5938164] FFP_MSG_BUFFERING_START:
2017-05-04 14:49:21.992434+0800 xx[23212:5938164] FFP_MSG_ERROR: 7
2017-05-04 14:49:21.993506+0800 xx[23212:5938164] backState:1
2017-05-04 14:49:22.004803+0800 xx[23212:5938164] player manager finish reason playback error! subErrorCode:7
2017-05-04 14:49:22.005150+0800 xx[23212:5938164] 视频播放错误,正在尝试重连,剩余次数3
2017-05-04 14:49:22.005364+0800 xx[23212:5938164] finish reason playback error = 7
[2017/05/04 14:49:22:030]: asyncSendMessage: 14938805620040037 retry = 2
[2017/05/04 14:49:22:034]: log: level: 1, area: 1, SEND:
{ verison : MSYNC_V1, compress_algorimth : 0, command : SYNC, payload : { meta : { id : 14938805620040037, to : 15184017031169@conference.easemob.com, ns : CHAT, payload : { chattype : CHATROOM, from : , to : 15184017031169, contents : [ { contenttype : TEXT, text : 离开直播 } ], exts : [ { key : fromUserInfo, type : 7, value : {"phone":"","displayName":"","request_accept":false,"is_remove":0,"status":0,"picture_url":"/xhapi/MemberImg/2017-05-04/mm_7520328444244358.jpg","wp_member_info_id":"7520328444641982","response":false,"nickName":"","isSelected":false} } ] } } } }

[2017/05/04 14:49:22:034]: asyncSendMessage: 14938805620040037 trackerRetry = 2
av_read_frame error: fffffffb(\377,\377,\377,\373): unknown
aout_pause_audio(0)
[2017/05/04 14:49:22:119]: restBaseUrl()
[2017/05/04 14:49:22:119]: EMDNSManager::getCurrentHost: type: 3
[2017/05/04 14:49:22:119]: EMSessionManager::checkDNS()
[2017/05/04 14:49:22:119]: EMDNSManager::getHost: type: 3
[2017/05/04 14:49:22:120]: current host: domain: 182.92.0.214 port: 80
[2017/05/04 14:49:22:120]: token is valid

@JYungSiu demo退出直播间都是收到回调或者主动退出,直播流播放错误是不会导致退出直播间