-
-
Notifications
You must be signed in to change notification settings - Fork 985
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
stream keys are immediately burned #339
Comments
In OBS your stream key is synonymous with stream name in Red5. With Red5 there are what we call scopes which could be understood as rooms or contexts; maybe some terms aren't clear or you're not waiting long enough between attempts, but know that stream names are not "burned" once used. When I use OBS, not often, I reuse |
Thanks, I had run across that guide. Here's what I see in /var/log/syslog when I try to reuse a key shortly after ending a successful stream: Jun 11 14:58:17 ingest-2 red5.sh[547]: [WARN] [RTMPRecv@D30RIWLL24Z9X] org.red5.server.net.rtmp.RTMPHandler - Scope not found |
Even 40 minutes later it won't let me restart with similar log lines to the above plus one new one Jun 11 15:38:36 ingest-2 red5.sh[547]: [ERROR] [RTMPRecv@FHFXOFTQCRIQV] org.red5.server.stream.StreamService - Bad name stream1 |
Issue
Short description
I just setup the open source red5 server, and if I stream to it from OBS and then stop and try to start again, the key seems invalid and it forces me to choose a new one.
Ideally, I'd like to either have persistent keys or else persistent streams with no keys at all.
So either
stream: /live
keys: one, two, three, four, etc.
or:
stream 1: /one
key 1: empty/null
stream 2: /two
key 2: empty/null
etc.
If I have to burn keys like this, then I can't test the stream, stop and restart at X time as the key will be burned from the test stream.
Environment
[] Operating system and version: Ubuntu 22.04 LTS
[] Java version: Amazon Corretto 11
[] Red5 version: 1.3.19
Expected behavior
Keys should remain valid beyond one time of use.
Actual behavior
Keys are burned after first use.
Steps to reproduce
Logs
Place logs on pastebin or elsewhere and put links here
The text was updated successfully, but these errors were encountered: