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
srs distribution of webrtc failed, the stream cannot be played #1727
Comments
^^^ I think it's the same as my issue |
Try adding
|
@dean-river like that?
because i still get the error :
|
Oh, you and mine are different. Mine doesn't have any error logs, but yours is throwing an error during the interactive SDP phase.
|
After adding "merge_nalus off;", we can play using WebRTC on this side.
|
Testing found that the UDP packet reception in the local area network (LAN) environment is relatively stable. However, in the public network environment, there are a lot of negative acknowledgments (NACK). The video playback is limited to only one frame and freezes for several seconds. Is the UDP packet restricted by the internet service provider (ISP)? Or is the UDP packet size exceeding the maximum transmission unit (MTU) and being dropped?
|
Took a look, there are still 12k big packages like this, I guess they were directly discarded from the public network... 1640
|
@wnpllrzodiac SRS is divided into subpackages, with a maximum size of 1500. The 12k package you saw, did you capture it with Wireshark? Can you provide the Wireshark capture file?
|
The result of the public network test is very unstable.
|
Supporting NACK and TWCC is currently in progress, please refer to the official website History for more information. The program structure is currently being adjusted.
|
@winlinvip Okay, thank you for your hard work! In LAN mode, both the server and client's UDP packets are one-to-one.
|
Description
Configure SRS4 to pull RTSP stream (ingest RTSP) into SRS. SRS fails to distribute the stream via WebRTC, and WebRTC is unable to play the stream (it can be played using the RTMP protocol).
Description
Please describe the issue you are facing.
1. SRS Version:
4.0.23
2. SRS Configuration:
Based on the
conf/rtc.conf
file, add the following configuration for pulling streams:Replay
1. Start SRS
2. Play
webrtc://192.168.1.206/live/stream
.3. Unable to play WebRTC, but able to play RTMP.
Expected Behavior
Able to view streams through WebRTC
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: