Updated mp4 to parse some information from JSON-style metadata, guesses values if not present.
This commit is contained in:
parent
48bf3d189a
commit
4ac7c54698
2 changed files with 10 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <string>
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
#include "json.h"
|
||||
|
||||
/// Contains all MP4 format related code.
|
||||
namespace MP4{
|
||||
|
@ -125,7 +126,7 @@ namespace MP4{
|
|||
Box * Container;
|
||||
};//ASRT Box
|
||||
|
||||
std::string GenerateLiveBootstrap( uint32_t CurMediaTime );
|
||||
std::string GenerateLiveBootstrap( JSON::Value & metadata );
|
||||
std::string mdatFold(std::string data);
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue