Merge "MediaCas: add framework APIs"