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
Note: Before asking a question, please read the FAQ (Please read FAQ before filing an issue) #2716
Description
Previously, I compiled version 4.0.161 and after configuring rtc.conf, I was able to play rtc video streams using the built-in web page of srs. Today, I downloaded the latest version 198 and compiled it, but rtc.conf remained unchanged and the web page could no longer play rtc video streams. The same issue occurred with version 191, until I copied the compiled srs executable file from version 161, then it started working again. I haven't tested the versions between 161 and 191.
SRS version: 4.0.198
SRS configuration is as follows:
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank file;
srs_log_file ./objs/srs.log;
http_server {
enabled on;
listen 9090;
dir ./objs/nginx/html;
}
http_api {
enabled on;
listen 1985;
}
stats {
network 0;
}
rtc_server {
enabled on;
# Listen at udp:https://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 192.168.100.123;
}
vhost __defaultVhost__ {
rtc {
enabled on;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
}
Replay
How to replay bug?
Steps to reproduce the bug
xxxxxx
xxxxxx
xxxxxx
Expect
Expected behavior
Please describe your expectation
Describe what you expect to happen
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
Your question already exists in the FAQ, please search for webrtc-live in the FAQ: #2716'
Make sure to maintain the markdown structure.
Before SRS 4.0.174, it was working, but after updating, it stopped working because rtc.conf does not enable RTMP to RTC by default. You need to use rtmp2rtc.conf or rtc2rtmp.conf, refer to 71ed6e5.
winlinvip
changed the title
srs4.0.161编译后可以播放webrtc,4.0.191和198版本webrtc播放不了
srs4.0.161 can play webrtc after compilation, but webrtc cannot be played in versions 4.0.191 and 4.0.198.
Jul 29, 2023
Description
SRS version:
4.0.198
SRS configuration is as follows:
Replay
How to replay bug?
xxxxxx
xxxxxx
xxxxxx
Expect
Please describe your expectation
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: