Skip to content

Instantly share code, notes, and snippets.

@larryluoo
Created July 21, 2022 12:39
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/99368322e372fc08eb4a70e528a50fcd to your computer and use it in GitHub Desktop.
Save larryluoo/99368322e372fc08eb4a70e528a50fcd 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