public async void showMediaObjectWS(MediaAssetSchema mo) { MediaCommand mc = new MediaCommand(SessionHelper.sessionResult.RoomId, mo); try { var x = await ViewModel.api.PlaybackMediaShowPostAsync(mc); } catch (Exception ex) { Debug.WriteLine("showMedia err " + ex.Message); } }
public void showMediaObjectClientSided(MediaAssetSchema mo) { MediaAssetObject mao = new MediaAssetObject(mo); mao.RenderElement(); }
public MediaAssetObject(MediaAssetSchema mo) { this = mo; }