Carefully extracted raptors from RTMP.
This commit is contained in:
parent
565e59a1b7
commit
9bf92add4f
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ std::map<unsigned int, RTMPStream::Chunk> RTMPStream::Chunk::lastrecv;
|
|||
/// \warning Do not call if you are not actually sending the resulting data!
|
||||
/// \returns A std::string ready to be sent.
|
||||
std::string & RTMPStream::Chunk::Pack(){
|
||||
static std::string output = "";
|
||||
static std::string output;
|
||||
output.clear();
|
||||
RTMPStream::Chunk prev = lastsend[cs_id];
|
||||
unsigned int tmpi;
|
||||
unsigned char chtype = 0x00;
|
||||
|
|
Loading…
Add table
Reference in a new issue