Created
July 21, 2022 12:39
-
-
Save larryluoo/99368322e372fc08eb4a70e528a50fcd to your computer and use it in GitHub Desktop.
setEventHandler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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