(&self)
| 288 | |
| 289 | impl ToString for CodecFormat { |
| 290 | fn to_string(&self) -> String { |
| 291 | match self { |
| 292 | CodecFormat::VP8 => "VP8".into(), |
| 293 | CodecFormat::VP9 => "VP9".into(), |
| 294 | CodecFormat::AV1 => "AV1".into(), |
| 295 | CodecFormat::H264 => "H264".into(), |
| 296 | CodecFormat::H265 => "H265".into(), |
| 297 | CodecFormat::Unknown => "Unknow".into(), |
| 298 | } |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | #[derive(Debug)] |
no outgoing calls