Home | History | Annotate | Download | only in rtp

Lines Matching refs:rtp

219     uint8_t *rtp = udpPacket->data();
220 rtp[0] = 0x80;
221 rtp[1] = packetType;
223 rtp[2] = (mRTPSeqNo >> 8) & 0xff;
224 rtp[3] = mRTPSeqNo & 0xff;
229 rtp[4] = rtpTime >> 24;
230 rtp[5] = (rtpTime >> 16) & 0xff;
231 rtp[6] = (rtpTime >> 8) & 0xff;
232 rtp[7] = rtpTime & 0xff;
234 rtp[8] = kSourceID >> 24;
235 rtp[9] = (kSourceID >> 16) & 0xff;
236 rtp[10] = (kSourceID >> 8) & 0xff;
237 rtp[11] = kSourceID & 0xff;
239 memcpy(&rtp[12], packet->data(), packet->size());
264 uint8_t *rtp = udpPacket->data();
265 rtp[0] = 0x80;
266 rtp[1] = packetType;
268 rtp[2] = (mRTPSeqNo >> 8) & 0xff;
269 rtp[3] = mRTPSeqNo & 0xff;
275 rtp[4] = rtpTime >> 24;
276 rtp[5] = (rtpTime >> 16) & 0xff;
277 rtp[6] = (rtpTime >> 8) & 0xff;
278 rtp[7] = rtpTime & 0xff;
280 rtp[8] = kSourceID >> 24;
281 rtp[9] = (kSourceID >> 16) & 0xff;
282 rtp[10] = (kSourceID >> 8) & 0xff;
283 rtp[11] = kSourceID & 0xff;
290 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188);
321 size_t outBytesUsed = 12; // Placeholder for RTP header.
354 outBytesUsed = 12; // Placeholder for RTP header
377 // This single NAL unit does not fit into a single RTP packet,
412 outBytesUsed = 12; // Placeholder for RTP header
572 ALOGW("Huh? Received data on RTP connection...");
637 // that's too short to be a valid RTP header.