我正在使用 Kinesis Video Stream SDK 测试流。在流式传输时,假设 24 小时。
但是,当我尝试从ListFragment
操作中检索片段时,它之间通常会丢失片段。
例如,在这种情况下。我在 2 月 14 日早上 7 点到 2 月 15 日早上 7 点播放,所以是 24 小时。当我检索片段列表时,我发现有几个片段丢失,其中一个是 2 月 14 日 1pm - 1:15pm,因此总共丢失了 15 分钟的片段。
当我检查ListFragment
检索到的片段列表时,它看起来像这样(这是检索到的示例片段)
{
"Fragments": [
{
"FragmentLengthInMilliseconds": 1599,
"FragmentNumber": "1",
"FragmentSizeInBytes": 123,
"ProducerTimestamp": 1644814740,
"ServerTimestamp": 0
},
{
"FragmentLengthInMilliseconds": 1599,
"FragmentNumber": "1",
"FragmentSizeInBytes": 123,
"ProducerTimestamp": 1644815700,
"ServerTimestamp": 0
}
],
"NextToken": "xxx"
}
从 EPOCH 时间戳开始,片段基本上从 12:59 pm 直接跳到 13:15 pm,因此在那里丢失了大约 15 分钟。
当我故意尝试仅在下午 13:00 到 13:15 之间检索时,ListFragment
返回给我的空片段。
那么我想知道的是,即使 HLS Stream 正在流式传输,它为什么会“丢失片段”的任何原因?
如果有人知道可能导致它的任何原因,感谢并感谢。