Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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:
(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 43 of file avfmediaplayer.mm.

Method Documentation

◆ assetFailedToPrepareForPlayback: [1/2]

- (void) assetFailedToPrepareForPlayback: (NSError *) error

Definition at line 324 of file avfmediaplayer.mm.

◆ assetFailedToPrepareForPlayback: [2/2]

- (void) assetFailedToPrepareForPlayback: (NSError *) error

◆ dealloc [1/2]

- (void) dealloc

Definition at line 433 of file avfmediaplayer.mm.

◆ dealloc [2/2]

- (void) dealloc

◆ detatchSession [1/2]

- (void) detatchSession

Definition at line 425 of file avfmediaplayer.mm.

◆ detatchSession [2/2]

- (void) detatchSession

◆ initWithMediaPlayerSession: [1/2]

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

Definition at line 114 of file avfmediaplayer.mm.

◆ initWithMediaPlayerSession: [2/2]

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

◆ observeValueForKeyPath:ofObject:change:context: [1/2]

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

Definition at line 343 of file avfmediaplayer.mm.

◆ observeValueForKeyPath:ofObject:change:context: [2/2]

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

◆ playerItemDidReachEnd: [1/2]

- (void) playerItemDidReachEnd: (NSNotification *) notification

Definition at line 336 of file avfmediaplayer.mm.

◆ playerItemDidReachEnd: [2/2]

- (void) playerItemDidReachEnd: (NSNotification *) notification

◆ prepareToPlayAsset:withKeys: [1/2]

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

Definition at line 203 of file avfmediaplayer.mm.

◆ prepareToPlayAsset:withKeys: [2/2]

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

◆ resourceLoader:shouldWaitForLoadingOfRequestedResource: [1/2]

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

Definition at line 452 of file avfmediaplayer.mm.

◆ resourceLoader:shouldWaitForLoadingOfRequestedResource: [2/2]

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

◆ setURL:mimeType: [1/2]

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

Definition at line 129 of file avfmediaplayer.mm.

◆ setURL:mimeType: [2/2]

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

◆ unloadMedia [1/2]

- (void) unloadMedia

Definition at line 175 of file avfmediaplayer.mm.

◆ unloadMedia [2/2]

- (void) unloadMedia

Property Documentation

◆ m_player

- (AVPlayer *) m_player
readatomicassign
Initial value:
{
@private
AVFCameraSession * m_session

Definition at line 45 of file avfmediaplayer.mm.

◆ m_playerItem

- (AVPlayerItem *) m_playerItem
readatomicassign

Definition at line 46 of file avfmediaplayer.mm.

◆ m_playerLayer

- (AVPlayerLayer *) m_playerLayer
readatomicassign

Definition at line 47 of file avfmediaplayer.mm.

◆ m_session

- (AVFMediaPlayer *) m_session
readatomicassign

Definition at line 48 of file avfmediaplayer.mm.

◆ videoTrack

- (AVPlayerItemTrack *) videoTrack
readwriteatomicretain

Definition at line 49 of file avfmediaplayer.mm.


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