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());
262 uint8_t *rtp = udpPacket->data();
263 rtp[0] = 0x80;
264 rtp[1] = packetType;
266 rtp[2] = (mRTPSeqNo >> 8) & 0xff;
267 rtp[3] = mRTPSeqNo & 0xff;
273 rtp[4] = rtpTime >> 24;
274 rtp[5] = (rtpTime >> 16) & 0xff;
275 rtp[6] = (rtpTime >> 8) & 0xff;
276 rtp[7] = rtpTime & 0xff;
278 rtp[8] = kSourceID >> 24;
279 rtp[9] = (kSourceID >> 16) & 0xff;
280 rtp[10] = (kSourceID >> 8) & 0xff;
281 rtp[11] = kSourceID & 0xff;
288 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188);
319 size_t outBytesUsed = 12; // Placeholder for RTP header.
352 outBytesUsed = 12; // Placeholder for RTP header
375 // This single NAL unit does not fit into a single RTP packet,
410 outBytesUsed = 12; // Placeholder for RTP header
570 ALOGW("Huh? Received data on RTP connection...");
635 // that's too short to be a valid RTP header.