Hello, I need some help regarding the API. (I understand written Russian, but I can describe the problem better in English).
I'm logging in using "device=apple" for the "/login" request. But, sometimes the API returns channel URLs in response to "/get_url" in the form of either:
Type 1: http://<IP_ADDRESS_WITHOUT_PORT>/streaming/test6.m3u8?ticket=<CODE>
or
Type2: http://<IP_ADDRESS_WITH_PORT>/?ticket=<CODE>
Type 1 URLs play fine on iPad because I'm assuming the stream format is HTTP Live Streaming. Type 2 URLs do not work.
I've tested both with my paid Kartina account and the demo accounts. The paid account always returns non-apple Type 2 URLs. Demo accounts return either type of URL randomly - sometimes Type 1, sometimes Type 2.
This problem is also present when logging in on iPad through Safari at iptv-kartina.tv. Sometimes the stream works, sometimes it doesn't.
Why is the API returning Type 2 URLs for JSON calls with "device=apple"?
I'd appreciate any advice.
(I edited the post to clarify after some further testing.)