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)audioTrack
Parameters
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 *)value
Discussion
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> *)value
Discussion
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 ) ))addOnAudioLevelWithBlock
Discussion
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 ))valueBlock
Discussion
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 *)value
Discussion
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*> *)value
Discussion
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 *) ))addOnVideoSizeWithBlock
Discussion
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 *))valueBlock
Discussion
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)videoTrack
Parameters
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> *)tracks
Parameters
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> *)tracks
Parameters
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 *)audioTracks
Discussion
Gets the audio tracks.
Declared In
FMIceLinkMedia.h
– createAudioTrackCollection
Creates an audio track collection.
@return
- (NSMutableArray<TAudioTrack> *)createAudioTrackCollection
Discussion
Creates an audio track collection.
@return
Declared In
FMIceLinkMedia.h
– createVideoTrackCollection
Creates a video track collection.
@return
- (NSMutableArray<TVideoTrack> *)createVideoTrackCollection
Discussion
Creates a video track collection.
@return
Declared In
FMIceLinkMedia.h
– destroy
Destroys this [media](#//api/name/media).
- (void)destroy
Discussion
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*> *)grabVideoFrame
Discussion
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)init
Discussion
Initializes a new instance of the FMIceLinkMedia`2 class.
Declared In
FMIceLinkMedia.h
– isRecordingAudio
Gets a value indicating whether audio is being recorded.
- (bool)isRecordingAudio
Discussion
Gets a value indicating whether audio is being recorded.
Declared In
FMIceLinkMedia.h
– isRecordingVideo
Gets a value indicating whether video is being recorded.
- (bool)isRecordingVideo
Discussion
Gets a value indicating whether video is being recorded.
Declared In
FMIceLinkMedia.h
+ media
Initializes a new instance of the FMIceLinkMedia`2 class.
+ (FMIceLinkMedia *)media
Discussion
Initializes a new instance of the FMIceLinkMedia`2 class.
Declared In
FMIceLinkMedia.h
– removeAudioTrack:
Removes an audio track.
- (bool)removeAudioTrack:(TAudioTrack)audioTrack
Parameters
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 *)value
Discussion
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> *)value
Discussion
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 *)value
Discussion
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*> *)value
Discussion
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)videoTrack
Parameters
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)value
Discussion
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)value
Discussion
Sets a value indicating whether video is being recorded.
Declared In
FMIceLinkMedia.h
– videoSize
Gets the size of the first video track.
- (FMIceLinkSize *)videoSize
Discussion
Gets the size of the first video track.
Declared In
FMIceLinkMedia.h
– videoTracks
Gets the video tracks.
- (NSMutableArray *)videoTracks
Discussion
Gets the video tracks.
Declared In
FMIceLinkMedia.h