I want develop chat application with below features,
1.one to one chat
i have created users and rosters and groups and adding members to group.so i want create chat .present i used latest version of openfire and php rest api.please help me for below things.
1.what is the plugins required for one to one chat and group chat as well as video and audio call.
2.i used mysql database. how to store chat history
3.json or xml which is better for chat.