From b41807b9d0bcccd07b13d8c919f7104b6ad63432 Mon Sep 17 00:00:00 2001 From: Benjamin Pracht Date: Fri, 29 Sep 2023 15:21:55 -0700 Subject: [PATCH] WiP --- test/images.go | 6 +++--- test/room_composite.go | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/images.go b/test/images.go index f526862b..f0165956 100644 --- a/test/images.go +++ b/test/images.go @@ -53,10 +53,10 @@ func (r *Runner) verifyImages(t *testing.T, p *config.PipelineConfig, filenameSu require.NotZero(t, res.EndedAt) // segments info - require.Len(t, res.GetImagesResults(), 1) - images := res.GetImagesResults()[0] + require.Len(t, res.GetImageResults(), 1) + images := res.GetImageResults()[0] - require.Greater(t, images.ImagesCount, int64(0)) + require.Greater(t, images.ImageCount, int64(0)) // r.verifyImagesOutput(t, p, filenameSuffix, segments.PlaylistName, segments.PlaylistLocation, int(segments.SegmentCount), res, m3u8.PlaylistTypeEvent) // r.verifyManifest(t, p, segments.PlaylistName) diff --git a/test/room_composite.go b/test/room_composite.go index 611f2788..5ad252c0 100644 --- a/test/room_composite.go +++ b/test/room_composite.go @@ -280,10 +280,10 @@ func (r *Runner) testRoomCompositeImages(t *testing.T) { // TODO upload room := &livekit.RoomCompositeEgressRequest{ - RoomName: r.RoomName, - Layout: "grid-dark", - AudioOnly: test.audioOnly, - SegmentOutputs: []*livekit.SegmentedFileOutput{segmentOutput}, + RoomName: r.RoomName, + Layout: "grid-dark", + AudioOnly: test.audioOnly, + ImageOutputs: []*livekit.ImageOutput{imageOutput}, } if test.options != nil { room.Options = &livekit.RoomCompositeEgressRequest_Advanced{