Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cryptagon/ion-cluster
/ functions
Functions
120 in github.com/cryptagon/ion-cluster
⨍
Functions
120
◇
Types & classes
26
↓ 5 callers
Method
Close
()
pkg/client/signal.go:23
↓ 4 callers
Method
Handle
Handle incoming RPC call events like join, answer, offer and trickle
pkg/server_jsonrpc.go:47
↓ 4 callers
Method
Join
(sid string, offer *webrtc.SessionDescription)
pkg/client/signal.go:26
↓ 4 callers
Function
endpoint
()
cmd/client.go:39
↓ 3 callers
Method
Answer
(answer *webrtc.SessionDescription)
pkg/client/signal.go:28
↓ 2 callers
Method
BindAppsinkToTrack
(t *webrtc.TrackLocalStaticSample)
pkg/client/gst/gst.go:169
↓ 2 callers
Method
Close
Close disconnects the websocket
pkg/client/signal.go:61
↓ 2 callers
Method
Endpoint
Endpoint public endpoint to hit
pkg/config.go:27
↓ 2 callers
Method
GetSession
(sid string)
pkg/coordinator.go:88
↓ 2 callers
Method
Join
Join a session
pkg/client/client.go:98
↓ 2 callers
Function
MainLoop
()
pkg/client/gst/gst.go:26
↓ 2 callers
Function
NewClient
NewClient returns a new jsonrpc2 client that manages a pub and sub peerConnection
pkg/client/client.go:80
↓ 2 callers
Function
NewGSTProducer
NewGSTProducer will create a new producer for a given client and a videoFile
pkg/client/producer.go:30
↓ 2 callers
Function
NewJSONRPCSignalClient
NewJSONRPCSignalClient constructor
pkg/client/signal.go:45
↓ 2 callers
Function
NewSession
(id string, dcs []*sfu.Datachannel, cfg sfu.WebRTCTransportConfig)
pkg/session.go:25
↓ 2 callers
Method
Open
Open connects to the given url
pkg/client/signal.go:50
↓ 2 callers
Method
Ping
Ping sends a ping message
pkg/client/signal.go:151
↓ 2 callers
Method
Play
Play sets the pipeline to PLAYING
pkg/client/gst/gst.go:184
↓ 2 callers
Method
Start
()
pkg/client/producer.go:13
↓ 2 callers
Method
Trickle
(target int, trickle *webrtc.ICECandidateInit)
pkg/client/signal.go:29
↓ 2 callers
Method
UpdatePresenceMetaForPeer
(peerID string, meta interface{})
pkg/session.go:35
↓ 2 callers
Method
ensureSession
(sessionID string)
pkg/coordinator.go:70
↓ 2 callers
Function
getDecoderString
()
pkg/client/gst/gst.go:50
↓ 2 callers
Function
getEncoderString
()
pkg/client/gst/gst.go:43
↓ 2 callers
Method
getOrCreateSession
(sessionID string)
pkg/coordinator.go:28
↓ 2 callers
Function
gstreamer_compositor_relayout_videos
pkg/client/gst/gst.c:216
↓ 2 callers
Function
newTransport
(role int, signal Signal, cfg *webrtc.Configuration, extraInterceptors []interceptor.Interceptor)
pkg/client/client.go:24
↓ 1 callers
Method
AddInputTrack
(t *webrtc.TrackRemote, pc *webrtc.PeerConnection)
pkg/client/gst/compositor.go:52
↓ 1 callers
Method
AudioTrack
()
pkg/client/producer.go:16
↓ 1 callers
Method
Broadcast
(msg Broadcast)
pkg/session.go:73
↓ 1 callers
Method
BroadcastAddListener
(peerID string, ch chan<- Broadcast)
pkg/session.go:60
↓ 1 callers
Method
BroadcastRemoveListener
(peerID string)
pkg/session.go:67
↓ 1 callers
Function
CreatePlayerPipeline
CreatePlayerPipeline creates a GStreamer Pipeline
pkg/client/gst/gst.go:70
↓ 1 callers
Function
CreateTestSrcPipeline
CreateTestSrcPipeline creates a GStreamer Pipeline with test sources
pkg/client/gst/gst.go:142
↓ 1 callers
Function
Execute
Execute executes the root command.
cmd/root.go:47
↓ 1 callers
Function
NewCompositorPipeline
NewCompositorPipeline will create a pipeline controller for AV compositing. It will include tee's (vtee,atee) for linking extra elements to the compo
pkg/client/gst/compositor.go:31
↓ 1 callers
Method
Offer
(offer *webrtc.SessionDescription)
pkg/client/signal.go:27
↓ 1 callers
Method
OnNegotiate
(func(offer *webrtc.SessionDescription))
pkg/client/signal.go:31
↓ 1 callers
Method
OnTrickle
(func(target int, trickle *webrtc.ICECandidateInit))
pkg/client/signal.go:32
↓ 1 callers
Method
Play
()
pkg/client/gst/compositor.go:95
↓ 1 callers
Method
Publish
Publish takes a producer and publishes its data to the peer connection
pkg/client/client.go:139
↓ 1 callers
Method
SeekToTime
SeekToTime seeks on the pipeline
pkg/client/gst/gst.go:194
↓ 1 callers
Method
ServeWebsocket
ServeWebsocket listens for incoming websocket signaling requests
pkg/server.go:41
↓ 1 callers
Method
Stop
()
pkg/client/gst/compositor.go:102
↓ 1 callers
Method
VideoTrack
()
pkg/client/producer.go:17
↓ 1 callers
Function
authGetAndValidateToken
(config AuthConfig, r *http.Request)
pkg/server_auth.go:33
↓ 1 callers
Function
bindConfigEnvs
(iface interface{}, parts ...string)
cmd/root.go:52
↓ 1 callers
Method
bindTrackToAppsrc
(t *webrtc.TrackRemote)
pkg/client/gst/compositor.go:112
↓ 1 callers
Function
clientThread
(cmd *cobra.Command, args []string)
cmd/client.go:54
↓ 1 callers
Function
compositeThread
(cmd *cobra.Command, args []string)
cmd/composite.go:47
↓ 1 callers
Method
destroy
()
pkg/client/gst/compositor.go:106
↓ 1 callers
Method
ensureSession
(sessionID string)
pkg/coordinator_etcd.go:140
↓ 1 callers
Function
getProducerMediaEngine
()
pkg/client/mediaengine.go:13
↓ 1 callers
Function
goHandleAppsrcForceKeyUnit
export goHandleAppsrcForceKeyUnit
pkg/client/gst/compositor.go:140
↓ 1 callers
Function
goHandlePipelineBuffer
export goHandlePipelineBuffer
pkg/client/gst/gst.go:213
↓ 1 callers
Function
kubeConfigureExternalIP
()
cmd/root.go:73
↓ 1 callers
Function
metricsHandler
()
pkg/metrics.go:40
↓ 1 callers
Function
newCoordinatorEtcd
(conf RootConfig)
pkg/coordinator_etcd.go:32
↓ 1 callers
Function
newCoordinatorLocal
(conf RootConfig)
pkg/coordinator.go:53
↓ 1 callers
Method
onSessionClosed
(sessionID string)
pkg/coordinator_etcd.go:162
↓ 1 callers
Method
onSessionClosed
(sessionID string)
pkg/coordinator.go:103
↓ 1 callers
Method
pubNegotiationNeeded
Pub PC re-negotiation
pkg/client/client.go:176
↓ 1 callers
Method
pushAppsrc
Push pushes a buffer on the appsrc of the GStreamer Pipeline
pkg/client/gst/compositor.go:131
Method
Answer
Answer an sdp offer that originated from the server
pkg/client/signal.go:99
Method
AudioTrack
AudioTrack returns the audio track for the pipeline
pkg/client/producer.go:60
Function
CreateClientPipeline
CreateClientPipeline creates a GStreamer Pipeline that decodes and shows video
pkg/client/gst/gst.go:98
Method
CreateDatachannel
CreateDatachannel to publish
pkg/client/client.go:202
Function
CreatePipeline
(pipelineStr string)
pkg/client/gst/gst.go:57
Method
GetSession
(sid string)
pkg/coordinator_etcd.go:158
Method
Handle
Handle handles incoming jsonrpc2 messages
pkg/client/signal.go:119
Method
Join
Join a session id with an sdp offer (returns an sdp answer or error)
pkg/client/signal.go:66
Function
MetricsGetActiveClientsCount
MetricsGetActiveClientsCount returns number of active clients connected to this node
pkg/metrics.go:51
Function
NewCoordinator
NewCoordinator configures coordinator for this node
pkg/coordinator.go:33
Function
NewSignal
NewSignal creates a signaling server
pkg/server.go:30
Method
Offer
Offer a new sdp to the server (returns an sdp answer)
pkg/client/signal.go:83
Method
OnNegotiate
OnNegotiate hook a negotiation handler
pkg/client/signal.go:160
Method
OnTrickle
OnTrickle hook a trickle handler
pkg/client/signal.go:165
Method
Open
(url string)
pkg/client/signal.go:22
Method
Pause
Pause the pipeline
pkg/client/producer.go:75
Method
Pause
Pause sets the pipeline to PAUSED
pkg/client/gst/gst.go:189
Method
Ping
()
pkg/client/signal.go:24
Method
Push
Push pushes a buffer on the appsrc of the GStreamer Pipeline
pkg/client/gst/gst.go:204
Method
SeekP
SeekP to a timestamp
pkg/client/producer.go:70
Method
Start
Start the pipeline
pkg/client/producer.go:88
Method
Start
Start starts the GStreamer Pipeline
pkg/client/gst/gst.go:177
Method
Stop
()
pkg/client/producer.go:14
Method
Stop
Stop the pipeline
pkg/client/producer.go:84
Method
Trickle
Trickle send ice candiates to the server
pkg/client/signal.go:109
Method
Valid
()
pkg/server_auth.go:21
Method
VideoTrack
VideoTrack returns the video track for the pipeline
pkg/client/producer.go:65
Function
clientMain
(cmd *cobra.Command, args []string)
cmd/client.go:48
Function
compositeMain
(cmd *cobra.Command, args []string)
cmd/composite.go:40
Method
getOrCreateSession
(sessionID string)
pkg/coordinator_etcd.go:62
Method
getOrCreateSession
(sessionID string)
pkg/coordinator.go:92
Function
gstreamer_bus_call
pkg/client/gst/gst.c:16
Function
gstreamer_compositor_add_input_track
pkg/client/gst/gst.c:145
Function
gstreamer_compositor_remove_input_track
pkg/client/gst/gst.c:184
Function
gstreamer_create_pipeline
pkg/client/gst/gst.c:52
Function
gstreamer_input_track_event_pad_probe_cb
This pad probe will get triggered when UPSTREAM events get fired on the appsrc. We use this to listen for GstEventForceKeyUnit, and forward that to th
pkg/client/gst/gst.c:131
Function
gstreamer_pause_pipeline
pkg/client/gst/gst.c:79
next →
1–100 of 120, ranked by callers