Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when a stream had no channel, but it had a name, we couldn't add a ne… #424

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sahin52
Copy link
Contributor

@sahin52 sahin52 commented Dec 25, 2023

…w channel - bug fix

for example: my config.json is like this

.
.
.
"streams": {
    "20274": {
      "name": "20274"
    },
    "20275": {
      "name": "20275"
    },
    "49": {
      "name": "49"
    }
  }

When I try to add a channel to 49, I wasn't able to, because I was getting: time="2023-12-25T17:56:47+03:00" level=error msg="stream not found" call=StreamChannelExist channel=main func=HTTPAPIServerStreamHLSM3U8 module=http_hls stream=20275
And you could easily reproduce, remove channels from a stream and this error will occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant