Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
AVFMediaPlayerObserver Class Reference
+ Inheritance diagram for AVFMediaPlayerObserver:
+ Collaboration diagram for AVFMediaPlayerObserver:

Instance Methods

(AVFMediaPlayerObserver *) - initWithMediaPlayerSession:
 
(void- setURL:mimeType:
 
(void- unloadMedia
 
(void- prepareToPlayAsset:withKeys:
 
(void- assetFailedToPrepareForPlayback:
 
(void- playerItemDidReachEnd:
 
(void- observeValueForKeyPath:ofObject:change:context:
 
(void- detatchSession
 
(void- dealloc
 
(BOOL) - resourceLoader:shouldWaitForLoadingOfRequestedResource:
 

Properties

AVPlayer * m_player
 
AVPlayerItem * m_playerItem
 
AVPlayerLayer * m_playerLayer
 
AVFMediaPlayerm_session
 
AVPlayerItemTrack * videoTrack
 

Detailed Description

Definition at line 42 of file avfmediaplayer.mm.

Method Documentation

◆ assetFailedToPrepareForPlayback:

- (void) assetFailedToPrepareForPlayback: (NSError *) error

Definition at line 79 of file avfmediaplayer.mm.

◆ dealloc

- (void) dealloc

Definition at line 79 of file avfmediaplayer.mm.

◆ detatchSession

- (void) detatchSession

Definition at line 79 of file avfmediaplayer.mm.

Referenced by AVFMediaPlayer::~AVFMediaPlayer().

+ Here is the caller graph for this function:

◆ initWithMediaPlayerSession:

- (AVFMediaPlayerObserver *) initWithMediaPlayerSession: (AVFMediaPlayer *) session

Definition at line 79 of file avfmediaplayer.mm.

◆ observeValueForKeyPath:ofObject:change:context:

- (void) observeValueForKeyPath: (NSString *) keyPath
ofObject: (id) object
change: (NSDictionary *) change
context: (void *) context 

Definition at line 79 of file avfmediaplayer.mm.

◆ playerItemDidReachEnd:

- (void) playerItemDidReachEnd: (NSNotification *) notification

Definition at line 79 of file avfmediaplayer.mm.

◆ prepareToPlayAsset:withKeys:

- (void) prepareToPlayAsset: (AVURLAsset *) asset
withKeys: (NSArray *) requestedKeys 

Definition at line 79 of file avfmediaplayer.mm.

◆ resourceLoader:shouldWaitForLoadingOfRequestedResource:

- (BOOL) resourceLoader: (AVAssetResourceLoader *) resourceLoader
shouldWaitForLoadingOfRequestedResource: (AVAssetResourceLoadingRequest *) loadingRequest 

Definition at line 79 of file avfmediaplayer.mm.

◆ setURL:mimeType:

- (void) setURL: (NSURL *) url
mimeType: (NSString *) mimeType 

Definition at line 79 of file avfmediaplayer.mm.

Referenced by setURL().

+ Here is the caller graph for this function:

◆ unloadMedia

- (void) unloadMedia

Definition at line 79 of file avfmediaplayer.mm.

Property Documentation

◆ m_player

- (AVPlayer*) m_player
readatomicassign

Definition at line 44 of file avfmediaplayer.mm.

◆ m_playerItem

- (AVPlayerItem*) m_playerItem
readatomicassign

Definition at line 45 of file avfmediaplayer.mm.

Referenced by AVFMediaPlayer::setActiveTrack().

◆ m_playerLayer

- (AVPlayerLayer*) m_playerLayer
readatomicassign

Definition at line 46 of file avfmediaplayer.mm.

◆ m_session

- (AVFMediaPlayer*) m_session
readatomicassign

Definition at line 47 of file avfmediaplayer.mm.

◆ videoTrack

- (AVPlayerItemTrack*) videoTrack
readwriteatomicretain

The documentation for this class was generated from the following file: