Skip to content

Live: Source cleanup to free memory for multiple streams. #413

@szhuangzan

Description

@szhuangzan
SrsSource* source = SrsSource::fetch(req);
if (!source) {
    if ((ret = SrsSource::create(req, server, server, &source)) != ERROR_SUCCESS) {
        return ret;
    }
}

If a server is continuously requested with rtmp://xxx/live/(1-100000), the number of objects keeps increasing, and no release logic is found.

Metadata

Metadata

Labels

BugIt might be a bug.EnhancementImprovement or enhancement.TransByAITranslated by AI/GPT.

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions