-
-
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
GB: Support enabling media forwarding through API instead of SIP. #3384
GB: Support enabling media forwarding through API instead of SIP. #3384
Conversation
External signaling is certainly needed. I took a quick look and have a question: Is it generally allocated in SDP to determine if the incoming SSRC is valid? It seems that there is currently no API available, so it is assumed that all are accepted by default. The URL used is the SSRC instead of the device ID. It would be better to provide an HTTP API to set the device ID corresponding to the SSRC for better consistency. Of course, an HTTP API would be more complex. We can consider if there are any better solutions available.
|
c056094
to
2ac9eb8
Compare
9babb87
to
2cdeb6f
Compare
Add a new API, First, you can use Postman or a similar tool to send an HTTP POST request, as shown below.
Then, you should recieve the response like:
This indicates that the srs listening port is 9000.
Now, you can use srs_bench to push RTP over TCP. The usage is as follows:
Finally, you can test the stream with:
|
dbfce26
to
ba42a40
Compare
2b8ee29
to
9f665e2
Compare
9f665e2
to
4ac1658
Compare
add gb_test func
|
27f5cd2
to
627ad0c
Compare
627ad0c
to
4ac1658
Compare
https://github.com/ossrs/srs-sip
|
Please refer to the following GitHub pull request: #4101
|
Support external signaling service, SRS only acts as a media server. Simply push RTP directly.
for #3369
TRANS_BY_GPT3