Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/peer-calls/peer-calls
/ functions
Functions
1,240 in github.com/peer-calls/peer-calls
⨍
Functions
1,240
◇
Types & classes
551
↓ 6 callers
Function
mustDialWS
(t *testing.T, ctx context.Context, url string)
server/mesh_test.go:114
↓ 6 callers
Function
prom
()
server/mux_test.go:76
↓ 6 callers
Function
render
(store: Store)
src/client/components/Toolbar.test.tsx:59
↓ 6 callers
Method
render
()
src/client/components/App.tsx:65
↓ 6 callers
Function
stopStream
(s: StreamWithURL)
src/client/reducers/streams.ts:292
↓ 6 callers
Function
tsDelta
(ts1, ts2 uint32)
server/sfu/buffer.go:48
↓ 5 callers
Function
AddBLP
(fsn uint16, missingSN uint16, blp rtcp.PacketBitmap)
server/sfu/buffer.go:210
↓ 5 callers
Method
Decode
Decode decodes the string base-N data into bytes and returns any error that might have occurred.
server/basen/basen.go:74
↓ 5 callers
Method
Emit
(clientID identifiers.ClientID, msg message.Message)
server/wsadapter.go:22
↓ 5 callers
Method
Format
Format formats the logging context for transport.
server/logger/formatter.go:14
↓ 5 callers
Method
LocalAddr
()
server/udptransport2/stream_conn.go:29
↓ 5 callers
Method
Name
()
server/command/command.go:105
↓ 5 callers
Function
New
(params Params)
server/udpmux/udpmux.go:34
↓ 5 callers
Function
NewClientWithID
(conn WSReadWriter, id identifiers.ClientID)
server/wsclient.go:55
↓ 5 callers
Function
NewConfig
(configMap ConfigMap)
server/logger/config.go:44
↓ 5 callers
Function
NewRegistryDefault
()
server/codecs/registry.go:45
↓ 5 callers
Function
NewSignal
(roomID identifiers.RoomID, payload UserSignal)
server/message/message.go:98
↓ 5 callers
Method
ReadRTP
()
server/transport/transport.go:55
↓ 5 callers
Method
ReceivePong
ReceivePong notifies the main event loop of a new pong response in a non-blocking manner.
server/pinger.go:56
↓ 5 callers
Method
RemoteAddr
()
server/udptransport2/stream_conn.go:33
↓ 5 callers
Method
RemoveTrack
(trackID identifiers.TrackID)
server/pubsub/transport.go:14
↓ 5 callers
Method
Result
()
server/udptransport2/manager.go:362
↓ 5 callers
Method
Serialize
(message.Message)
server/wsmessage.go:11
↓ 5 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
server/sfu.go:46
↓ 5 callers
Method
SetMetadata
(clientID identifiers.ClientID, metadata string)
server/wsadapter.go:21
↓ 5 callers
Function
UnsetEnvPrefix
(prefix string)
server/test/unsetenvprefix.go:8
↓ 5 callers
Function
asMock
(fn: (...args: any[]) => void)
src/client/messaging.test.ts:55
↓ 5 callers
Function
getDevices
(kind: MediaKind)
src/client/components/Toolbar.test.tsx:360
↓ 5 callers
Method
init
()
src/client/audio/AudioProcessor.ts:24
↓ 5 callers
Function
newUDPPair
(index int)
server/servertransport/transport_test.go:22
↓ 5 callers
Method
onSignal
(payload message.Signal)
server/wrtcsignaller.go:119
↓ 5 callers
Method
postMessage
( message: PostMessageEvent, transfers: Transferable[], )
src/client/insertable-streams/index.ts:465
↓ 5 callers
Method
postMessage
(data: WorkerPayload)
src/client/codec/index.ts:164
↓ 5 callers
Method
setDefaults
(old *logger)
server/logger/logger.go:98
↓ 5 callers
Function
toggleDevice
( payload: MediaDeviceToggle, )
src/client/actions/MediaActions.ts:146
↓ 4 callers
Method
Add
Add a client to the room. Will return an error on duplicate client ID.
server/memoryadapter.go:28
↓ 4 callers
Method
AddTransceiverFromKind
(t TransceiverRequest)
server/wrtcnegotiator.go:50
↓ 4 callers
Method
Broadcast
(msg message.Message)
server/wsadapter.go:19
↓ 4 callers
Method
Conns
Conns is the channel with incoming connections. Users should use either AcceptConn or Conns, but never both.
server/udpmux/udpmux.go:65
↓ 4 callers
Method
Deserialize
([]byte)
server/wsmessage.go:15
↓ 4 callers
Method
Encode
Encode encodes the binary data into base-64 encoded strings.
server/basen/basen.go:27
↓ 4 callers
Method
Enter
(room identifiers.RoomID)
server/room.go:33
↓ 4 callers
Method
Enter
(room identifiers.RoomID)
server/room.go:105
↓ 4 callers
Method
Exec
(ctx context.Context, args []string)
server/command/command.go:163
↓ 4 callers
Method
Exit
(room identifiers.RoomID)
server/mux.go:67
↓ 4 callers
Function
GetICEAuthServers
(servers []ICEServer)
server/iceauth.go:11
↓ 4 callers
Method
GetPacket
GetPacket retreives a packet from the RTP buffer
server/sfu/jitter_buffer.go:38
↓ 4 callers
Function
MatchRTP
MatchRTP is a MatchFunc that only matches SRTP and not SRTCP
server/servertransport/match.go:49
↓ 4 callers
Method
Metadata
(clientID identifiers.ClientID)
server/redisadapter.go:187
↓ 4 callers
Method
Metadata
(clientID identifiers.ClientID)
server/wsadapter.go:20
↓ 4 callers
Function
New
(params Params, handler http.Handler)
server/server.go:22
↓ 4 callers
Function
NewBaseNDecoder
NewBaseNDecoder creates a new instance of BaseNDecoder using the provided alphabet.
server/basen/basen.go:59
↓ 4 callers
Function
NewBaseNEncoder
NewBaseNEncoder creates a new instance of BaseNEncoder using the provided alphabet.
server/basen/basen.go:22
↓ 4 callers
Function
NewInterceptorRegistry
(mediaEngine *webrtc.MediaEngine)
server/webrtctransport.go:117
↓ 4 callers
Function
NewMediaEngine
()
server/webrtctransport.go:107
↓ 4 callers
Function
NewStringFormatter
NewStringFormatter creates a new instance of StringFormatter.
server/logger/formatter.go:37
↓ 4 callers
Method
NewTicker
NewTicker returns a new Ticker containing a channel that will send the time with a period specified by the duration argument. It adjusts the intervals
server/clock/clock.go:13
↓ 4 callers
Function
ParseTemplates
(templatesFS fs.FS)
server/template.go:17
↓ 4 callers
Method
ReadRTCP
()
server/transport/transport.go:61
↓ 4 callers
Method
Since
Since returns Now().Sub(ts)
server/clock/clock.go:20
↓ 4 callers
Method
Start
(ctx context.Context, l net.Listener)
server/server.go:32
↓ 4 callers
Method
Stop
Stop turns off a ticker. After Stop, no more ticks will be sent. Stop does not close the channel, to prevent a concurrent goroutine reading from the c
server/clock/clock.go:62
↓ 4 callers
Method
TrackID
()
server/transport/simple_track.go:37
↓ 4 callers
Method
Unsub
(subClientID identifiers.ClientID)
server/pubsub/track_reader.go:17
↓ 4 callers
Method
WriteRTCP
([]rtcp.Packet)
server/transport/transport.go:70
↓ 4 callers
Method
add
add removes and closes any existing transport with the same clientID and subscribes to events and adds the new transport. The caller must hold the loc
server/sfu/peer_manager.go:248
↓ 4 callers
Function
create
(log = false)
src/client/middlewares.ts:12
↓ 4 callers
Function
createPeerConnection
(t *testing.T, ctx context.Context, url string, clientID identifiers.ClientID)
server/sfu_test.go:141
↓ 4 callers
Function
getClientIDs
(t *testing.T, a *server.RedisAdapter)
server/redisadapter_test.go:41
↓ 4 callers
Function
getDeviceId
( enabled: boolean, constraint: MediaTrackConstraints, )
src/client/actions/MediaActions.ts:326
↓ 4 callers
Function
getNickname
(nicknames: Nicknames, peerId: string)
src/client/nickname.ts:4
↓ 4 callers
Function
getStreamKey
(peerId: string, streamId?: string)
src/client/reducers/windowStates.ts:13
↓ 4 callers
Function
getUserMedia
( constraints: MediaStreamConstraints, )
src/client/actions/MediaActions.ts:81
↓ 4 callers
Method
send
(ts time.Time)
server/clock/mock.go:141
↓ 4 callers
Function
sendText
(payload: string)
src/client/actions/ChatActions.ts:54
↓ 4 callers
Method
sendTrackEvent
(event trackEvent)
server/servertransport/metadata_transport.go:356
↓ 4 callers
Function
setup
()
src/client/actions/CallActions.test.ts:61
↓ 4 callers
Function
setupSFUServer
(rooms server.RoomManager, jitterBufferEnabled bool)
server/sfu_test.go:32
↓ 4 callers
Function
start
()
src/client/debug/index.ts:23
↓ 4 callers
Function
wait
(t *testing.T, ctx context.Context, done <-chan struct{})
server/sfu_test.go:221
↓ 4 callers
Function
waitPeerConnected
(t *testing.T, ctx context.Context, pc *webrtc.PeerConnection)
server/sfu_test.go:195
↓ 4 callers
Function
windowStates
( state: WindowStates = {}, action: StreamAction, )
src/client/reducers/windowStates.ts:50
↓ 3 callers
Method
Add
Add does nothing when err is nil. It sets the first error if it hasn't been set yet.
server/multierr/multierr.go:22
↓ 3 callers
Method
AddFuncErr
(cleanup func() error)
server/test/testcloser.go:33
↓ 3 callers
Method
Err
Add wraps MultiErr.Err with a mutex lock.
server/multierr/sync.go:21
↓ 3 callers
Method
Exit
(room identifiers.RoomID)
server/room.go:51
↓ 3 callers
Method
Exit
(room identifiers.RoomID)
server/room.go:119
↓ 3 callers
Method
FuzzySearch
Do a fuzzy find for a codec in the list of codecs. Used to look up a codec in an existing list to find a match Returns CodecMatchExact, CodecMatchPart
server/codecs/registry.go:258
↓ 3 callers
Method
GetConn
(streamID string)
server/stringmux/stringmux.go:264
↓ 3 callers
Method
GetOrCreateBuffer
( packetType packetio.BufferPacketType, ssrc webrtc.SSRC, )
server/servertransport/media_stream.go:143
↓ 3 callers
Method
Handle
Handle receives the context and the arguments leftover from parsing. When the first return value is non-nil and the error is nil, the value will be pa
server/command/command.go:23
↓ 3 callers
Method
InterceptorParamsForCodec
(codec transport.Codec)
server/codecs/registry.go:299
↓ 3 callers
Method
LevelForNamespace
LevelForNamespace returns a logging Level for particular namespace.
server/logger/config.go:11
↓ 3 callers
Method
LocalAddr
()
server/stringmux/conn.go:109
↓ 3 callers
Function
Marshal
(streamID string, data []byte)
server/stringmux/packetizer.go:17
↓ 3 callers
Method
Middle
()
server/sfu/stats/ntp.go:50
↓ 3 callers
Function
New
(params Params)
server/servertransport/transport.go:71
↓ 3 callers
Function
New
New returns a new instance of unmocked Clock.
server/clock/clock.go:24
↓ 3 callers
Function
NewConfigFromString
NewConfigFromString parses the provided string and returns Config.
server/logger/config.go:19
↓ 3 callers
Function
NewFromEnv
(key string)
server/logger/logger.go:84
← previous
next →
101–200 of 1,240, ranked by callers