FMIceLinkConnectionStats Class Reference
| Inherits from | FMIceLinkBaseStats : NSObject |
|---|---|
| Declared in | FMIceLinkConnectionStats.h FMIceLinkConnectionStats.m |
– audioStream
Gets the first audio stream's stats.
- (FMIceLinkMediaStreamStats *)audioStreamDiscussion
Gets the first audio stream's stats.
Declared In
FMIceLinkConnectionStats.h
– audioStreams
Gets the audio streams' stats.
- (NSMutableArray *)audioStreamsDiscussion
Gets the audio streams' stats.
Declared In
FMIceLinkConnectionStats.h
– dataStream
Gets the data stream's stats.
- (FMIceLinkDataStreamStats *)dataStreamDiscussion
Gets the data stream's stats.
Declared In
FMIceLinkConnectionStats.h
– deserializePropertiesWithKey:valueJson:
Deserializes the properties.
- (void)deserializePropertiesWithKey:(NSString *)key valueJson:(NSString *)valueJsonParameters
key |
The key. |
|---|---|
valueJson |
The value in JSON format. |
Discussion
Deserializes the properties.
Declared In
FMIceLinkConnectionStats.h
+ fromJsonWithConnectionJson:
Derializes connection stats from JSON.
+ (FMIceLinkConnectionStats *)fromJsonWithConnectionJson:(NSString *)connectionJsonParameters
connectionJson |
The connection’s stats JSON. @return |
|---|
Discussion
Derializes connection stats from JSON.
Declared In
FMIceLinkConnectionStats.h
– getMediaStreamWithMediaStreamId:
Gets a media stream by its identifier.
- (FMIceLinkMediaStreamStats *)getMediaStreamWithMediaStreamId:(NSString *)mediaStreamIdParameters
mediaStreamId |
The media stream identifier. @return |
|---|
Discussion
Gets a media stream by its identifier.
Declared In
FMIceLinkConnectionStats.h
– isHost
Gets whether any of the [streams](#//api/name/streams) are using a transport
whose active candidate pair has a host candidate.
- (bool)isHostDiscussion
Gets whether any of the [streams](#//api/name/streams) are using a transport
whose active candidate pair has a host candidate.
Declared In
FMIceLinkConnectionStats.h
– isReflexive
Gets whether any of the [streams](#//api/name/streams) are using a transport
whose active candidate pair has a reflexive candidate.
- (bool)isReflexiveDiscussion
Gets whether any of the [streams](#//api/name/streams) are using a transport
whose active candidate pair has a reflexive candidate.
Declared In
FMIceLinkConnectionStats.h
– isRelayed
Gets whether any of the [streams](#//api/name/streams) are using a transport
whose active candidate pair has a relayed candidate.
- (bool)isRelayedDiscussion
Gets whether any of the [streams](#//api/name/streams) are using a transport
whose active candidate pair has a relayed candidate.
Declared In
FMIceLinkConnectionStats.h
– mediaStream
Gets the first media stream's stats.
- (FMIceLinkMediaStreamStats *)mediaStreamDiscussion
Gets the first media stream's stats.
Declared In
FMIceLinkConnectionStats.h
– mediaStreams
Gets the media streams' stats.
- (NSMutableArray *)mediaStreamsDiscussion
Gets the media streams' stats.
Declared In
FMIceLinkConnectionStats.h
– serializePropertiesWithJsonObject:
Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary *)jsonObjectParameters
jsonObject |
The JSON object. |
|---|
Discussion
Serializes the properties.
Declared In
FMIceLinkConnectionStats.h
– streams
Gets the streams' stats.
- (NSMutableArray *)streamsDiscussion
Gets the streams' stats.
Declared In
FMIceLinkConnectionStats.h
– toJson
Serializes this to JSON.
@return
- (NSString *)toJsonDiscussion
Serializes this to JSON.
@return
Declared In
FMIceLinkConnectionStats.h
+ toJsonWithConnection:
Serializes connection stats to JSON.
+ (NSString *)toJsonWithConnection:(FMIceLinkConnectionStats *)connectionParameters
connection |
The connection’s stats. @return |
|---|
Discussion
Serializes connection stats to JSON.
Declared In
FMIceLinkConnectionStats.h
– videoStream
Gets the first video stream's stats.
- (FMIceLinkMediaStreamStats *)videoStreamDiscussion
Gets the first video stream's stats.
Declared In
FMIceLinkConnectionStats.h
– videoStreams
Gets the video streams' stats.
- (NSMutableArray *)videoStreamsDiscussion
Gets the video streams' stats.
Declared In
FMIceLinkConnectionStats.h