Skip to content
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

ajhua camera can not connect to srs #4119

Open
shanxixiaohuozi opened this issue Jul 12, 2024 · 1 comment
Open

ajhua camera can not connect to srs #4119

shanxixiaohuozi opened this issue Jul 12, 2024 · 1 comment
Labels
EnglishNative This issue is conveyed exclusively in English.

Comments

@shanxixiaohuozi
Copy link

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs and utilized
the Ask AI feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug
ajhua camera can not connect to srs

Version
SRS/6.0.134(Hang), MIT -- Windows Platform

To Reproduce
Steps to reproduce the behavior:

  1. DownLoad and Install SRS-Windows-x86_64-6.0-d6-setup.exe
  2. Modify configuration file /conf/push.gb28181.conf

listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;

stream_caster {
    enabled on;
    caster gb28181;
    output rtmp://127.0.0.1/live/[stream];
    listen 9000;
    # Deprecated config, moved to sip.candidate, see gb28181.conf
    # @see https://ossrs.net/lts/zh-cn/docs/v5/doc/gb28181#config-candidate
    host 192.168.2.47;
    sip {
        enabled on;
        listen 5060;
		serial 61030000002001000001;
		realm  6103000000;
		ack_timeout 30;
		keepalive_timeout 120;
		#print_sip_message on;
		auto_play on;
		candidate 192.168.2.47;
    }
}

http_server {
    enabled on;
    listen 8080;
    dir ./objs/nginx/html;
}

http_api {
    enabled on;
    listen 1985;
}
stats {
    network 0;
}
rtc_server {
    enabled on;
    listen 8000; # UDP port
    # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
    candidate 192.168.2.47;
}

vhost __defaultVhost__ {
    rtc {
        enabled on;
        # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
        rtmp_to_rtc on;
        # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
        rtc_to_rtmp on;
    }
    http_remux {
        enabled on;
        mount [vhost]/[app]/[stream].flv;
    }
    hls {
        enabled on;
    }
}


  1. Start SRS Service
    image

  2. Configure camera
    image
    5.View Results
    image
    image

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 12, 2024
@yushimeng
Copy link

yushimeng commented Jul 17, 2024

The server currently only supports SIP over TCP, and it appears that your device does not support this.

TRANS_BY_GPT4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

No branches or pull requests

3 participants