You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to troubleshoot and reproduce a sudden drop in bitrate for a very small subset of our users.
Most of our users will stream for around 60 minute using RTMP. During the middle of this, a small subset of users are seeing strange bitrate drops during the middle of their stream, before the bitrate recovers before the end of their stream.
Below are some sample graphs that illustrate this issue.
User 1 (iPhone 8)
User 2 (iPhone X)
User 3 (iPad Air - not sure which generation)
We have confirmed in each case these users have sufficient upload bandwidth, and I am confident internet speeds are not an issue. None of these users are using any adaptive bitrate settings.
User 2 also has an iPhone 13 Pro. When user 2 streams with this device, the problem goes away. User 2 also reports their iPhone X has battery health of 72% and will stream with the device plugged in.
User 3 also has a newer iPad Air. When users 3 streams with this device, the problem goes away.
All of these users are connecting to different streaming servers of ours in different regions, and there are other users streaming to these same servers at the same time without issue.
What testing have we done?
We have tested both an iPhone 8 and an iPhone X and are unable to reproduce this issue.
We have also tested the iPhone 8 using Xcode and setting the device and setting Thermal State to both Serious and Critical, along with also testing GPU Performance State to minimum. Everything performed flawlessly during this time in our 3 hours of testing in these modes.
We have tested with devices while charging and while on battery.
We have tested using WiFi and using 4G/5G.
We have tested with phone cases on and off.
When did this start to happen?
This problem started when we upgraded from either HaishinKit 1.5.6 or 1.5.7 to 1.7.2 or 1.7.3. We are currently using HaishinKit 1.8.1.
With the upgrade to HaishinKit 1.7 we switched to using HaishinKit's resampler. Before that we were using our own implementation.
These same users didn’t have this issue before this update to HaishinKit 1.7.
What next?
I’m hoping for some more guidance as to what we could test next, or if there might have been a specific change in HaishinKit that could have caused this issue? I feel like we don’t have enough information yet to open an Issue for this problem.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
We are trying to troubleshoot and reproduce a sudden drop in bitrate for a very small subset of our users.
Most of our users will stream for around 60 minute using RTMP. During the middle of this, a small subset of users are seeing strange bitrate drops during the middle of their stream, before the bitrate recovers before the end of their stream.
Below are some sample graphs that illustrate this issue.
User 1 (iPhone 8)
![CleanShot 2024-06-13 at 12 31 40@2x](https://private-user-images.githubusercontent.com/4444107/339197591-3c02a8cf-7855-45b2-9226-9ace4c87d81f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODM1MTEsIm5iZiI6MTcyMTE4MzIxMSwicGF0aCI6Ii80NDQ0MTA3LzMzOTE5NzU5MS0zYzAyYThjZi03ODU1LTQ1YjItOTIyNi05YWNlNGM4N2Q4MWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMDIyNjUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODg2NjAyZTg2NWM4MjZiMDljN2MxYjQ3MjNjMzJiYmNmZjk1YjdmOTI5NDg2ODk5MDk2MDIzNzcwN2E2NDVhMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.p2utuXHjTM-5UCa0v69ToIi9VDLISXHIP-QOqNg4Xl8)
User 2 (iPhone X)
![CleanShot 2024-06-13 at 12 32 38@2x](https://private-user-images.githubusercontent.com/4444107/339197633-1382a557-91bc-48b9-818a-a2b330197c35.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODM1MTEsIm5iZiI6MTcyMTE4MzIxMSwicGF0aCI6Ii80NDQ0MTA3LzMzOTE5NzYzMy0xMzgyYTU1Ny05MWJjLTQ4YjktODE4YS1hMmIzMzAxOTdjMzUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMDIyNjUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODg4MmZjMjgyMTE2NzI3YzA5ZDdjZmE4Y2E5NWRiYWEzMmE1MjVjMjQ3OGI4YmE3MmI4MDhjMzBhNTQyNGNiZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.v052MgPRmHv3cKapW_iATjejLFzcoqscuXnLWtO2FaE)
User 3 (iPad Air - not sure which generation)
![CleanShot 2024-06-13 at 12 33 35@2x](https://private-user-images.githubusercontent.com/4444107/339197663-7b4deb82-eeb3-4754-969d-1eb864cbd139.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODM1MTEsIm5iZiI6MTcyMTE4MzIxMSwicGF0aCI6Ii80NDQ0MTA3LzMzOTE5NzY2My03YjRkZWI4Mi1lZWIzLTQ3NTQtOTY5ZC0xZWI4NjRjYmQxMzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMDIyNjUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTJiOGUwYTc1ZTBhOTRiZDc4ZWRkZGI3OTVjZGUwNDMwMDQ4ZmZhMmQ4ZTJiYmU2MDZkOTlmNjVkM2Y5YWM3ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.BZn8XYD7K9Hyixnk4OExlLCukdRnvulUEURYO10lLBw)
We have confirmed in each case these users have sufficient upload bandwidth, and I am confident internet speeds are not an issue. None of these users are using any adaptive bitrate settings.
User 2 also has an iPhone 13 Pro. When user 2 streams with this device, the problem goes away. User 2 also reports their iPhone X has battery health of 72% and will stream with the device plugged in.
User 3 also has a newer iPad Air. When users 3 streams with this device, the problem goes away.
All of these users are connecting to different streaming servers of ours in different regions, and there are other users streaming to these same servers at the same time without issue.
What testing have we done?
We have tested both an iPhone 8 and an iPhone X and are unable to reproduce this issue.
We have also tested the iPhone 8 using Xcode and setting the device and setting Thermal State to both Serious and Critical, along with also testing GPU Performance State to minimum. Everything performed flawlessly during this time in our 3 hours of testing in these modes.
We have tested with devices while charging and while on battery.
We have tested using WiFi and using 4G/5G.
We have tested with phone cases on and off.
When did this start to happen?
This problem started when we upgraded from either HaishinKit 1.5.6 or 1.5.7 to 1.7.2 or 1.7.3. We are currently using HaishinKit 1.8.1.
With the upgrade to HaishinKit 1.7 we switched to using HaishinKit's resampler. Before that we were using our own implementation.
These same users didn’t have this issue before this update to HaishinKit 1.7.
What next?
I’m hoping for some more guidance as to what we could test next, or if there might have been a specific change in HaishinKit that could have caused this issue? I feel like we don’t have enough information yet to open an Issue for this problem.
Beta Was this translation helpful? Give feedback.
All reactions