}
public void send(ByteArrayOutputStream videoData, boolean isKeyFrame) throws ConnectionException {
int totalBlocks = blockManager.getColumnCount() * blockManager.getRowCount();
for (int i = 1; i <= totalBlocks; i++) {
Block block = blockManager.getBlock(i);
// if (block.getEncodedBlock().length < 5) continue;
// BlockVideoData blockData = new BlockVideoData(room, block.getPosition(), block.getEncodedBlock(), block.isKeyFrame());
// try {
// screenQ.put(blockData);
// } catch (InterruptedException e) {