Change the transient message when loss is experienced to clarify the actions the user should take

This commit is contained in:
Cameron Gutman 2014-03-03 19:41:23 -05:00
parent 8297ca7e85
commit 4cbaee6806

View File

@ -443,7 +443,7 @@ public class ControlStream implements ConnectionStatusListener {
}
else {
if (++lossCount == MAX_LOSS_COUNT_IN_PERIOD) {
listener.displayTransientMessage("Detected excessive A/V data loss. Try improving your network connection or lowering stream settings.");
listener.displayTransientMessage("Detected excessive A/V data loss. Try improving your network connection or lowering stream resolution and/or frame rate.");
lossCount = -MAX_LOSS_COUNT_IN_PERIOD * MESSAGE_DELAY_FACTOR;
lossTimestamp = 0;
}
@ -454,7 +454,7 @@ public class ControlStream implements ConnectionStatusListener {
public void connectionSinkTooSlow(int firstLostFrame, int nextSuccessfulFrame) {
if (++slowSinkCount == MAX_SLOW_SINK_COUNT) {
listener.displayTransientMessage("Your device is processing the A/V data too slowly. Try lowering stream settings.");
listener.displayTransientMessage("Your device is processing the A/V data too slowly. Try lowering stream resolution and/or frame rate.");
slowSinkCount = -MAX_SLOW_SINK_COUNT * MESSAGE_DELAY_FACTOR;
}