简体   繁体   中英

Can show powerpoint and slide it on client chat if using smack Api and openfire in java

I wonder create application chat using Smack Api and Openfire is server, my problem is if i want show slide show (powerpoint) into chat box, can i do it? and if i can, is it look like powerpoint - it's mean when user A browse ppt document into chat box , after that user B can see first slide of ppt document, and then user A click forward button and ppt document is slide. User B just see next slide.

If it is one to one, then you can use Smack's file transfer feature to transfer the file to the viewer. Then you can probably use a separate namespace in to relay the forward/backward command. The side effect is that you can also chat while you are viewing the slide.

To display the PPT file you can OfficeBean from you Java application.

You can also use a chatroom for group viewing although you have to figure out what is the best way to transfer the PPT file to people who will be joining the chatroom later. One way would be to implement a service ( disco#item / disco#info ) to keep track of meta info like what sessions are currently on and where the files can be located (eg. from Google Docs).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM