Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chuabingquan/pxy
/ functions
Functions
27 in github.com/chuabingquan/pxy
⨍
Functions
27
◇
Types & classes
11
↓ 5 callers
Method
Close
Close closes the socket.
http/server.go:29
↓ 4 callers
Function
toggleControls
(livestreamStarted)
static/js/main.js:52
↓ 3 callers
Method
StopBroadcast
()
model.go:6
↓ 2 callers
Function
writeJSONMessage
(w http.ResponseWriter, statusCode int, body interface{})
http/response.go:12
↓ 1 callers
Function
NewLivestreamPool
NewLivestreamPool ...
http/websockets/pool.go:33
↓ 1 callers
Function
NewStaticHandler
NewStaticHandler ...
http/static.go:15
↓ 1 callers
Function
NewStreamHandler
NewStreamHandler ...
http/stream.go:18
↓ 1 callers
Method
Open
Open opens a socket and serves the HTTP server.
http/server.go:16
↓ 1 callers
Method
PipeToBroadcast
(stream *[]byte)
model.go:7
↓ 1 callers
Method
RegisterStreamer
(sessionID, userID, streamKey string, w http.ResponseWriter, r *http.Request)
http/livestream_updates.go:7
↓ 1 callers
Method
StartBroadcast
()
model.go:5
↓ 1 callers
Function
connect
(url, streamKey)
static/js/main.js:34
↓ 1 callers
Function
getWebsocketStreamKey
(r *http.Request)
http/stream.go:46
↓ 1 callers
Function
initCamera
(constraints, videoEl)
static/js/main.js:18
↓ 1 callers
Function
newLivestreamConnection
(sessionID, userID, streamKey string, conn *websocket.Conn)
http/websockets/connection.go:16
Function
NewRTMPClient
NewRTMPClient ...
rtmp/broadcast.go:24
Method
PipeToBroadcast
PipeToBroadcast ...
rtmp/broadcast.go:77
Method
RegisterStreamer
RegisterStreamer ...
http/websockets/pool.go:48
Method
RemoveStreamer
(sessionID string)
http/livestream_updates.go:8
Method
RemoveStreamer
RemoveStreamer ...
http/websockets/pool.go:103
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
http/handler.go:15
Method
StartBroadcast
StartBroadcast ...
rtmp/broadcast.go:35
Method
StopBroadcast
StopBroadcast ...
rtmp/broadcast.go:67
Method
StreamerIsRegisteredForSession
(sessionID string)
http/livestream_updates.go:9
Method
StreamerIsRegisteredForSession
StreamerIsRegisteredForSession ...
http/websockets/pool.go:119
Method
handleCreateLivestream
(w http.ResponseWriter, r *http.Request)
http/stream.go:29
Function
main
()
cmd/pxy/main.go:21