Skip to content

How to use pyav to manage multiple rtmp live audio streams in parallel? #1785

@XIAO-FAN-5257

Description

@XIAO-FAN-5257

I need to simultaneously connect 100-200 RTMP live audio streams within a process. In addition, resampling (16000HZ) is also required. However, when I implement it, I find that there will be a large number of threads (5k-6k), which leads to a very slow stream pulling.
How can I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions