Quick Start
Last updated
Was this helpful?
Last updated
Was this helpful?
We recommend calling P2pEngine.initEngine in the instance of the Application class right after the application is created
YOUR_TOKEN is your Customer ID
When initializing a media player (or any other video player, is highly recommended) instance, before passing it a URL, pass that URL through P2P Engine
Pass the file url to start the download, and then get the file path through the callback function after the download is completed.
You can resolve OOM by increasing heap size, add the attribute below in app/src/main/AndroidManifest.xml: