mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixed Zoom handling
Implemented Ms Teams call detection
This commit is contained in:
parent
02326b5295
commit
7ea288bb52
7 changed files with 74 additions and 52 deletions
|
|
@ -1070,13 +1070,15 @@ function getRTPInfo(infoPar)
|
|||
end
|
||||
|
||||
if (infoPar.rtp_stream_type ~= nil) then
|
||||
if (infoPar.rtp_stream_type == "screen_share") then
|
||||
str = "Screen Sharing"
|
||||
else
|
||||
str = capitalize(infoPar.rtp_stream_type)
|
||||
end
|
||||
|
||||
returnString = returnString .. '<span class="badge bg-secondary">' .. str .. '</span>'
|
||||
if (infoPar.rtp_stream_type == "screen_share") then
|
||||
returnString = '<i class="fas fa-desktop"></i> <span class="badge bg-secondary">' .. i18n("rtp.screen_share") ..'</span>'
|
||||
elseif (infoPar.rtp_stream_type == "audio") then
|
||||
returnString = '<i class="fas fa-volume-up"></i> <span class="badge bg-secondary">' .. i18n("rtp.audio") .. '</span>'
|
||||
elseif (infoPar.rtp_stream_type == "video") then
|
||||
returnString = '<i class="fas fa-video"></i> <span class="badge bg-secondary">' .. i18n("rtp.video") .. '</span>'
|
||||
elseif (infoPar.rtp_stream_type == "audio_video") then
|
||||
returnString = '<i class="fas fa-video"></i> <span class="badge bg-secondary">' .. i18n("rtp.audio_video") .. '</span>'
|
||||
end
|
||||
end
|
||||
|
||||
return returnString
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue