mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For regression test, add srs-bench to 3rdparty
This commit is contained in:
parent
de87dd427d
commit
876210f6c9
1158 changed files with 256967 additions and 3 deletions
10
trunk/3rdparty/srs-bench/rtc/pion_util.go
vendored
Normal file
10
trunk/3rdparty/srs-bench/rtc/pion_util.go
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
package rtc
|
||||
|
||||
import "fmt"
|
||||
|
||||
func FlattenErrs(errors []error) error {
|
||||
if len(errors) == 0 {
|
||||
return nil
|
||||
}
|
||||
return fmt.Errorf("%v", errors)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue