FMIceLinkConnectionStats Class Reference
Inherits from | FMIceLinkBaseStats : NSObject |
---|---|
Declared in | FMIceLinkConnectionStats.h FMIceLinkConnectionStats.m |
– audioStream
Gets the first audio stream's stats.
- (FMIceLinkMediaStreamStats *)audioStream
Discussion
Gets the first audio stream's stats.
Declared In
FMIceLinkConnectionStats.h
– audioStreams
Gets the audio streams' stats.
- (NSMutableArray *)audioStreams
Discussion
Gets the audio streams' stats.
Declared In
FMIceLinkConnectionStats.h
– dataStream
Gets the data stream's stats.
- (FMIceLinkDataStreamStats *)dataStream
Discussion
Gets the data stream's stats.
Declared In
FMIceLinkConnectionStats.h
– deserializePropertiesWithKey:valueJson:
Deserializes the properties.
- (void)deserializePropertiesWithKey:(NSString *)key valueJson:(NSString *)valueJson
Parameters
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 *)connectionJson
Parameters
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 *)mediaStreamId
Parameters
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)isHost
Discussion
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)isReflexive
Discussion
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)isRelayed
Discussion
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 *)mediaStream
Discussion
Gets the first media stream's stats.
Declared In
FMIceLinkConnectionStats.h
– mediaStreams
Gets the media streams' stats.
- (NSMutableArray *)mediaStreams
Discussion
Gets the media streams' stats.
Declared In
FMIceLinkConnectionStats.h
– serializePropertiesWithJsonObject:
Serializes the properties.
- (void)serializePropertiesWithJsonObject:(NSMutableDictionary *)jsonObject
Parameters
jsonObject |
The JSON object. |
---|
Discussion
Serializes the properties.
Declared In
FMIceLinkConnectionStats.h
– streams
Gets the streams' stats.
- (NSMutableArray *)streams
Discussion
Gets the streams' stats.
Declared In
FMIceLinkConnectionStats.h
– toJson
Serializes this to JSON.
@return
- (NSString *)toJson
Discussion
Serializes this to JSON.
@return
Declared In
FMIceLinkConnectionStats.h
+ toJsonWithConnection:
Serializes connection stats to JSON.
+ (NSString *)toJsonWithConnection:(FMIceLinkConnectionStats *)connection
Parameters
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 *)videoStream
Discussion
Gets the first video stream's stats.
Declared In
FMIceLinkConnectionStats.h
– videoStreams
Gets the video streams' stats.
- (NSMutableArray *)videoStreams
Discussion
Gets the video streams' stats.
Declared In
FMIceLinkConnectionStats.h