Browse Source

Lua RC: do not show nonexistent sout stats

(cherry picked from commit 60006dcb7e)
pull/135/head
Rémi Denis-Courmont 9 years ago
parent
commit
13e5375707
  1. 5
      share/lua/intf/cli.lua

5
share/lua/intf/cli.lua

@ -401,11 +401,6 @@ function stats(name,client)
client:append("| audio decoded : "..string.format("%5i",stats_tab["decoded_audio"]))
client:append("| buffers played : "..string.format("%5i",stats_tab["played_abuffers"]))
client:append("| buffers lost : "..string.format("%5i",stats_tab["lost_abuffers"]))
client:append("|")
client:append("+-[Streaming]")
client:append("| packets sent : "..string.format("%5i",stats_tab["sent_packets"]))
client:append("| bytes sent : "..string.format("%8.0f KiB",stats_tab["sent_bytes"]/1024))
client:append("| sending bitrate : "..string.format("%6.0f kb/s",stats_tab["send_bitrate"]*8000))
client:append("+----[ end of statistical info ]")
end

Loading…
Cancel
Save