scottlamb / retina

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

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

Open tubzby opened 1 week ago

tubzby commented 1 week 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.