Agora Java API Reference for Android

Classes | Public Member Functions | List of all members
io.agora.rtc2.PublisherConfiguration Class Reference

## Classes
class | Builder

## Public Member Functions
boolean | validate ()
String | toJsonString ()

## Detailed Description

Push-stream methods.

Before calling the methods listed in this section:

- Ensure that the CDN push-stream function is enabled by contacting Agora.
- Ensure that only the user, who has called setClientRole and set the user role as the host, can use the methods in this section.
- Ensure that setLiveTranscoding is called before {addPublishStreamUrl}.