(key *ari.Key)
| 10 | } |
| 11 | |
| 12 | func (l *liveRecording) Get(key *ari.Key) *ari.LiveRecordingHandle { |
| 13 | k, err := l.c.getRequest(&proxy.Request{ |
| 14 | Kind: "RecordingLiveGet", |
| 15 | Key: key, |
| 16 | }) |
| 17 | if err != nil { |
| 18 | l.c.log.Warn("failed to get liveRecording for handle", "error", err) |
| 19 | return ari.NewLiveRecordingHandle(key, l, nil) |
| 20 | } |
| 21 | return ari.NewLiveRecordingHandle(k, l, nil) |
| 22 | } |
| 23 | |
| 24 | func (l *liveRecording) Data(key *ari.Key) (*ari.LiveRecordingData, error) { |
| 25 | data, err := l.c.dataRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected