diff --git a/Connector_HTTP/main.cpp b/Connector_HTTP/main.cpp index 7f2ad113..824bc311 100644 --- a/Connector_HTTP/main.cpp +++ b/Connector_HTTP/main.cpp @@ -50,20 +50,22 @@ int FlvToFragNum( FLV_Pack * tag ) { std::string BuildManifest( std::string MetaData, std::string MovieId, int CurrentMediaTime ) { Interface * temp = new Interface; - std::string Result="\n"; - Result += " video/mp4\n"; - Result += " live\n"; - Result += " streaming\n"; - Result += " \n"; - Result += base64_encode(temp->GenerateLiveBootstrap(CurrentMediaTime)); - Result += " \n"; - Result += " \n\n"; + Result += ""; Result += MovieId; - Result += "/\">"; - Result += " \n"; + Result += "\nvideo/mp4\n"; + Result += "live\n"; + Result += "streaming\n"; + Result += ""; + Result += base64_encode(temp->GenerateLiveBootstrap(CurrentMediaTime)); + Result += "\n"; + Result += "\n"; + Result += ""; Result += base64_encode(MetaData); - Result += " \n"; - Result += " \n"; + Result += "\n"; + Result += "\n"; Result += "\n"; delete temp; return Result; diff --git a/Connector_RTMP/chunkstream.cpp b/Connector_RTMP/chunkstream.cpp index d27cbd45..5681277b 100644 --- a/Connector_RTMP/chunkstream.cpp +++ b/Connector_RTMP/chunkstream.cpp @@ -11,8 +11,8 @@ unsigned int getNowMS(){ } -unsigned int chunk_rec_max = 128; -unsigned int chunk_snd_max = 128; +unsigned int chunk_rec_max = 102400; +unsigned int chunk_snd_max = 102400; unsigned int rec_window_size = 0xFA00; unsigned int snd_window_size = 1024*500; unsigned int rec_window_at = 0;