Home
last modified time | relevance | path

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

/xiu/protocol/rtsp/src/
H A Drtsp_codec.rs5 pub enum RtspCodecId { enum
14 pub static ref RTSP_CODEC_ID_2_NAME: HashMap<RtspCodecId, &'static str> = {
16 m.insert(RtspCodecId::H264, "h264");
17 m.insert(RtspCodecId::H265, "h265");
18 m.insert(RtspCodecId::AAC, "mpeg4-generic");
19 m.insert(RtspCodecId::G711A, "pcma");
24 m.insert("h264", RtspCodecId::H264);
25 m.insert("h265", RtspCodecId::H265);
26 m.insert("mpeg4-generic", RtspCodecId::AAC);
27 m.insert("pcma", RtspCodecId::G711A);
[all …]
H A Drtsp_channel.rs23 use super::rtsp_codec::RtspCodecId;
117 RtspCodecId::H264 => { in create_unpacker()
120 RtspCodecId::H265 => { in create_unpacker()
123 RtspCodecId::AAC => { in create_unpacker()
126 RtspCodecId::G711A => {} in create_unpacker()
131 RtspCodecId::H264 => { in create_packer()
140 RtspCodecId::H265 => { in create_packer()
149 RtspCodecId::AAC => { in create_packer()
157 RtspCodecId::G711A => {} in create_packer()