Home
last modified time | relevance | path

Searched refs:m_body (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/
H A Drtmp.c197 p->m_body = ptr + RTMP_MAX_HEADER_SIZE; in RTMPPacket_Alloc()
205 if (p->m_body) in RTMPPacket_Free()
207 free(p->m_body - RTMP_MAX_HEADER_SIZE); in RTMPPacket_Free()
208 p->m_body = NULL; in RTMPPacket_Free()
218 p->m_nBodySize, p->m_body ? (unsigned char)p->m_body[0] : 0); in RTMPPacket_Dump()
1303 int nRes = obj.Decode(packet.m_body+1, packet.m_nBodySize-1); in RTMP_ClientPacket()
1312 if (HandleInvoke(r, packet->m_body + 1, packet->m_nBodySize - 1) == 1) in RTMP_ClientPacket()
1320 if (HandleMetadata(r, packet->m_body, packet->m_nBodySize)) in RTMP_ClientPacket()
1335 if (HandleInvoke(r, packet->m_body, packet->m_nBodySize) == 1) in RTMP_ClientPacket()
1347 …uint32_t dataSize = AMF_DecodeInt24(packet->m_body + pos + 1); /* size without header (11) and pre… in RTMP_ClientPacket()
[all …]
H A Drtmp.h124 char *m_body; member
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpsrv.c187 packet.m_body = pbuf + RTMP_MAX_HEADER_SIZE; in SendConnectResult()
189 char *enc = packet.m_body; in SendConnectResult()
228 packet.m_nBodySize = enc - packet.m_body; in SendConnectResult()
245 packet.m_body = pbuf + RTMP_MAX_HEADER_SIZE; in SendResultNumber()
247 char *enc = packet.m_body; in SendResultNumber()
253 packet.m_nBodySize = enc - packet.m_body; in SendResultNumber()
280 packet.m_body = pbuf + RTMP_MAX_HEADER_SIZE; in SendPlayStart()
282 char *enc = packet.m_body; in SendPlayStart()
296 packet.m_nBodySize = enc - packet.m_body; in SendPlayStart()
312 packet.m_body = pbuf + RTMP_MAX_HEADER_SIZE; in SendPlayStop()
[all …]
H A Drtmpsuck.c163 if (body > pack->m_body) in ServeInvoke()
509 ret = ServeInvoke(server, which, packet, packet->m_body + 1); in ServePacket()
522 ret = ServeInvoke(server, which, packet, packet->m_body); in ServePacket()
533 RTMP_LogHex(RTMP_LOGDEBUG, packet->m_body, packet->m_nBodySize); in ServePacket()
550 char *packetBody = packet->m_body; in WriteStream()
847 server->rs.m_inChunkSize = AMF_DecodeInt32(ps.m_body); in doServe()
858 int count = AMF_DecodeInt32(ps.m_body); in doServe()
866 short nType = AMF_DecodeInt16(ps.m_body); in doServe()
870 char *ptr = ps.m_body+2; in doServe()
924 server->rc.m_inChunkSize = AMF_DecodeInt32(pc.m_body); in doServe()
[all …]