protected void updateStatusbar() {
VideoSharingSession session = videoSharingSessionObservable.getValue();
if (session == null)
return;
Decoder decoder = session.getDecoder();
if (decoder == null)
return;
DecodingStatisticPacket statistic = decoder.getLastDecodingStatistic();
if (statistic == null || statistic == lastShownStatus)
return;
lastShownStatus = statistic;