FMIceLinkMedia Class Reference
| Inherits from | FMIceLinkMediaBase : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
|---|---|
| Conforms to | TAudioTrack TVideoTrack __covariant |
| Declared in | FMIceLinkMedia.h FMIceLinkMedia.m |
– addAudioTrack:
Adds an audio track.
- (void)addAudioTrack:(TAudioTrack)audioTrackParameters
audioTrack |
The audio track. |
|---|
Discussion
Adds an audio track.
Declared In
FMIceLinkMedia.h
– addOnAudioDestroyed:
Adds a handler that is raised when the first audio track is destroyed.
- (void)addOnAudioDestroyed:(FMIceLinkAction0 *)valueDiscussion
Adds a handler that is raised when the first audio track is destroyed.
Declared In
FMIceLinkMedia.h
– addOnAudioLevel:
Adds a handler that is raised whenever the level of
the first audio track is calculated.
- (void)addOnAudioLevel:(FMIceLinkAction1<id> *)valueDiscussion
Adds a handler that is raised whenever the level of
the first audio track is calculated.
Declared In
FMIceLinkMedia.h
– addOnAudioLevelWithBlock
Adds a handler that is raised whenever the level of
the first audio track is calculated.
- (void ( ^ ) ( void ( ^ ) ( double ) ))addOnAudioLevelWithBlockDiscussion
Adds a handler that is raised whenever the level of
the first audio track is calculated.
Declared In
FMIceLinkMedia.h
– addOnAudioLevelWithBlock:
Adds a handler that is raised whenever the level of
the first audio track is calculated.
- (void)addOnAudioLevelWithBlock:(void ( ^ ) ( double ))valueBlockDiscussion
Adds a handler that is raised whenever the level of
the first audio track is calculated.
Declared In
FMIceLinkMedia.h
– addOnVideoDestroyed:
Adds a handler that is raised when the first video track is destroyed.
- (void)addOnVideoDestroyed:(FMIceLinkAction0 *)valueDiscussion
Adds a handler that is raised when the first video track is destroyed.
Declared In
FMIceLinkMedia.h
– addOnVideoSize:
Adds a handler that is raised whenever the size of
the first video track is calculated.
- (void)addOnVideoSize:(FMIceLinkAction1<FMIceLinkSize*> *)valueDiscussion
Adds a handler that is raised whenever the size of
the first video track is calculated.
Declared In
FMIceLinkMedia.h
– addOnVideoSizeWithBlock
Adds a handler that is raised whenever the size of
the first video track is calculated.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkSize *) ))addOnVideoSizeWithBlockDiscussion
Adds a handler that is raised whenever the size of
the first video track is calculated.
Declared In
FMIceLinkMedia.h
– addOnVideoSizeWithBlock:
Adds a handler that is raised whenever the size of
the first video track is calculated.
- (void)addOnVideoSizeWithBlock:(void ( ^ ) ( FMIceLinkSize *))valueBlockDiscussion
Adds a handler that is raised whenever the size of
the first video track is calculated.
Declared In
FMIceLinkMedia.h
– addVideoTrack:
Adds a video track.
- (void)addVideoTrack:(TVideoTrack)videoTrackParameters
videoTrack |
The video track. |
|---|
Discussion
Adds a video track.
Declared In
FMIceLinkMedia.h
– arrayFromAudioTracks:
Creates an array of tracks from a list of audio tracks.
- (NSMutableArray *)arrayFromAudioTracks:(NSMutableArray<TAudioTrack> *)tracksParameters
tracks |
The list of tracks. |
|---|
Discussion
Creates an array of tracks from a list of audio tracks.
Declared In
FMIceLinkMedia.h
– arrayFromVideoTracks:
Creates an array of tracks from a list of video tracks.
- (NSMutableArray *)arrayFromVideoTracks:(NSMutableArray<TVideoTrack> *)tracksParameters
tracks |
The list of tracks. |
|---|
Discussion
Creates an array of tracks from a list of video tracks.
Declared In
FMIceLinkMedia.h
– audioTracks
Gets the audio tracks.
- (NSMutableArray *)audioTracksDiscussion
Gets the audio tracks.
Declared In
FMIceLinkMedia.h
– createAudioTrackCollection
Creates an audio track collection.
@return
- (NSMutableArray<TAudioTrack> *)createAudioTrackCollectionDiscussion
Creates an audio track collection.
@return
Declared In
FMIceLinkMedia.h
– createVideoTrackCollection
Creates a video track collection.
@return
- (NSMutableArray<TVideoTrack> *)createVideoTrackCollectionDiscussion
Creates a video track collection.
@return
Declared In
FMIceLinkMedia.h
– destroy
Destroys this [media](#//api/name/media).
- (void)destroyDiscussion
Destroys this [media](#//api/name/media).
Declared In
FMIceLinkMedia.h
– grabVideoFrame
Grabs the next frame from the first video track, once it's rendered.
@return
- (FMIceLinkFuture<FMIceLinkVideoBuffer*> *)grabVideoFrameDiscussion
Grabs the next frame from the first video track, once it's rendered.
@return
Declared In
FMIceLinkMedia.h
– init
Initializes a new instance of the FMIceLinkMedia`2 class.
- (instancetype)initDiscussion
Initializes a new instance of the FMIceLinkMedia`2 class.
Declared In
FMIceLinkMedia.h
– isRecordingAudio
Gets a value indicating whether audio is being recorded.
- (bool)isRecordingAudioDiscussion
Gets a value indicating whether audio is being recorded.
Declared In
FMIceLinkMedia.h
– isRecordingVideo
Gets a value indicating whether video is being recorded.
- (bool)isRecordingVideoDiscussion
Gets a value indicating whether video is being recorded.
Declared In
FMIceLinkMedia.h
+ media
Initializes a new instance of the FMIceLinkMedia`2 class.
+ (FMIceLinkMedia *)mediaDiscussion
Initializes a new instance of the FMIceLinkMedia`2 class.
Declared In
FMIceLinkMedia.h
– removeAudioTrack:
Removes an audio track.
- (bool)removeAudioTrack:(TAudioTrack)audioTrackParameters
audioTrack |
The audio track. |
|---|
Discussion
Removes an audio track.
Declared In
FMIceLinkMedia.h
– removeOnAudioDestroyed:
Removes a handler that is raised when the first audio track is destroyed.
- (void)removeOnAudioDestroyed:(FMIceLinkAction0 *)valueDiscussion
Removes a handler that is raised when the first audio track is destroyed.
Declared In
FMIceLinkMedia.h
– removeOnAudioLevel:
Removes a handler that is raised whenever the level of
the first audio track is calculated.
- (void)removeOnAudioLevel:(FMIceLinkAction1<id> *)valueDiscussion
Removes a handler that is raised whenever the level of
the first audio track is calculated.
Declared In
FMIceLinkMedia.h
– removeOnVideoDestroyed:
Removes a handler that is raised when the first video track is destroyed.
- (void)removeOnVideoDestroyed:(FMIceLinkAction0 *)valueDiscussion
Removes a handler that is raised when the first video track is destroyed.
Declared In
FMIceLinkMedia.h
– removeOnVideoSize:
Removes a handler that is raised whenever the size of
the first video track is calculated.
- (void)removeOnVideoSize:(FMIceLinkAction1<FMIceLinkSize*> *)valueDiscussion
Removes a handler that is raised whenever the size of
the first video track is calculated.
Declared In
FMIceLinkMedia.h
– removeVideoTrack:
Removes a video track.
- (bool)removeVideoTrack:(TVideoTrack)videoTrackParameters
videoTrack |
The video track. |
|---|
Discussion
Removes a video track.
Declared In
FMIceLinkMedia.h
– setIsRecordingAudio:
Sets a value indicating whether audio is being recorded.
- (void)setIsRecordingAudio:(bool)valueDiscussion
Sets a value indicating whether audio is being recorded.
Declared In
FMIceLinkMedia.h
– setIsRecordingVideo:
Sets a value indicating whether video is being recorded.
- (void)setIsRecordingVideo:(bool)valueDiscussion
Sets a value indicating whether video is being recorded.
Declared In
FMIceLinkMedia.h
– videoSize
Gets the size of the first video track.
- (FMIceLinkSize *)videoSizeDiscussion
Gets the size of the first video track.
Declared In
FMIceLinkMedia.h
– videoTracks
Gets the video tracks.
- (NSMutableArray *)videoTracksDiscussion
Gets the video tracks.
Declared In
FMIceLinkMedia.h