Agora RTC Objective-C API Reference Refactor

Public Member Functions
IDirectCdnStreamingEventHandler Class Reference

## Public Member Functions
virtual void | onDirectCdnStreamingStateChanged (DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_REASON reason, const char *message)

## Detailed Description

The event handler for direct cdn streaming

## Constructor & Destructor Documentation

## ◆ ~IDirectCdnStreamingEventHandler()

virtual ~IDirectCdnStreamingEventHandler | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onDirectCdnStreamingStateChanged()

virtual void onDirectCdnStreamingStateChanged | ( | DIRECT_CDN_STREAMING_STATE | state,
|  | DIRECT_CDN_STREAMING_REASON | reason,
|  | const char * | message
| ) |  |
| inline virtual

Event callback of direct cdn streaming

Parameters

  state | Current status
  reason | Reason Code
  message | Message

## ◆ onDirectCdnStreamingStats()

virtual void onDirectCdnStreamingStats | ( | const DirectCdnStreamingStats & | stats | ) |
| inline virtual