mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
Remove state variable inside the sample
This commit is contained in:
parent
8e89624abf
commit
0f7a17fdf0
1 changed files with 0 additions and 6 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue