Communication library to make it easy to communicate with devices using P2P or cloud server in ickStream Music Platform