-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 pushing RTMP and playing RTC, the app stream received by HTTP hooks is inconsistent. #2797
Comments
Try to fix it yourself: #2798
|
According to our simplified definition, we only support multi-level apps, not multi-level streams. If the URL is:
Then it should be:
It is equivalent to our belief that directories can have multiple levels, while files do not support multiple levels.
|
If that's the case, then the PR I mentioned earlier would be problematic. I'll wait for the API expert to take a look. Thank you.
|
Test with the URL you provided, on_connect/play/stop, the app and stream are the same. And as the author said, the app supports hierarchy, while the stream does not. So your PR may not be merged.
|
Sorry for the inconvenience, I tested again just now. In the on_connect function, I still get app=live and stream=123/uuid. According to the design, it should be app=live/123 and stream=uuid. There seems to be a discrepancy between the result and the design. I tested with the latest code from the 4.0 Release, commit 0dd6246 @duiniuluantanqin.
|
Unable to reproduce the issue you mentioned, for example, the app is SRS configuration:
Streaming:
SRS Log:
Callback Log:
|
|
Thank you for confirming and providing feedback, @xupeng1206. Thank you, Haibo, for investigating together, @duiniuluantanqin.
|
Description
SRS version (Version): 4.0-Release.
The log of SRS is as follows (Log):
The configuration of SRS is as follows (Config):
Replay
How to replay bug?
Steps to reproduce the bug:
Expected behavior:
Expected behavior:
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: