File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ onebinary_stuff += 'MistInTS'
228228# onebinary_stuff += 'MistInTSRIST'
229229# onebinary_stuff += 'MistInTSSRT'
230230onebinary_stuff += ' MistOutAAC'
231- # onebinary_stuff += 'MistOutCMAF'
231+ onebinary_stuff += ' MistOutCMAF'
232232onebinary_stuff += ' MistOutDTSC'
233233onebinary_stuff += ' MistOutEBML'
234234onebinary_stuff += ' MistOutFLAC'
Original file line number Diff line number Diff line change @@ -723,7 +723,7 @@ namespace Mist{
723723 /* Smooth Streaming Manifest Generation */
724724 /* ***************************************/
725725
726- std::string toUTF16 (const std::string &original){
726+ std::string toUTF16CMAF (const std::string &original){
727727 std::string result;
728728 result.append (" \377\376 " , 2 );
729729 for (std::string::const_iterator it = original.begin (); it != original.end (); it++){
@@ -845,7 +845,7 @@ namespace Mist{
845845 smoothAdaptation (" video" , vTracks, r);
846846 r << " </SmoothStreamingMedia>\n " ;
847847
848- return toUTF16 (r.str ());
848+ return toUTF16CMAF (r.str ());
849849 }
850850
851851 /* *********************************/
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ std::set<std::string> supportedAudio;
1616std::set<std::string> supportedVideo;
1717
1818namespace Mist {
19- std::string toUTF16 (const std::string &original){
19+ std::string toUTF16MP4 (const std::string &original){
2020 std::stringstream result;
2121 result << (char )0xFF << (char )0xFE ;
2222 for (std::string::const_iterator it = original.begin (); it != original.end (); it++){
@@ -90,7 +90,7 @@ namespace Mist{
9090
9191
9292 std::string OutMP4::protectionHeader (size_t idx){
93- std::string tmp = toUTF16 (M.getPlayReady (idx));
93+ std::string tmp = toUTF16MP4 (M.getPlayReady (idx));
9494 tmp.erase (0 , 2 ); // remove first 2 characters
9595 std::stringstream resGen;
9696 resGen << (char )((tmp.size () + 10 ) & 0xFF );
You can’t perform that action at this time.
0 commit comments