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

SRT: Reduce latency to 200ms of srt2rtc.conf #3409

Merged
merged 2 commits into from
Feb 12, 2023

Conversation

xiaozhihong
Copy link
Collaborator

peerlatency=0 can reduce 300ms of latency of srt to rtc.

@chundonglinlin
Copy link
Member

chundonglinlin commented Feb 10, 2023

When the latency is set to 300, the delay is above 500ms.

srt_server {
    enabled on;
    listen 10080;
    maxbw 1000000000;
    connect_timeout 4000;
    peerlatency 300;
    recvlatency 300;
}

When the latency is set to 0, the delay is above 200ms.

srt_server {
    enabled on;
    listen 10080;
    maxbw 1000000000;
    connect_timeout 4000;
    peerlatency 0;
    recvlatency 0;
}

TRANS_BY_GPT3

@winlinvip winlinvip changed the title CONF: reduce latency of srt2rtc.conf CONF: reduce latency to 200ms of srt2rtc.conf Feb 12, 2023
@winlinvip winlinvip changed the title CONF: reduce latency to 200ms of srt2rtc.conf SRT: Reduce latency to 200ms of srt2rtc.conf Feb 12, 2023
@winlinvip winlinvip merged commit 64fa116 into ossrs:develop Feb 12, 2023
winlinvip added a commit that referenced this pull request Feb 12, 2023
PICK 64fa116

Co-authored-by: winlin <winlin@vip.126.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants