Skip to content

Commit

Permalink
Fix broken incoming sources after v1.9.7 #1458
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Nov 14, 2024
1 parent dbe9e4a commit 25145f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/streams/play.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (s *Stream) Play(source string) error {
}

func (s *Stream) AddInternalProducer(conn core.Producer) {
producer := &Producer{conn: conn, state: stateInternal}
producer := &Producer{conn: conn, state: stateInternal, url: "internal"}
s.mu.Lock()
s.producers = append(s.producers, producer)
s.mu.Unlock()
Expand Down
2 changes: 1 addition & 1 deletion internal/streams/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (s *Stream) RemoveConsumer(cons core.Consumer) {
}

func (s *Stream) AddProducer(prod core.Producer) {
producer := &Producer{conn: prod, state: stateExternal}
producer := &Producer{conn: prod, state: stateExternal, url: "external"}
s.mu.Lock()
s.producers = append(s.producers, producer)
s.mu.Unlock()
Expand Down

0 comments on commit 25145f7

Please sign in to comment.