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

Archieve realtime streaming is even possible? #2259

Closed
ianholing opened this issue Mar 24, 2021 · 4 comments
Closed

Archieve realtime streaming is even possible? #2259

ianholing opened this issue Mar 24, 2021 · 4 comments
Assignees
Labels
TransByAI Translated by AI/GPT. Won't fix We won't fix it.
Milestone

Comments

@ianholing
Copy link

ianholing commented Mar 24, 2021

** Archieve Real Time (less than 1s)**

Is there a way to achieve real-time? I tried following this guide (https://github.com/ossrs/srs/wiki/v3_EN_SampleRealtime) step by step and made numerous changes to try and improve it. I even experimented with ffplay to remove the cache, but nothing worked. I cannot reduce the delay below 4 seconds. Before you ask, my network connection is good, and I am streaming directly within my LAN network.

  1. SRS version: 3.0release
  2. SRS configuration is as follows:
# conf/realtime.conf
listen              1935;
max_connections     1000;
vhost __defaultVhost__ {
    tcp_nodelay     on
    min_latency     on;

    play {
        gop_cache       off;
        queue_length    10;
        mw_latency      100;
    }

    publish {
        mr off;
    }
}

Steps to reproduce the bug:

  1. Just try to reproduce the realtime wiki page

Expected behavior:

Description of your expectation:

I expect less than 1 second of latency

TRANS_BY_GPT3

@Luupw3d
Copy link

Luupw3d commented Mar 31, 2021

Encountered the same problem, looking for a solution:(

@ianholing
Copy link
Author

@Luupw3d I am yet looking for something, if anyone finds a solution please share

@winlinvip
Copy link
Member

Use SRS 4.0+, WebRTC. Please read #307

@Luupw3d
Copy link

Luupw3d commented Apr 20, 2021

Encountered the same problem, looking for a solution:(

Please using WebRTC, its latency is very low(<1s on LAN)

@winlinvip winlinvip self-assigned this Aug 27, 2021
@winlinvip winlinvip added the Won't fix We won't fix it. label Aug 27, 2021
@winlinvip winlinvip added this to the 4.0 milestone Sep 4, 2021
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 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. Won't fix We won't fix it.
Projects
None yet
Development

No branches or pull requests

3 participants