simulcast codecs support (#720)
simulcast codecs support Co-authored-by: David Zhao <dz@livekit.io>
This commit is contained in:
co-authored by
David Zhao
parent
3054f3eea3
commit
f958fbcc1c
@@ -27,7 +27,9 @@ func NewDependencyDescriptorReader(buf []byte, structure *FrameDependencyStructu
|
||||
}
|
||||
|
||||
func (r *DependencyDescriptorReader) Parse() (int, error) {
|
||||
r.readMandatoryFields()
|
||||
if err := r.readMandatoryFields(); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
if len(r.buffer.buf) > 3 {
|
||||
err := r.readExtendedFields()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user