1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

LiveSource/RtcSource: Refine fetch for external exposed interface. (#2873)

This commit is contained in:
chundonglinlin 2022-01-13 11:43:32 +08:00 committed by GitHub
parent 71a4b3c3f7
commit 7580341a1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 12 deletions

View file

@ -450,7 +450,6 @@ public:
virtual srs_error_t fetch_or_create(SrsRequest* r, ISrsLiveSourceHandler* h, SrsLiveSource** pps);
public:
// Get the exists source, NULL when not exists.
// update the request and return the exists source.
virtual SrsLiveSource* fetch(SrsRequest* r);
public:
// dispose and cycle all sources.