App

VLCKit 3.0 è ora compatibile con tvOS e porta nuove API per H.264 e H.265

Vezio Ceniccola
Vezio Ceniccola Tech Master
VLCKit 3.0 è ora compatibile con tvOS e porta nuove API per H.264 e H.265

Dopo il rilascio della versione 3.0 di VLC per tutte le piattaforme, avvenuta qualche giorno fa, c'è u nuovo ed importante aggiornamento anche per VLCKit, la suite di strumenti di sviluppo per piattaforme macOS, iOS e tvOS.

E sì, perché proprio grazie a questa nuova build, il framework si allarga con l'arrivo di TVVLCKit, piattaforma di sviluppo dedicata proprio a tvOS e ai box Apple TV.

Il kit ha ricevuto nelle ultime ore l'avanzamento alla versione 3.0, nella quale sono incluse nuove API per il supporto completo alla decodifica hardware per i formati H.264 e H.265 (HEVC). In questo modo, sono state ottimizzate sia le performance che la gestione della memoria: ad esempio, il carico della decodifica dei video 4K sulla CPU degli iPhone è stato ridotto dal 100% a meno del 20%.

Inoltre, ci sono altri miglioramenti generali relativi al controllo touch per i video a 360° e la navigazione dei file condivisi in rete con i protocolli UPnP, NFS, FTP, SFTP e SMB.

Per maggiori informazioni su VLCKit o per scaricare le librerie dedicate, potete visitare il sito ufficiale del progetto a questo indirizzo. Più in basso, invece, trovate il changelog completo di questo nuovo aggiornamento alla versione 3.0.

VLCKit 3.0

New APIs:
- VLCAudio
- setMuted:

- VLCDialogProvider
- new class to handle user interaction with VLC events

- VLCLibrary
- added properties: debugLogging, debugLoggingLevel

- VLCMediaDiscoverer
- added selector: availableMediaDiscovererForCategoryType:
- added enum: VLCMediaDiscovererCategoryType

- VLCMediaListPlayer
- added selectors:
initWithDrawable:
initWithOptions:andDrawable:
playItemAtNumber:

- VLCMediaPlayer
- added properties:
titleDescriptions
indexOfLongestTitle
numberOfTitles
snapshots
lastSnapshot
- added selectors:
chaptersForTitleIndex:
numberOfChaptersForTitle:
addPlaybackSlave:type:enforce:
updateViewpoint:pitch:roll:fov:absolute:
- added notifications: VLCMediaPlayerTitleChanged, VLCMediaPlayerChapterChanged
- added enum: VLCMediaPlaybackSlaveType
Note:
- play's return type was changed from BOOL to void
- hue is now a float instead of an integer
WARNING:
- Return value of the following methods changed from INT_MAX to -1
(int)currentVideoTrackIndex
(int)currentVideoSubTitleIndex
(int)currentChapterIndex
(int)currentTitleIndex
(int)currentAudioTrackIndex

- VLCMedia
- added keys: VLCMetaInformationTrackTotal, VLCMetaInformationDirector,
VLCMetaInformationSeason, VLCMetaInformationEpisode,
VLCMetaInformationShowName, VLCMetaInformationActors,
VLCMetaInformationAlbumArtist, VLCMetaInformationDiscNumber,
VLCMediaTracksInformationVideoOrientation,
VLCMediaTracksInformationVideoProjection
- added selectors:
codecNameForFourCC:trackType:
mediaType
parseWithOptions:
parseWithOptions:Timeout:
parsedStatus
storeCookie:forHost:path:
clearStoredCookies
- added enums: VLCMediaType, VLCMediaParsingOptions, VLCMediaParsedStatus, VLCMediaOrientation, VLCMediaProjection
- changed behavior: media will no longer be parsed automatically if meta data is requested prior to concluded parsing

- VLCMediaList
- changed behavior: lists of media objects added through arrays or on init are no longer added in reverse order

- VLCTime
- added selectors:
isEqual:
hash

- VLCAudio
- added property: passthrough

Modified APIs:
- VLCMediaList
- To match the KVC bindings, all NSInteger arguments were moved to NSUInteger as appropriate
- mediaList:mediaAdded:atIndex:
- mediaList:mediaRemovedAtIndex:
- addMedia:
- insertMedia:atIndex:
- removeMediaAtIndex:
- mediaAtIndex:

Deprecated APIs:
- VLCAudio
- setMute:
- VLCMedia
- parse, isParsed, synchronousParse
- VLCMediaDiscoverer
- availableMediaDiscoverer, localizedName
- VLCMediaPlayer
- titles, chaptersForTitleIndex:, countOfTitles, framesPerSecond, openVideoSubTitlesFromFile:
- VLCMediaListPlayer
- playItemAtIndex
- VLCStreamSession
- VLCStreamOutput
- VLCMediaLibrary

Removed APIs:
- VLCExtension
- VLCExtensionsManager
- VLCMedia:
- fps
- media:metaValueChangedFrom:forKey:
- VLCMediaPlayer
- audioTracks
- videoTracks
- videoSubTitles
- VLCServicesDiscoverer
- VLCPlaylistDataSource

Via: 9to5Mac
Fonte: Feepk