mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-09-27 12:02:27 +08:00

this fixes IPv6 reliability issues and allows to receive upstream updates in a more linear way.
14 lines
175 B
Go
14 lines
175 B
Go
package webrtc
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/pion/ice/v4"
|
|
)
|
|
|
|
// TCPMuxWrapper is a wrapper around ice.TCPMux.
|
|
type TCPMuxWrapper struct {
|
|
Mux ice.TCPMux
|
|
Ln net.Listener
|
|
}
|