Skip to content

Commit

Permalink
fix SRT test
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Aug 8, 2024
1 parent 65cc1c6 commit b24d2d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ func (r *Runner) runStreamTest(t *testing.T, req *rpc.StartEgressRequest, test *

// verify
r.verifyStreams(t, p, urls[0][2], urls[2][2])
if test.outputType != types.OutputTypeRTMP {
r.checkStreamUpdate(t, egressID, map[string]livekit.StreamInfo_Status{
urls[0][1]: livekit.StreamInfo_ACTIVE,
urls[1][1]: livekit.StreamInfo_FAILED,
urls[2][1]: livekit.StreamInfo_ACTIVE,
urls[3][1]: livekit.StreamInfo_ACTIVE,
})
}
r.checkStreamUpdate(t, egressID, map[string]livekit.StreamInfo_Status{
urls[0][1]: livekit.StreamInfo_ACTIVE,
urls[1][1]: livekit.StreamInfo_FAILED,
Expand Down

0 comments on commit b24d2d5

Please sign in to comment.