diff --git a/test/ffprobe.go b/test/ffprobe.go index 7f5a3577..2df4a861 100644 --- a/test/ffprobe.go +++ b/test/ffprobe.go @@ -121,6 +121,13 @@ func verify(t *testing.T, in string, p *config.PipelineConfig, res *livekit.Egre require.NoError(t, err, "ffprobe failed for input %s", in) } + // Check source type + if p.RequestType == types.RequestTypeRoomComposite && p.VideoEnabled { + require.Equal(t, types.SourceTypeWeb, res.SourceType) + } else { + require.Equal(t, types.SourceTypeSDK, res.SourceType) + } + switch egressType { case types.EgressTypeFile: // size diff --git a/test/runner.go b/test/runner.go index 922d5ddd..ff6dac29 100644 --- a/test/runner.go +++ b/test/runner.go @@ -147,6 +147,7 @@ func NewRunner(t *testing.T) *Runner { require.NoError(t, err) r.ServiceConfig = conf + r.ServiceConfig.EnableRoomCompositeSDKSource = true if conf.ApiKey == "" || conf.ApiSecret == "" || conf.WsUrl == "" { t.Fatal("api key, secret, and ws url required")