Groupsock::output()->OutputSocket::write()->writeSocket()->sendto()
根據: https://tools.ietf.org/html/rfc3550
MultiFramedRTPSource.cpp -> networkReadHandler1()
unsigned rtpHdr = ntohl(*(u_int32_t*)(bPacket->data())); ADVANCE(4);
Boolean rtpMarkerBit = (rtpHdr&0x00800000) != 0;
unsigned rtpTimestamp = ntohl(*(u_int32_t*)(bPacket->data()));ADVANCE(4);
unsigned rtpSSRC = ntohl(*(u_int32_t*)(bPacket->data())); ADVANCE(4);
可以看到rtp解封包後的資訊處理.
沒有留言:
張貼留言