support encrypted streams with SRTP and MIKEY (#520) (#809)

This commit is contained in:
Alessandro Ros
2025-07-05 12:48:13 +02:00
committed by GitHub
parent a5ff92f130
commit 616fa7ea89
104 changed files with 4179 additions and 766 deletions

View File

@@ -268,7 +268,7 @@ func rangeValueUnmarshal(s RangeValue, v string) error {
// Range is a Range header.
type Range struct {
// range expressed in a certain unit.
// range expressed in some measurement units.
Value RangeValue
// time at which the operation is to be made effective.
@@ -285,9 +285,7 @@ func (h *Range) Unmarshal(v base.HeaderValue) error {
return fmt.Errorf("value provided multiple times (%v)", v)
}
v0 := v[0]
kvs, err := keyValParse(v0, ';')
kvs, err := keyValParse(v[0], ';')
if err != nil {
return err
}