Remove recording (#811)

* remove recorder service

* update protocol
This commit is contained in:
David Colburn
2022-07-05 18:39:32 -07:00
committed by GitHub
parent 4242205ede
commit fbbcbe77df
9 changed files with 4 additions and 333 deletions
-14
View File
@@ -27,8 +27,6 @@ type TelemetryService interface {
TrackUnsubscribed(ctx context.Context, participantID livekit.ParticipantID, track *livekit.TrackInfo)
TrackPublishedUpdate(ctx context.Context, participantID livekit.ParticipantID, track *livekit.TrackInfo)
TrackMaxSubscribedVideoQuality(ctx context.Context, participantID livekit.ParticipantID, track *livekit.TrackInfo, mime string, maxQuality livekit.VideoQuality)
RecordingStarted(ctx context.Context, ri *livekit.RecordingInfo)
RecordingEnded(ctx context.Context, ri *livekit.RecordingInfo)
EgressStarted(ctx context.Context, info *livekit.EgressInfo)
EgressEnded(ctx context.Context, info *livekit.EgressInfo)
}
@@ -135,18 +133,6 @@ func (t *telemetryService) TrackUnsubscribed(ctx context.Context, participantID
})
}
func (t *telemetryService) RecordingStarted(ctx context.Context, ri *livekit.RecordingInfo) {
t.enqueue(func() {
t.internalService.RecordingStarted(ctx, ri)
})
}
func (t *telemetryService) RecordingEnded(ctx context.Context, ri *livekit.RecordingInfo) {
t.enqueue(func() {
t.internalService.RecordingEnded(ctx, ri)
})
}
func (t *telemetryService) TrackPublishedUpdate(ctx context.Context, participantID livekit.ParticipantID, track *livekit.TrackInfo) {
t.enqueue(func() {
t.internalService.TrackPublishedUpdate(ctx, participantID, track)