Fixed minor RTMP compile errors.
This commit is contained in:
parent
088b917b52
commit
93024075a3
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ namespace Connector_RTMP {
|
|||
return;
|
||||
}
|
||||
ss.Send("P ");
|
||||
ss.Send(Socket.getHost());
|
||||
ss.Send(Socket.getHost().c_str());
|
||||
ss.Send(" ");
|
||||
ss.Send(app_name);
|
||||
ss.SendNow("\n");
|
||||
|
@ -262,7 +262,7 @@ namespace Connector_RTMP {
|
|||
amfReply.getContentP(3)->addContent(AMF::Object("clientid", (double)1337));
|
||||
sendCommand(amfReply, playMessageType, playStreamId);
|
||||
ss.Send("s ");
|
||||
ss.Send(JSON::Value((long long int)amfData.getContentP(3)->NumValue()).asString());
|
||||
ss.Send(JSON::Value((long long int)amfData.getContentP(3)->NumValue()).asString().c_str());
|
||||
ss.SendNow("\n");
|
||||
return;
|
||||
} //seek
|
||||
|
|
Loading…
Add table
Reference in a new issue