Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc115 ForwardErrorCorrection::Packet* mediaPacket = NULL; in TEST() local
229 mediaPacket = new ForwardErrorCorrection::Packet; in TEST()
230 mediaPacketList.push_back(mediaPacket); in TEST()
235 mediaPacket->length = random.Rand(kMinPacketSize, kMaxPacketSize); in TEST()
238 mediaPacket->data[0] = random.Rand<uint8_t>(); in TEST()
239 mediaPacket->data[1] = random.Rand<uint8_t>(); in TEST()
247 mediaPacket->data[0] |= 0x80; in TEST()
248 mediaPacket->data[0] &= 0xbf; in TEST()
255 mediaPacket->data[1] &= 0x7f; in TEST()
257 ByteWriter<uint16_t>::WriteBigEndian(&mediaPacket->data[2], in TEST()
[all …]