MCPcopy Create free account

hub / github.com/Haivision/srtgo / functions

Functions124 in github.com/Haivision/srtgo

↓ 34 callersMethodError
()
errors.go:72
↓ 20 callersFunctionNewSrtSocket
NewSrtSocket - Create a new SRT Socket
srtgo.go:82
↓ 15 callersFunctionsrtGetAndClearError
MUST be called from same OS thread that generated the error (i.e.: use runtime.LockOSThread())
errors.go:58
↓ 13 callersMethodClose
Close the SRT socket
srtgo.go:279
↓ 8 callersFunctionInitSRT
InitSRT - Initialize srt library
srtgo.go:72
↓ 6 callersMethodListen
Listen for incoming connections. The backlog setting defines how many sockets may be allowed to wait until they are accepted (excessive connection req
srtgo.go:172
↓ 6 callersMethodgetSockOpt
(opt int, data unsafe.Pointer, size *int)
srtgo.go:487
↓ 6 callersMethodunblock
(mode PollMode, pollerr, ioready bool)
poll.go:230
↓ 5 callersMethodAccept
Accept an incoming connection
accept.go:40
↓ 5 callersMethodsetSockOpt
(opt int, data unsafe.Pointer, size int)
srtgo.go:477
↓ 4 callersFunctionAcceptHelper
(numSockets int, port uint16, options map[string]string, t *testing.T)
srtgo_test.go:120
↓ 4 callersFunctionCreateAddrInet
(name string, port uint16)
netutils.go:70
↓ 4 callersMethodwait
(mode PollMode)
poll.go:96
↓ 4 callersMethodwrapSysErr
(errno syscall.Errno)
errors.go:113
↓ 3 callersMethodConnect
Connect to a remote endpoint
srtgo.go:203
↓ 3 callersMethodIs
(target error)
errors.go:86
↓ 3 callersMethodRead
Read data from the SRT socket
read.go:40
↓ 3 callersMethodWrite
Write data to the SRT socket
write.go:40
↓ 3 callersMethodpostconfiguration
(sck *SrtSocket)
srtgo.go:556
↓ 3 callersMethodreset
(mode PollMode)
poll.go:259
↓ 3 callersMethodsetDeadline
(t time.Time, mode PollMode)
poll.go:190
↓ 3 callersFunctionudpAddrFromSockaddr
(addr *syscall.RawSockaddrAny)
netutils.go:19
↓ 2 callersFunctionbenchAccept
(blocking string, N int)
poll_test.go:23
↓ 2 callersMethodcheckPollErr
(mode PollMode)
poll.go:172
↓ 2 callersFunctionntohs
(val uint16)
netutils.go:14
↓ 2 callersFunctionpollDescInit
(s C.SRTSOCKET)
poll.go:70
↓ 2 callersFunctionrandomPort
()
srtgo_test.go:14
↓ 2 callersMethodrelease
()
poll.go:86
↓ 2 callersFunctionrunTransmitBench
(b *testing.B, blocking bool)
rw_test.go:87
↓ 2 callersFunctionsetSocketOptions
Set socket options for SRT
srtsocketoptions.go:133
↓ 2 callersFunctionsrtRecvMsg2Impl
(u C.SRTSOCKET, buf []byte, msgctrl *C.SRT_MSGCTRL)
read.go:24
↓ 2 callersFunctionsrtSendMsg2Impl
(u C.SRTSOCKET, buf []byte, msgctrl *C.SRT_MSGCTRL)
write.go:24
↓ 2 callersFunctionstoreLogCBPtr
(ptr unsafe.Pointer)
logging.go:59
↓ 1 callersMethodGetSockOptBool
GetSockOptBool - return bool value obtained with srt_getsockopt
srtgo.go:406
↓ 1 callersMethodGetSockOptInt
GetSockOptInt - return int value obtained with srt_getsockopt
srtgo.go:419
↓ 1 callersMethodGetSockOptString
GetSockOptString - return string value obtained with srt_getsockopt
srtgo.go:437
↓ 1 callersMethodSetListenCallback
SetListenCallback - set a function to be called early in the handshake before a client is handed to accept on a listening socket. The connection can b
srtgo.go:317
↓ 1 callersMethodSetRejectReason
SetRejectReason - set custom reason for connection reject
srtgo.go:388
↓ 1 callersMethodSetSockOptBool
SetSockOptBool - set bool value using srt_setsockopt
srtgo.go:454
↓ 1 callersMethodSetSockOptInt
SetSockOptInt - set int value using srt_setsockopt
srtgo.go:463
↓ 1 callersMethodSetSockOptString
SetSockOptString - set string value using srt_setsockopt
srtgo.go:473
↓ 1 callersMethodTemporary
()
errors.go:105
↓ 1 callersMethodTimeout
()
errors.go:109
↓ 1 callersMethodclose
()
poll.go:162
↓ 1 callersFunctionconnectLoop
(port uint16, semChan chan struct{})
poll_test.go:7
↓ 1 callersFunctiongetSocketLingerOption
(s *SrtSocket)
srtsocketoptions.go:119
↓ 1 callersFunctionhandler
echo received packets
examples/echo-receiver/main.go:34
↓ 1 callersFunctionnewFromSocket
(acceptSocket *SrtSocket, socket C.SRTSOCKET)
srtgo.go:135
↓ 1 callersFunctionnewSrtStats
(stats *C.SRT_TRACEBSTATS)
srtstats.go:98
↓ 1 callersMethodpollClose
(pd *pollDesc)
pollserver.go:54
↓ 1 callersMethodpollOpen
(pd *pollDesc)
pollserver.go:40
↓ 1 callersFunctionpollServerCtx
()
pollserver.go:19
↓ 1 callersMethodpreconfiguration
()
srtgo.go:498
↓ 1 callersMethodreceive
Creates a listener socket and keeps reading from it
rw_test.go:54
↓ 1 callersMethodrun
()
pollserver.go:73
↓ 1 callersMethodsend
Creates a connector socket and keeps writing to it
rw_test.go:20
↓ 1 callersFunctionsetSocketLingerOption
(s C.int, li int32)
srtsocketoptions.go:104
↓ 1 callersFunctionsockAddrFromIp4
(ip net.IP, port uint16)
netutils.go:44
↓ 1 callersFunctionsockAddrFromIp6
(ip net.IP, port uint16)
netutils.go:57
↓ 1 callersFunctionsrtAcceptImpl
(lsn C.SRTSOCKET, addr *C.struct_sockaddr, addrlen *C.int)
accept.go:25
FunctionBenchmarkAcceptBlocking
(b *testing.B)
poll_test.go:45
FunctionBenchmarkAcceptNonBlocking
(b *testing.B)
poll_test.go:49
FunctionBenchmarkRWBlocking
(b *testing.B)
rw_test.go:116
FunctionBenchmarkRWNonBlocking
(b *testing.B)
rw_test.go:120
FunctionCleanupSRT
CleanupSRT - Cleanup SRT lib
srtgo.go:77
MethodError
()
errors.go:21
MethodError
()
errors.go:25
MethodError
()
errors.go:29
MethodError
()
errors.go:33
MethodError
()
errors.go:37
MethodError
()
errors.go:41
MethodError
()
errors.go:45
MethodError
()
errors.go:125
MethodGetSockOptByte
GetSockOptByte - return byte value obtained with srt_getsockopt
srtgo.go:397
MethodGetSockOptInt64
GetSockOptInt64 - return int64 value obtained with srt_getsockopt
srtgo.go:428
MethodGetSocket
()
srtgo.go:165
MethodIs
(target error)
errors.go:129
MethodMode
Mode - Return working mode of the SRT socket
srtgo.go:245
MethodPacketSize
PacketSize - Return packet size of the SRT socket
srtgo.go:250
MethodPollTimeout
PollTimeout - Return polling max time, for connect/read/write operations. Only applied when socket is in non-blocking mode.
srtgo.go:256
MethodSetConnectCallback
SetConnectCallback - set a function to be called after a socket or connection in a group has failed Note that the function is not guaranteed to be cal
srtgo.go:345
MethodSetDeadline
(deadline time.Time)
srtgo.go:266
MethodSetPollTimeout
SetPollTimeout - Sets polling max time, for connect/read/write operations. Only applied when socket is in non-blocking mode.
srtgo.go:262
MethodSetReadDeadline
(deadline time.Time)
srtgo.go:270
MethodSetSockOptByte
SetSockOptByte - set byte value using srt_setsockopt
srtgo.go:449
MethodSetSockOptInt64
SetSockOptInt64 - set int64 value using srt_setsockopt
srtgo.go:468
MethodSetWriteDeadline
(deadline time.Time)
srtgo.go:274
FunctionSrtSetLogHandler
(cb LogCallBackFunc)
logging.go:48
FunctionSrtSetLogLevel
(level SrtLogLevel)
logging.go:44
FunctionSrtUnsetLogHandler
()
logging.go:54
MethodStats
Stats - Retrieve stats from the SRT socket
srtgo.go:232
MethodTemporary
()
errors.go:53
MethodTemporary
()
errors.go:133
FunctionTestAcceptBlocking
(t *testing.T)
srtgo_test.go:179
FunctionTestAcceptNonBlocking
(t *testing.T)
srtgo_test.go:171
FunctionTestCreateAddrInetV4
(t *testing.T)
netutils_test.go:9
FunctionTestCreateAddrInetV6
(t *testing.T)
netutils_test.go:37
FunctionTestListen
(t *testing.T)
srtgo_test.go:106
FunctionTestMultipleAcceptBlocking
(t *testing.T)
srtgo_test.go:196
FunctionTestMultipleAcceptNonBlocking
(t *testing.T)
srtgo_test.go:188
next →1–100 of 124, ranked by callers