public string ConvertToVideoLink(string publicLink, SharedVideoResolution videoResolution) { return(GetShardInfo(ShardType.WeblinkVideo).Result.Url + videoResolution.ToEnumMemberValue() + "/" + //"0p/" + Common.Base64Encode(publicLink.TrimStart('/')) + ".m3u8?double_encode=1"); }
public string ConvertToVideoLink(Uri publicLink, SharedVideoResolution videoResolution) { string linkstring = publicLink.PathAndQuery; return(GetShardInfo(ShardType.WeblinkVideo).Result.Url + videoResolution.ToEnumMemberValue() + "/" + Common.Base64Encode(linkstring.TrimStart('/')) + ".m3u8?double_encode=1"); }