ClientState: 1
ClientState: 2
ClientState: 3
ClientState: 4
ClientState: 5
ClientState: 6
received server window size: 2500000
received peer bandwidth limit: 2500000 type: 2
Received invoke
pktId: 1
received invoke _result
tracked command: connect
ClientState: 7
received unknown packet type: 0x00
Received invoke
pktId: 2
received invoke _result
tracked command: releaseStream
Received invoke
pktId: 3
received invoke _result
tracked command: FCPublish
Received invoke
pktId: 4
received invoke _result
tracked command: createStream
ClientState: 8
Received invoke
pktId: 0
收到了onStatus的调用
然后应用程序在RTMPSession::parseStatusCode
内崩溃并停止 - 在do-while循环中strncpy的大部分时间导致EXC_BAD_ACCESS
异常,有时几行之后。
和
int ret = ((val[2]&0xff)) | ((val[1]&0xff) << 8) | ((val[0]&0xff)<<16) ; -------- bad excess code
您对如何解决这个问题有任何想法吗?
其他信息:我们在服务器端使用Red5。