(key *ari.Key)
| 22 | } |
| 23 | |
| 24 | func (l *liveRecording) Data(key *ari.Key) (*ari.LiveRecordingData, error) { |
| 25 | data, err := l.c.dataRequest(&proxy.Request{ |
| 26 | Kind: "RecordingLiveData", |
| 27 | Key: key, |
| 28 | }) |
| 29 | if err != nil { |
| 30 | return nil, err |
| 31 | } |
| 32 | return data.LiveRecording, nil |
| 33 | } |
| 34 | |
| 35 | func (l *liveRecording) Stop(key *ari.Key) error { |
| 36 | return l.c.commandRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected