Skip to content

Commit

Permalink
WiP
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Nov 27, 2024
1 parent 7caa8b7 commit b5b300b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ffprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ func verify(t *testing.T, in string, p *config.PipelineConfig, res *livekit.Egre
// Check source type
if p.RequestType == types.RequestTypeRoomComposite && (p.VideoEnabled || p.Layout != "") {
require.Equal(t, livekit.EgressSourceType_EGRESS_SOURCE_TYPE_WEB, res.SourceType)
} else if p.RequestType == types.RequestTypeWeb {
require.Equal(t, livekit.EgressSourceType_EGRESS_SOURCE_TYPE_WEB, res.SourceType)
} else {
require.Equal(t, livekit.EgressSourceType_EGRESS_SOURCE_TYPE_SDK, res.SourceType)
}
Expand Down

0 comments on commit b5b300b

Please sign in to comment.