Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rtc2.IDirectCdnStreamingEventHandler Interface Reference

## Public Member Functions
void | onDirectCdnStreamingStateChanged (DirectCdnStreamingState state, DirectCdnStreamingReason reason, String message)
void | onDirectCdnStreamingStats (DirectCdnStreamingStats stats)

## Detailed Description

Created by chenjianming on 17/05/2021.

## Member Function Documentation

## ◆ onDirectCdnStreamingStateChanged()

void io.agora.rtc2.IDirectCdnStreamingEventHandler.onDirectCdnStreamingStateChanged | ( | DirectCdnStreamingState | state,
|  | DirectCdnStreamingReason | reason,
|  | String | message
| ) |  |

Event callback of Direct Cdn Streaming

Parameters

  state | Current state
  reason | Reason Code
  message | Message

## ◆ onDirectCdnStreamingStats()

void io.agora.rtc2.IDirectCdnStreamingEventHandler.onDirectCdnStreamingStats | ( | DirectCdnStreamingStats | stats | ) |

Current status data of rtmp streaming.

Parameters

  stats | status data