Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libnice
libnice
Commits
9001146d
Commit
9001146d
authored
Mar 16, 2007
by
Dafydd Harries
Browse files
remove candidate pair code for now
darcs-hash:20070316135346-c9803-c6faa44456c9b6410128632fecb99dbe147d02fb.gz
parent
ddd5afb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
agent/agent.c
View file @
9001146d
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment