Various HTTP Dynamic Streaming fixes.
This commit is contained in:
parent
10ce807f6f
commit
cfbc882641
2 changed files with 7 additions and 4 deletions
|
@ -54,11 +54,13 @@ namespace Mist {
|
|||
}
|
||||
|
||||
void Output::updateMeta(){
|
||||
unsigned int i = 0;
|
||||
//read metadata from page to myMeta variable
|
||||
JSON::Value jsonMeta;
|
||||
JSON::fromDTMI((const unsigned char*)streamIndex.mapped + 8, streamIndex.len - 8, i, jsonMeta);
|
||||
myMeta = DTSC::Meta(jsonMeta);
|
||||
if (streamIndex.mapped){
|
||||
JSON::Value jsonMeta;
|
||||
unsigned int i = 0;
|
||||
JSON::fromDTMI((const unsigned char*)streamIndex.mapped + 8, streamIndex.len - 8, i, jsonMeta);
|
||||
myMeta = DTSC::Meta(jsonMeta);
|
||||
}
|
||||
}
|
||||
|
||||
/// Called when stream initialization has failed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue