1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

TEST: Upgrade pion to v3.2.9. (#3567)

------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
Winlin 2023-06-05 11:25:04 +08:00 committed by winlin
parent 900c4cdd97
commit 1545425e06
1383 changed files with 118469 additions and 41421 deletions

View file

@ -1,6 +1,6 @@
// The MIT License (MIT)
//
// Copyright (c) 2021 Winlin
// # Copyright (c) 2021 Winlin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
@ -21,7 +21,7 @@
package vnet
import (
"github.com/pion/transport/vnet"
"github.com/pion/transport/v2/vnet"
)
type Router = vnet.Router
@ -30,7 +30,7 @@ type Net = vnet.Net
type NetConfig = vnet.NetConfig
type RouterConfig = vnet.RouterConfig
func NewNet(config *NetConfig) *Net {
func NewNet(config *NetConfig) (*Net, error) {
return vnet.NewNet(config)
}
func NewRouter(config *RouterConfig) (*Router, error) {