Jump to content

AVPlayer не проигрывает HTTP/TS поток с /get_url [iOS]


Hadevs
 Share

Recommended Posts

Получаю переменную типа String после реквеста /get_url.
Примерно такого вида: http/ts://91.224.186.23:18001/?ticket=wCIcYpKNGNYrZHBlpzoOzba97t9Tzr7c1it8XYtkyY3nUduqcCIpaemm3pBRLgqekk4ZkHHndYHSest3tlb5i%2Fw1WJ9mhWKdr4x43OIoOT5ULLhugqNPxM%2BQYujiQAh71fdfspq5m2sza0WBUrHtRtsCXJGWzg4Fj2jMfd3HDzc%3D :http-caching=3000 :no-http-reconnect

 

После нехитрых операций (stringByReplacingOccurrencesOfString) получаю подобную:

http://91.224.186.16:18001/?ticket=LngDF%2F9ot5EoA7X13835NRl4KT8g6vjZqL%2BSdR4ue8AVvBBqc3L4h76S71fcLY7tIaGSUMULtvTuM4CrmKLeeF%2FFP78uGfXGbBH582OaRvgXCT%2Fs6%2FD8D0ayvgkiR9HofikQf%2FcCfRNa5aL0yI%2BgFvMGSUSz1c6kdWubwKbOQfw%3D:http-caching=3000:no-http-reconnect

 

Но AVPlayer не воспроизводит данный поток. Не пойму в чем дело. Раньше вообще случался краш при вводе первоначальной ссылки. Сейчас просто плеер не хочет воспроизводить данную ссылку. В чем может быть проблема?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...