Moved boolean cast to readOnlyMeta, fix'ed bugs regarding FLV metadata generation.
This commit is contained in:
parent
9ddc2fc794
commit
6720f7a5ae
2 changed files with 5 additions and 5 deletions
|
@ -202,6 +202,7 @@ namespace DTSC {
|
|||
public:
|
||||
readOnlyMeta();
|
||||
readOnlyMeta(JSON::Value & meta);
|
||||
inline operator bool() const {return vod || live;}
|
||||
std::map<int,readOnlyTrack> tracks;
|
||||
bool vod;
|
||||
bool live;
|
||||
|
@ -218,7 +219,6 @@ namespace DTSC {
|
|||
Meta();
|
||||
Meta(const readOnlyMeta & meta);
|
||||
Meta(JSON::Value & meta);
|
||||
inline operator bool() const {return vod || live;}
|
||||
std::map<int,Track> tracks;
|
||||
void update(JSON::Value & pack);
|
||||
void send(Socket::Connection & conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue