mirror of
https://github.com/aler9/gortsplib
synced 2025-10-09 00:50:24 +08:00
add UDPReadBufferSize option (#857)
This commit is contained in:
@@ -4,12 +4,14 @@ package multicast
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
// Conn is a Multicast connection.
|
||||
type Conn interface {
|
||||
net.PacketConn
|
||||
SetReadBuffer(int) error
|
||||
SyscallConn() (syscall.RawConn, error)
|
||||
}
|
||||
|
||||
// InterfaceForSource returns a multicast-capable interface that can communicate with given IP.
|
||||
|
Reference in New Issue
Block a user