Common code for mbc-playout and mbc-mosto