fix: switching to Android client, correcting problems with using IOS #95
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
changing the default client for fetching streams, among others, from IOS to Android, and correcting the problem saying that the client version was out of date, adding some parameters.
When using postman, I noticed that the header requires the User-Agent as in the client, and some parts were missing, so I added those parts that were missing, and also added androidSdkVersion, which without it causes the problem to return.
and after that, I placed the parts where he used IOS for ANDROID, and kept the IOS information in case in the future I wanted to make a user scheme change the client for specific functions.
I tested video, playlist, short, live, everything is working as expected.
Why
fix problems with the IOS client and have less headaches
Checkmarks
Additional information
No.