Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
1b94039a
Commit
1b94039a
authored
5 years ago
by
Chad Pilkey
Browse files
Options
Downloads
Patches
Plain Diff
move sipjs sdp logging properties under extraInfo
parent
50365aa4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bigbluebutton-html5/imports/utils/sdpUtils.js
+17
-9
17 additions, 9 deletions
bigbluebutton-html5/imports/utils/sdpUtils.js
with
17 additions
and
9 deletions
bigbluebutton-html5/imports/utils/sdpUtils.js
+
17
−
9
View file @
1b94039a
...
...
@@ -185,17 +185,21 @@ const analyzeSdp = (sdp) => {
// candidate types
logger
.
info
({
logCode
:
'
sdp_utils_candidate_types
'
,
foundV4Candidate
:
v4Info
.
found
,
foundV4PublicCandidate
:
v4Info
.
public
,
foundV6Candidate
:
v6Info
.
found
,
extraInfo
:
{
foundV4Candidate
:
v4Info
.
found
,
foundV4PublicCandidate
:
v4Info
.
public
,
foundV6Candidate
:
v6Info
.
found
,
},
},
`Found candidates
${
v4Info
.
found
?
'
with
'
:
'
without
'
}
type v4 (public?
${
v4Info
.
public
}
) and
${
v6Info
.
found
?
'
with
'
:
'
without
'
}
type v6`
);
// server reflexive
if
(
srflxInfo
.
found
)
{
logger
.
info
({
logCode
:
'
sdp_utils_server_reflexive_found
'
,
candidateType
:
srflxInfo
.
type
,
canddiatePublic
:
srflxInfo
.
public
,
extraInfo
:
{
candidateType
:
srflxInfo
.
type
,
canddiatePublic
:
srflxInfo
.
public
,
},
},
'
Found a server reflexive candidate
'
);
}
else
{
logger
.
info
({
...
...
@@ -207,8 +211,10 @@ const analyzeSdp = (sdp) => {
if
(
prflxInfo
.
found
)
{
logger
.
info
({
logCode
:
'
sdp_utils_peer_reflexive_found
'
,
candidateType
:
prflxInfo
.
type
,
canddiatePublic
:
prflxInfo
.
public
,
extraInfo
:
{
candidateType
:
prflxInfo
.
type
,
canddiatePublic
:
prflxInfo
.
public
,
},
},
'
Found a peer reflexive candidate
'
);
}
else
{
logger
.
info
({
...
...
@@ -220,8 +226,10 @@ const analyzeSdp = (sdp) => {
if
(
relayInfo
.
found
)
{
logger
.
info
({
logCode
:
'
sdp_utils_relay_found
'
,
candidateType
:
relayInfo
.
type
,
canddiatePublic
:
relayInfo
.
public
,
extraInfo
:
{
candidateType
:
relayInfo
.
type
,
canddiatePublic
:
relayInfo
.
public
,
},
},
'
Found a relay candidate
'
);
}
else
{
logger
.
info
({
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment