Skip to content

Commit

Permalink
WiP
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Sep 29, 2023
1 parent 7afe0fb commit b41807b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions test/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions test/room_composite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit b41807b

Please sign in to comment.