Found my problem - you need to populate the NowPlaying info !! BEFORE !! you start playing the media ( mediaPlayer.play() ) and add RemoteCommandCenter play/pause actions (not sure why the one related to the other), maybe apple tv 'listen' to the play event and only then it understands that the medi...
trying to display played media info on the apple tv "Notification Center" area: https://www.imore.com/sites/imore.com/files/styles/large_wm_blw/public/field/image/2019/09/apple-tv-multiple-users.jpg using the nowPlayingInfo dictionary (i am using SwiftUI), but any working code sample would...
so i solved my problem, it was a memory leak from the 'NotificationCenter.default.addObserver' call, it set a value to a global @ObservableObject in the callback function and for some reason it caused a leak, i turned my player into the @ObservableObject that holds the player state values and that f...
hey bubu, thanks for the reply, i already done what you are suggesting (this is exactly what i wrote in my example code), it compiles and it works, but ever since i made that change i am hunting for leaks and trying to understand what is eating the AppleTV resources, the app started crashing only be...
hi, i am developing a SwiftUI tvOS app and using the TVVLCKit to download files and play them i would like to use the already loaded media (video file) again as a preview small thumbnail when scrubbing, i want a VLCMediaPlayer clone but to use the same already downloaded and parsed media object and ...
so after trying the libDSM which is embedded within the TVVLCKit i have created a simple Objective C file that will allow me to read and write text files to an SMB share on apple TV (and IOS), I use the VLCMedia and VLCMediaList to get computers share, file tree browsing and actual streaming, but th...
did any one ever fixed this issue? i am still suffering from it, and escaping the URL did not work. if the URL has special characters (other then spaces) - it still behaves badly. i am using TVVLCKit from swift in the following manner: let currentURL: NSURL = NSURL(string: "\(currentPath.string...
i know that VLCKit is using the libdsm (smb client in c), i also successfully used VLCMedia, VLCMediaList and VLCMediaDiscoverer to browse my local network shares with a simple swift code, but is it possible to use the VLCKit to write files to a network SMB share ? for instance a text file (not a ca...
i use libVLC to play RTMP streams, but never with swfUrl parameters, if you want to play URLs with swfUrl, then try reading this, its pretty old but it has some code that can be used as a starting point: https://trac.videolan.org/vlc/ticket/8102 also, the vlc app allows avid-option parameter to pass...
first of all, make sure the TVVLCKit project you added was really copied to your project file hierarchy, second - make sure that when you build or run your app - that the VLC project is being built as well, search for this: http://i.imgur.com/uezOySr.png last: make sure you have the VLCKit root fold...
no need to thank, this is why these forums are here for, some of these grate developers here helped me, and this is my way of giving back (just try to do the same when you are in a giving spot :-) regarding your question: i use swift so i have a bridge header and i include the main header that inclu...
i compile the libTVVLCKit.a every time i am building my app from xCode - i have included the MobileVLCKit project into mine by copying the folder under my project folder and simply dragging the .xproj file into my project tree, then i went to my project icon from the project navigator tree, selected...
Ok, so thanks to this: http://stackoverflow.com/a/31486233/530884 i understand that the build process is not enough for bitcode compile, so i did an archive just of the libTVVLCKit.a itself and extracted it from the xCode organizer and put the result in my drop box in the same place ( https://goo.gl...
hi gavla, so i am guessing this: http://stackexchange.com/users/2096973/gav?tab=activity is you ;-) the compiled versions i have shared are bitCode enabled, but just in case i made a mistake and shared the previous builds - i have recompiled everything in release mode and shared it again into my dro...
not sure this is the right way to go (sharing compiled files) i think it can create problems in the end result project, but i am not sure, however, since i know where are you coming from, here is a link to all compiled versions i successfully created (build folder with the simulator, appletv builds,...
the distribution part is understood, but isn't including the .a file as a dependant library enough? (in the target's Linked Framework and Libraries on the General tab)
if it is then 20M is definitely not what i got
I am building an app for the apple tv store, i have integrated the libTVVLCKit as a player into the app,
and i was wondering if it is allowed to use the VLC cone logo displayed on my app (for instance a button with caption: "Play using VLC player"),
i managed eventually to lower the size by removing the .Framework file and adding only the "libTVVLCKit.a" for the apple tv (and not the one for the simulator, that reduced it little (143 M), if i will find another way to reduce it even further - i will update this post, thanks for the reply
i used libc++ from the start, and i am not complaining on the playback - thats working, but there are allot of simple http streams that crash and will not play with libVLC, and the load time is terrible, it takes about 5-10 seconds to play while with AVPlayer it takes less then a second, thanks for ...
I used libstdc++ from the get go, and there are no jitters in playback, but load time is awful, there are http streams that will not play while in AVPlayer they play fast and smooth easily, so i concluded that there are things i can do with AVPlayer with VLC will not do - that is why i disabled thes...