API & Config

Switch Stream URL

When Switching to a new stream URL, before passing new stream url to the player, pass that URL through P2pEngine instance:

String newParsedURL = P2pEngine.getInstance().parseStreamUrl(url);

API

circle-info

engine.stopP2p() #stop the P2P streaming

circle-info

engine.restartP2p() #Resume P2P if it has been stopped

circle-info

engine.shutdown() #Stop P2P and shut down

Last updated