-
|
Hi, First, I’m sorry if this topic has been discussed before — I’ve read all related issues and discussions, but I still can’t solve my problem. My issue is similar to #1297 In that discussion, it was suggested to implement I researched and found that the new version has automatic dropped frame handling here: However, if it’s handled automatically, why does my stream still lose the last segment? Any help or clarification would be greatly appreciated. Thank you very much 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
On the HaishinKit side, Basically don’t do anything since handling is intended to be done on the user side. Case #1297Premise: While streaming with HaishinKit, the client side has insufficient bandwidth. As a result, data that couldn’t be fully sent remains on the mobile side. In the latest version, this kind of handling can be done using BitRateStrategy: await stream.setBitRateStrategy(StreamVideoAdaptiveBitRateStrategy())About MediaLinkThis refers to processing that occurs when playback is being done with HaishinKit. |
Beta Was this translation helpful? Give feedback.
The value obtained here,
report.currentQueueBytesOut: Int, represents the number of bytes that have not yet been sent.It’s updated every second. You can store this value and check it at the time of stopping.
currentQueueBytesOut / currentBytesOutPerSecond