Remove state variable inside the sample

This commit is contained in:
Axel Isouard 2016-09-30 22:37:15 +02:00
parent 8e89624abf
commit 0f7a17fdf0

View file

@ -7,13 +7,7 @@
#include "SetRemoteSessionDescriptionObserver.h" #include "SetRemoteSessionDescriptionObserver.h"
#include "Console.h" #include "Console.h"
enum {
STATE_EXCHANGE = 0,
STATE_CHAT
};
static IPeer *peer = NULL; static IPeer *peer = NULL;
static int state = STATE_EXCHANGE;
void HandleSDP(Json::Value object) { void HandleSDP(Json::Value object) {
std::string type = object["type"].asString(); std::string type = object["type"].asString();