Home
last modified time | relevance | path

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

/webrtc/rtp/src/codecs/vp8/
H A Dvp8_test.rs24 let payload = pck.depacketize(&raw_bytes).expect("Normal packet"); in test_vp8_unmarshal()
28 let raw_bytes = Bytes::from_static(&[0x80, 0x00, 0x00, 0x00]); in test_vp8_unmarshal() localVariable
29 let payload = pck.depacketize(&raw_bytes).expect("Only X"); in test_vp8_unmarshal()
48 let raw_bytes = Bytes::from_static(&[0x80, 0x40, 0x00, 0x00]); in test_vp8_unmarshal() localVariable
49 let payload = pck.depacketize(&raw_bytes).expect("X and L"); in test_vp8_unmarshal()
58 let raw_bytes = Bytes::from_static(&[0x80, 0x20, 0x00, 0x00]); in test_vp8_unmarshal() localVariable
59 let payload = pck.depacketize(&raw_bytes).expect("X and T"); in test_vp8_unmarshal()
68 let raw_bytes = Bytes::from_static(&[0x80, 0x10, 0x00, 0x00]); in test_vp8_unmarshal() localVariable
69 let payload = pck.depacketize(&raw_bytes).expect("X and K"); in test_vp8_unmarshal()
80 .depacketize(&raw_bytes) in test_vp8_unmarshal()
[all …]
/webrtc/rtp/src/codecs/opus/
H A Dopus_test.rs13 let raw_bytes = Bytes::from_static(&[0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x90]); in test_opus_unmarshal() localVariable
14 let payload = pck.depacketize(&raw_bytes)?; in test_opus_unmarshal()
15 assert_eq!(&raw_bytes, &payload, "Payload must be same"); in test_opus_unmarshal()