We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are querying for a video that is streamed to KVS. We'd like to return the server and producer timestamp when getting frames.
We pass a time range variable to get a specific time period but we need to confirm from the original KVS stream.
url = kvam.get_hls_streaming_session_url( StreamName=STREAM_NAME, PlaybackMode="ON_DEMAND", DisplayFragmentTimestamp="ALWAYS", HLSFragmentSelector={ "FragmentSelectorType": "SERVER_TIMESTAMP", "TimestampRange": { "StartTimestamp": datetime.now() - timedelta(seconds=6), "EndTimestamp": datetime.now() - timedelta(seconds=3.5), }, }, )["HLSStreamingSessionURL"] The url returns a working HLS links.
url = kvam.get_hls_streaming_session_url( StreamName=STREAM_NAME, PlaybackMode="ON_DEMAND", DisplayFragmentTimestamp="ALWAYS", HLSFragmentSelector={ "FragmentSelectorType": "SERVER_TIMESTAMP", "TimestampRange": { "StartTimestamp": datetime.now() - timedelta(seconds=6), "EndTimestamp": datetime.now() - timedelta(seconds=3.5), }, }, )["HLSStreamingSessionURL"]
Thank you in advance for any help.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We are querying for a video that is streamed to KVS. We'd like to return the server and producer timestamp when getting frames.
We pass a time range variable to get a specific time period but we need to confirm from the original KVS stream.
url = kvam.get_hls_streaming_session_url( StreamName=STREAM_NAME, PlaybackMode="ON_DEMAND", DisplayFragmentTimestamp="ALWAYS", HLSFragmentSelector={ "FragmentSelectorType": "SERVER_TIMESTAMP", "TimestampRange": { "StartTimestamp": datetime.now() - timedelta(seconds=6), "EndTimestamp": datetime.now() - timedelta(seconds=3.5), }, }, )["HLSStreamingSessionURL"]
The url returns a working HLS links.
Thank you in advance for any help.
The text was updated successfully, but these errors were encountered: