You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SRS Config (配置):
Make sure to maintain the markdown structure.
listen 19351;
max_connections 1000;
daemon off;
#srs_log_tank console;
srs_log_tank file;
srs_log_file ./log/srs.log;
http_server {
enabled on;
listen 8124;
dir ./nginx/html;
}
http_api {
enabled on;
#listen 1985;
listen 8052;
}
stats {
network 0;
}
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @see https://github.com/ossrs/srs/wiki/v4_CN_RTCWiki#config-candidate
candidate *;
use_auto_detect_network_ip on;
ip_family ipv4;
}
vhost __defaultVhost__ {
rtc {
enabled on;
rtmp_to_rtc on;
rtc_to_rtmp on;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
}
Replay (重现)
Make sure to maintain the markdown structure.
Please describe how to replay the bug? (重现Bug的步骤)
Make sure to maintain the markdown structure.
When pushing an rtmp stream to SRS in the test environment, playing it through the format webrtc://public IP+port+xxxxxxx, the SRS built-in webrtc player shows a 200OK response in the network request results, but the screen remains black with a spinning loading icon. Checking the logs, the source_id is found to be "/", with a value of "/". However, when playing the stream using the public IP+port format in the development environment, it displays the video correctly, and the source_id is "86945vs9/5vdfkwp8". I wonder if there is any reason for this difference.
In the development environment, the stream plays normally, but in the test environment, it remains black with a loading icon. Can anyone provide guidance or insights on this issue?
xxxxxx
Expect (Expected Behavior)
Please describe your expectation
I hope to be able to play by using the public IP address and port, and be able to display images normally.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
dengzhengxiong
changed the title
WebRTC使用公网IP+端口形式播放一直处于黑屏转圈
大神快来救救我!!WebRTC使用公网IP+端口形式播放一直处于黑屏转圈
Dec 13, 2022
winlinvip
changed the title
大神快来救救我!!WebRTC使用公网IP+端口形式播放一直处于黑屏转圈
WebRTC: RTMP2RTC, 使用公网IP+端口形式播放一直处于黑屏转圈
Dec 25, 2022
winlinvip
changed the title
WebRTC: RTMP2RTC, 使用公网IP+端口形式播放一直处于黑屏转圈
WebRTC: RTMP2RTC, Failed to play the stream. 播放黑屏
Dec 25, 2022
winlinvip
changed the title
WebRTC: RTMP2RTC, Failed to play the stream. 播放黑屏
WebRTC: RTMP2RTC, Failed to play the stream. 使用公网IP+端口形式播放黑屏
Dec 25, 2022
The version is too old. Try updating to the new version?
This issue can be closed. Looking at the logs, RTC: start play url=/live/09101480EEC5E507700_MJ_ProtocolServer_1, the URL here is different from the source URL, new live source, stream_url=/livemjsdrecord.sctel.com.cn/08103021122A65D2500_MJ_ProtocolServer_1.
TRANS_BY_GPT3
winlinvip
changed the title
WebRTC: RTMP2RTC, Failed to play the stream. 使用公网IP+端口形式播放黑屏
WebRTC: RTMP2RTC, Failed to play the stream. Playing a black screen using public IP+port format.
Jul 29, 2023
Description (描述)
SRS Version (版本):
5.0.93
Make sure to maintain the markdown structure.
SRS Log (日志):
Make sure to maintain the markdown structure.
Make sure to maintain the markdown structure.
Replay (重现)
Make sure to maintain the markdown structure.
When pushing an rtmp stream to SRS in the test environment, playing it through the format webrtc://public IP+port+xxxxxxx, the SRS built-in webrtc player shows a 200OK response in the network request results, but the screen remains black with a spinning loading icon. Checking the logs, the source_id is found to be "/", with a value of "/". However, when playing the stream using the public IP+port format in the development environment, it displays the video correctly, and the source_id is "86945vs9/5vdfkwp8". I wonder if there is any reason for this difference.
In the development environment, the stream plays normally, but in the test environment, it remains black with a loading icon. Can anyone provide guidance or insights on this issue?
xxxxxx
Expect (Expected Behavior)
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: