Skip to content

Commit

Permalink
Set EnableTranscoding flag in WHIP test (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben authored May 1, 2024
1 parent 5620351 commit 560ffcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/whip.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func RunWHIPTest(t *testing.T, conf *TestConfig, bus psrpc.MessageBus, commandPs
return nil
}

tr := true

info := &livekit.IngressInfo{
IngressId: "ingress_id",
InputType: livekit.IngressInput_WHIP_INPUT,
Expand All @@ -78,6 +80,7 @@ func RunWHIPTest(t *testing.T, conf *TestConfig, bus psrpc.MessageBus, commandPs
Reusable: true,
StreamKey: "ingress-test",
Url: "http://localhost:8080/w",
EnableTranscoding: &tr,
Audio: &livekit.IngressAudioOptions{
Name: "audio",
Source: 0,
Expand Down

0 comments on commit 560ffcc

Please sign in to comment.