public byte[] ExecuteKeyRequest(UUID uuid, MediaDrm.KeyRequest request) { var url = request.DefaultUrl; if (string.IsNullOrEmpty(url)) { url = PlayreadyTestDefaultUri; } return ExoPlayerUtil.ExecutePost(url, request.GetData(), KeyRequestProperties); }
public byte[] ExecuteProvisionRequest(UUID uuid, MediaDrm.ProvisionRequest request) { var url = request.DefaultUrl + "&signedRequest=" + System.Text.Encoding.ASCII.GetString(request.GetData()); return ExoPlayerUtil.ExecutePost(url, null, null); }