ios - Streaming local encrypted file to Apple TV -
my app solution on ios has downloaded sound , video offline use. streaming apple tv worked charm while, however, needed implement file encryption. web app, back upwards encrypted file on webview, implemented http server, decrypts file, , streams unencrypted webview request. now, need stream theses encrypted files apple tv, obviously, when trying shared video/audio, apple tv tries stream ipad http server url (localhost:8000), , error shown.
how should able stream it? see, there other apps uses encryption , works fine air play.
edit: error message way generic, appears on tv file not played, no log on xcode console.
the html on webview simple that, no big deal: <video src= "http://localhost:8000/file/fileid"/>, works fine on ipad, not streaming apple tv.
ios encryption
No comments:
Post a Comment