// is it the catalog?
if (Arrays.equals(event.getId(), gui.getVideoSubscriber().getCatalog())){
// Util.printBytes(event.getDataCopy());
// populate the catalog list.
gui.populateCatalogList(Util.getString(event.getDataCopy()));
event.freeNativeBuffer();
// finally unsubscribe to the catalog
gui.getVideoSubscriber().unsubscribeCatalog();
}else{
// Is a video
// get the packet and UDP it.