Agora RTC Objective-C API Reference Refactor

Public Member Functions
INetworkObserver Class Reference

## Public Member Functions
virtual void | onUplinkNetworkInfoUpdated (const UplinkNetworkInfo &info)
virtual void | onDownlinkNetworkInfoUpdated (const DownlinkNetworkInfo &info)

## Constructor & Destructor Documentation

## ◆ ~INetworkObserver()

virtual ~INetworkObserver | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ onUplinkNetworkInfoUpdated()

virtual void onUplinkNetworkInfoUpdated | ( | const UplinkNetworkInfo & | info | ) |
| inlinevirtual

Occurs when downlink network info is updated.

This callback is used for notifying user to adjust the send pace based on the target bitrate.

Parameters

  info | The uplink network info collections.

## ◆ onDownlinkNetworkInfoUpdated()

virtual void onDownlinkNetworkInfoUpdated | ( | const DownlinkNetworkInfo & | info | ) |
| inlinevirtual

Occurs when downlink network info is updated.

This callback is used for notifying user to switch major/minor stream if needed.

Parameters

  info | The downlink network info collections.