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

[Bug] Stream_Name 为空,无法拉流 #303

Open
libreui opened this issue Jul 9, 2023 · 3 comments
Open

[Bug] Stream_Name 为空,无法拉流 #303

libreui opened this issue Jul 9, 2023 · 3 comments

Comments

@libreui
Copy link

libreui commented Jul 9, 2023

lal_server: master分支
始终无法得到steam_name, 无法拉流

{
    "error_code": 0,
    "desp": "succ",
    "data": {
        "groups": [
            {
                "stream_name": "", /* 不正确 */
                "app_name": "live/libre", /* 不正确 */
                "audio_codec": "AAC",
                "video_codec": "H264",
                "video_width": 1280,
                "video_height": 720,
                "pub": {
                    "session_id": "RTMPPUBSUB1",
                    "protocol": "RTMP",
                    "base_type": "PUB",
                    "remote_addr": "192.168.0.125:62469",
                    "start_time": "2023-07-09 13:52:35.774",
                    "read_bytes_sum": 2610213,
                    "wrote_bytes_sum": 3500,
                    "bitrate_kbits": 1961,
                    "read_bitrate_kbits": 1961,
                    "write_bitrate_kbits": 0
                },
                "subs": null,
                "pull": {
                    "session_id": "",
                    "protocol": "",
                    "base_type": "",
                    "remote_addr": "",
                    "start_time": "",
                    "read_bytes_sum": 0,
                    "wrote_bytes_sum": 0,
                    "bitrate_kbits": 0,
                    "read_bitrate_kbits": 0,
                    "write_bitrate_kbits": 0
                },
                "in_frame_per_sec": []
            }
        ]
    }
}
@q191201771
Copy link
Owner

推流用的什么,完整的推流url是什么,

@libreui
Copy link
Author

libreui commented Jul 17, 2023

使用的OBS推流
推流URL:
rtmp://192.168.0.200:1935/live/libre

@q191201771
Copy link
Owner

可能是obs填写URL没填对,按下面的方法试试:

服务器输入框中填写 rtmp://127.0.0.200:1935/live
串流密钥输入框中填写 libre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants