SOSNetworkReporterDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SOSNetworkReporterDelegate.h |
– videoNetworkStatsDidUpdateWithSessionId:bytesReceived:packetsReceived:packetsLost:videoDimensions:timeStamp:
required method
This method will return network traffic information relating to video traffic in SOS. This method should be fired every 30 seconds during an active session. All traffic info relates to incoming video traffic. The network reporting will only start once an SOS session has been fully negotiated.
- (void)videoNetworkStatsDidUpdateWithSessionId:(NSString *)sessionId bytesReceived:(NSNumber *)bytesReceived packetsReceived:(NSNumber *)packetsReceived packetsLost:(NSNumber *)packetsLost videoDimensions:(CGSize *)videoDimensions timeStamp:(NSNumber *)timeStamp
Parameters
sessionId |
The SOS Session Id which correlates to the data being provided. |
---|---|
bytesReceived |
The number of bytes received for video traffic since the last update. |
packetsReceived |
The number of packets received for video traffic since the last update. |
packetsLost |
The number of packets lost for video traffic since the last update. |
videoDimensions |
The size in pixels of the incoming video stream. |
timeStamp |
The timestamp in millisecond epoch format. |
Declared In
SOSNetworkReporterDelegate.h
– audioNetworkStatsDidUpdateWithSessionId:bytesReceived:packetsReceived:packetsLost:timeStamp:
required method
This method will return network traffic information relating to video traffic in SOS. This method should be fired every 30 seconds during an active session. All traffic info relates to incoming audio traffic. The network reporting will only start once an SOS session has been fully negotiated.
- (void)audioNetworkStatsDidUpdateWithSessionId:(NSString *)sessionId bytesReceived:(NSNumber *)bytesReceived packetsReceived:(NSNumber *)packetsReceived packetsLost:(NSNumber *)packetsLost timeStamp:(NSNumber *)timeStamp
Parameters
sessionId |
The SOS Session Id which correlates to the data being provided. |
---|---|
bytesReceived |
The number of bytes received for audio traffic since the last update. |
packetsReceived |
The number of packets received for audio traffic since the last update. |
packetsLost |
The number of packets lost for audio traffic since the last update. |
timeStamp |
The timestamp in millisecond epoch format. |
Declared In
SOSNetworkReporterDelegate.h