Package io.agora.rtc2

Class PublisherConfiguration

java.lang.Object
io.agora.rtc2.PublisherConfiguration

public class PublisherConfiguration extends Object
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.
  • Method Details

    • validate

      public boolean validate()
    • toJsonString

      public String toJsonString()