The functions getNetworkBandwidth(), getRemoteBitrate() is obsoleted. You can use stream.getStats() function to obtain WebRTC statistics as shown here, it is avalable both for publishing and playback.
NOT_ENOUGH_BANDWIDTH is mostly informational message, it shows that packets loss to all packets...