Skip to content

Instantly share code, notes, and snippets.

@larryluoo
Created July 29, 2022 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larryluoo/4047ecb78cf4c67737ce9b82995ae316 to your computer and use it in GitHub Desktop.
Save larryluoo/4047ecb78cf4c67737ce9b82995ae316 to your computer and use it in GitHub Desktop.
setEventHandler
engine.setEventHandler(new IZegoEventHandler() {
/** Common event callbacks related to stream publishing. */
/** Callback for updates on stream publishing status. */
@Override
public void onPublisherStateUpdate(String streamID, ZegoPublisherState state, int errorCode, JSONObject extendedData){
/** Implement the callback handling logic as needed. */
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment