Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
ea7df952
Commit
ea7df952
authored
May 30, 2016
by
Ghislain MARY
Browse files
Handle refreshing of TURN allocations/permissions in ICE.
parent
7f2a62ba
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
241 additions
and
89 deletions
+241
-89
include/mediastreamer2/ice.h
include/mediastreamer2/ice.h
+8
-0
src/voip/ice.c
src/voip/ice.c
+233
-89
No files found.
include/mediastreamer2/ice.h
View file @
ea7df952
...
...
@@ -145,9 +145,16 @@ typedef struct _IceStunServerRequest {
MSStunAddress
peer_address
;
uint16_t
channel_number
;
uint16_t
stun_method
;
bool_t
gathering
;
bool_t
responded
;
bool_t
to_remove
;
}
IceStunServerRequest
;
typedef
struct
_IceStunRequestRoundTripTime
{
int
nb_responses
;
int
sum
;
}
IceStunRequestRoundTripTime
;
/**
* Structure representing an ICE transport address.
*/
...
...
@@ -247,6 +254,7 @@ typedef struct _IceCheckList {
bool_t
nomination_delay_running
;
/**< Boolean value telling whether the nomination process has been delayed or not */
MSTimeSpec
gathering_start_time
;
/**< Time when the gathering process was started */
MSTimeSpec
nomination_delay_start_time
;
/**< Time when the nomination process has been delayed */
IceStunRequestRoundTripTime
rtt
;
}
IceCheckList
;
...
...
src/voip/ice.c
View file @
ea7df952
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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