Skip to content

Commit

Permalink
Adjust channel length
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Dec 19, 2023
1 parent 2e9bcac commit 717a566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/media/whip/appsrc.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (w *whipAppSource) readRelayedData(r io.Reader, dataC chan<- readResult) {
}

func (w *whipAppSource) copyRelayedData(r io.Reader) error {
dataC := make(chan readResult, 10)
dataC := make(chan readResult, 1)
go w.readRelayedData(r, dataC)

for {
Expand Down

0 comments on commit 717a566

Please sign in to comment.