Skip to main content
normalize_sabr_url
atmos
0.2.5
In atmos::
os_
lib::
site_
compat::
sabr
atmos
::
os_lib
::
site_compat
::
sabr
Function
normalize_
sabr_
url
Copy item path
Source
pub fn normalize_sabr_url(url: &
str
) ->
String
Expand description
SABR videoplayback URL を正規化する:
重複する cpn パラメータがあれば、最後に出現する最新の 1 つのみを残す。
重複する pot パラメータがあれば、最後に出現する最新の 1 つのみを残す。
pot パラメータが存在しなければ INITIAL_POT_URL_PARAM を補完する。