(key *ari.Key, n ...string)
| 79 | } |
| 80 | |
| 81 | func (l *liveRecording) Subscribe(key *ari.Key, n ...string) ari.Subscription { |
| 82 | err := l.c.commandRequest(&proxy.Request{ |
| 83 | Kind: "RecordingLiveSubscribe", |
| 84 | Key: key, |
| 85 | }) |
| 86 | if err != nil { |
| 87 | l.c.log.Warn("failed to call liveRecording Subscribe") |
| 88 | if key.Dialog != "" { |
| 89 | l.c.log.Error("dialog present; failing") |
| 90 | return nil |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | return l.c.Bus().Subscribe(key, n...) |
| 95 | } |
nothing calls this directly
no test coverage detected