ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.86k stars 5.29k forks source link

GB: How to make SRS5 only receive PS streams without using the internal SIP? #3550

Open zh19900725 opened 1 year ago

zh19900725 commented 1 year ago

Note: Please read FAQ before file an issue, see #2716

Description

Please description your issue here

  1. SRS Version: srs5

  2. SRS Log:

image

  1. SRS Config:
stream_caster {
    enabled on;
    caster gb28181;
    listen 10000;
    sip {
        enabled off;
    }
}

Replay

Please describe how to replay the bug?

Step 1: srs5 only opens the national standard monitoring port. If the built-in SIP is disabled, the project cannot be started. If the built-in SIP is enabled, the project can be started. However, if an external PS stream is sent to srs, it will report "no session" and the stream will be discarded.

Expect

I only receive PS streams and do not use the internal SIP. I use an external independent SIP service.

TRANS_BY_GPT3

winlinvip commented 1 year ago

See https://github.com/ossrs/srs/pull/3384

chenqi146 commented 1 year ago

May I ask when will this be supported?

TRANS_BY_GPT3

winlinvip commented 3 months ago

Actually, we are open to all bugfix and features. If other people has no time, submiting a bugfix or pullrequest by yourself is a possible and better way, rather than asking for other people to do this.

zh19900725 commented 3 months ago

Actually, we are open to all bugfix and features. If other people has no time, submiting a bugfix or pullrequest by yourself is a possible and better way, rather than asking for other people to do this.

Thank you, this issue was resolved a few months ago. Indeed, the solution was found in a bug fix. I forgot to close this ticket.

TRANS_BY_GPT4

zh19900725 commented 3 months ago

https://github.com/ossrs/srs/pull/3384

zh19900725 commented 3 months ago

Look here for a solution; it has already been resolved in the pull requests.

TRANS_BY_GPT4