Egress (#455)
* egress updates * pass egressInfo to delete * update typefakes * export StartEgress * update protocol * new rpc, rename stores * add json tag * update tests * update protocol
This commit is contained in:
@@ -29,6 +29,8 @@ type TelemetryService interface {
|
||||
RecordingStarted(ctx context.Context, ri *livekit.RecordingInfo)
|
||||
RecordingEnded(ctx context.Context, ri *livekit.RecordingInfo)
|
||||
ParticipantActive(ctx context.Context, participantID livekit.ParticipantID, clientMeta *livekit.AnalyticsClientMeta)
|
||||
EgressStarted(ctx context.Context, info *livekit.EgressInfo)
|
||||
EgressEnded(ctx context.Context, info *livekit.EgressInfo)
|
||||
}
|
||||
|
||||
type doWorkFunc func()
|
||||
@@ -150,3 +152,15 @@ func (t *telemetryService) TrackMaxSubscribedVideoQuality(ctx context.Context, p
|
||||
t.internalService.TrackMaxSubscribedVideoQuality(ctx, participantID, track, maxQuality)
|
||||
}
|
||||
}
|
||||
|
||||
func (t *telemetryService) EgressStarted(ctx context.Context, info *livekit.EgressInfo) {
|
||||
t.jobQueue <- func() {
|
||||
t.internalService.EgressStarted(ctx, info)
|
||||
}
|
||||
}
|
||||
|
||||
func (t *telemetryService) EgressEnded(ctx context.Context, info *livekit.EgressInfo) {
|
||||
t.jobQueue <- func() {
|
||||
t.internalService.EgressEnded(ctx, info)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user