MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / recordingLiveData

Method recordingLiveData

server/liveRecording.go:9–21  ·  view source on GitHub ↗
(ctx context.Context, reply string, req *proxy.Request)

Source from the content-addressed store, hash-verified

7)
8
9func (s *Server) recordingLiveData(ctx context.Context, reply string, req *proxy.Request) {
10 data, err := s.ari.LiveRecording().Data(req.Key)
11 if err != nil {
12 s.sendError(reply, err)
13 return
14 }
15
16 s.publish(reply, &proxy.Response{
17 Data: &proxy.EntityData{
18 LiveRecording: data,
19 },
20 })
21}
22
23func (s *Server) recordingLiveGet(ctx context.Context, reply string, req *proxy.Request) {
24 data, err := s.ari.LiveRecording().Data(req.Key)

Callers

nothing calls this directly

Calls 4

sendErrorMethod · 0.95
publishMethod · 0.95
LiveRecordingMethod · 0.80
DataMethod · 0.45

Tested by

no test coverage detected