scottlamb / retina

High-level RTSP multimedia streaming library, in Rust
https://crates.io/crates/retina
Apache License 2.0
244 stars 48 forks source link

Proposal: VideoParameter should expose sps/vps directly. #105

Open tubzby opened 5 months ago

tubzby commented 5 months ago

Most of the cases, we should insert SPS&PPS at the start of a KeyFrame(if it does NOT exist). AFAIK, SPS/PPS can only accessed by parsing VideoParameters::extra_data(), which is not quite convenient.