Commit 9001146d authored by Dafydd Harries's avatar Dafydd Harries
Browse files

remove candidate pair code for now

darcs-hash:20070316135346-c9803-c6faa44456c9b6410128632fecb99dbe147d02fb.gz
parent ddd5afb1
......@@ -12,29 +12,6 @@
#include "stream.h"
/*** candidate_pair ***/
typedef struct _CandidatePair CandidatePair;
struct _CandidatePair
{
NiceCandidate *local;
NiceCandidate *remote;
};
/* ICE-13 §5.7 (p24) */
typedef enum
{
CHECK_STATE_WAITING,
CHECK_STATE_IN_PROGRESS,
CHECK_STATE_SUCCEEDED,
CHECK_STATE_FAILED,
CHECK_STATE_FROZEN,
} CheckState;
typedef enum
{
CHECK_LIST_STATE_RUNNING,
......@@ -42,24 +19,6 @@ typedef enum
} CheckListState;
#if 0
/* ICE-13 §5.7 */
guint64
candidate_pair_priority (
guint64 offerer_prio,
guint64 answerer_prio)
{
return (
0x100000000LL * MIN (offerer_prio, answerer_prio) +
2 * MAX (offerer_prio, answerer_prio) +
(offerer_prio > answerer_prio ? 1 : 0));
}
#endif
/*** agent ***/
G_DEFINE_TYPE (NiceAgent, nice_agent, G_TYPE_OBJECT);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment