-
-
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
May I ask how to configure HTTP access to simultaneously push FLV and AAC using only one SRS? #2806
Comments
Based on your needs, are you looking to push audio and video streams to SRS and then specify parameters when pulling the stream? For example:
|
Yes, indeed I want it this way. The jtt1078 protocol has a voice intercom, and I only want to use one srs to achieve real-time streaming of http-flv and aac.
|
If using http-flv for voice intercom, the real-time performance may not be sufficient. It is recommended to configure the RTC module instead! Also, if it is only for voice, why bother streaming video? Video consumes bandwidth resources. (The srs service currently does not support specifying parameters for pulling streams, such as only-audio or only-video).
|
Okay, thank you
|
This is not a bug, it belongs to 'How do I?' and can be submitted to StackOverflow. This issue will be deleted. Please ask questions on Stack Overflow using the #simple-realtime-server tag.
|
Description'
Please ensure that the markdown structure is maintained.
How should I configure HTTP access if I want to use only one SRS to simultaneously push FLV and AAC?
Please describe the issue you are facing.
SRS version:
v3.0
SRS configuration is as follows:
Expected behavior
To push different stream formats based on different [app] in SRS, you can configure it as follows:
For rtmp://xxx/live/test, you can access it through http://xxx:8080/live/test.flv.
For rtmp://xxx/audio/test, you can access it through http://xxx:8080/audio/test.aac.
To achieve this using only one SRS instance, you need to configure it accordingly.
I have read the documentation regarding forwarding to other vhosts, but I am not clear on how to configure it.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: