mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Update MediaSource.h
This commit is contained in:
parent
76df34de81
commit
2685f3cdc2
@ -228,7 +228,7 @@ class MediaSource: public TrackSource, public std::enable_shared_from_this<Media
|
|||||||
public:
|
public:
|
||||||
static MediaSource * const NullMediaSource;
|
static MediaSource * const NullMediaSource;
|
||||||
using Ptr = std::shared_ptr<MediaSource>;
|
using Ptr = std::shared_ptr<MediaSource>;
|
||||||
using StreamMap = std::unordered_map<std::string/*strema_id*/, std::weak_ptr<MediaSource> >;
|
using StreamMap = std::unordered_map<std::string/*stream_id*/, std::weak_ptr<MediaSource> >;
|
||||||
using AppStreamMap = std::unordered_map<std::string/*app*/, StreamMap>;
|
using AppStreamMap = std::unordered_map<std::string/*app*/, StreamMap>;
|
||||||
using VhostAppStreamMap = std::unordered_map<std::string/*vhost*/, AppStreamMap>;
|
using VhostAppStreamMap = std::unordered_map<std::string/*vhost*/, AppStreamMap>;
|
||||||
using SchemaVhostAppStreamMap = std::unordered_map<std::string/*schema*/, VhostAppStreamMap>;
|
using SchemaVhostAppStreamMap = std::unordered_map<std::string/*schema*/, VhostAppStreamMap>;
|
||||||
@ -424,4 +424,4 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
} /* namespace mediakit */
|
} /* namespace mediakit */
|
||||||
#endif //ZLMEDIAKIT_MEDIASOURCE_H
|
#endif //ZLMEDIAKIT_MEDIASOURCE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user