Admin: Fix typo in models.py (#6952)

This commit is contained in:
Ikko Eltociear Ashimine 2023-10-27 03:10:51 +09:00 committed by GitHub
parent 51672fb6f5
commit 9c0724e0d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,12 +23,12 @@ class KinesisVideoArchivedMediaBackend(BaseBackend):
return f"{data_endpoint}{relative_path}?SessionToken={session_token}"
def get_hls_streaming_session_url(self, stream_name: str, stream_arn: str) -> str:
# Ignore option paramters as the format of hls_url doesn't depend on them
# Ignore option parameters as the format of hls_url doesn't depend on them
api_name = "GET_HLS_STREAMING_SESSION_URL"
return self._get_streaming_url(stream_name, stream_arn, api_name)
def get_dash_streaming_session_url(self, stream_name: str, stream_arn: str) -> str:
# Ignore option paramters as the format of hls_url doesn't depend on them
# Ignore option parameters as the format of hls_url doesn't depend on them
api_name = "GET_DASH_STREAMING_SESSION_URL"
return self._get_streaming_url(stream_name, stream_arn, api_name)