Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::rtc::INetworkObserver Class Reference

`#include <NGIAgoraRtcConnection.h>`

Inherited by agora::rtc::IRtcConnectionEx.

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

## Constructor & Destructor Documentation

## ◆ ~INetworkObserver()

virtual agora::rtc::INetworkObserver::~INetworkObserver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onUplinkNetworkInfoUpdated()

virtual void agora::rtc::INetworkObserver::onUplinkNetworkInfoUpdated | ( | const UplinkNetworkInfo & | info | ) |
| inline virtual

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 agora::rtc::INetworkObserver::onDownlinkNetworkInfoUpdated | ( | const DownlinkNetworkInfo & | info | ) |
| inline virtual

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.