How to connect & run Strophe JS files with Openfire Server? - xmpp

I have installed Openfire successfully & enabled HTTP Binding at port 7070. I have downloaded strophe.js library https://github.com/strophe/strophejs & want to run its examples, but I don't know how to connect this two. Where should I place my strophe.js files, so that it runs from Openfire server, and I even want to know how to run NodeJS code after installing NodeJS plugins in Openfire.

Related

How to make voice/video call in pidgin (XMPP)?

I'm using ejabberd as my XMPP server and Pidgin as my client.
My ejabberd version is 22.05 and my Pidgin version is 2.14.10
I have configured my ejabberd server for making voice/video call by following this article.
Now what should I do to make voice/video call through pidgin? I didn't see any plugins for enabling voice/video chat in pidgin.
As at today (7/11/2022), the pidgin website says that the voice and video calls support is still under development. Check this link: https://pidgin.im/development/voice-and-video/
I only know Gajim Client and Conversations Client does support voice and video calls.

Send data from server to a client (Raspberry Pi) without pull request

I have a Raspberry Pi and I am developing an application on the Pi that can be controlled by a web portal.
So I need to know, if I change something in my website, how will that be transferred to my Pi which is a client without any pull request from the client.
One solution could be to install Apache on your Raspberry and setup a basic http PHP or Python API. When a change is posted on the website, the back-end script makes a API call to the Raspberry API service.
If you are using PHP as your web server, you could use json_decode(file_get_contents(...) to access the Raspberry API.
I'll suggest you to use Websockets.
Websockets are bidirectional and client and server can communicate whenever they want as TCP session is ongoing. So, yo will not need to do polling.
You can download and compile libwebsockets for your raspberry as server or as I did in one of my previous projects, you can install nodejs into the raspberry and use socket.io library to handle all. Of course, you will need to do some modifications in your web page to behave like websocket client or socket.io client.
Good luck!

Using RPC for Creating a chat Sample Unity

I am new to unity ,
I am trying to buid a chat functionality using RPC for Unity.
If one of my device(in which app is installed) is become server and other deivces connect to it, It work fine.
But i want my server to be different machine, in which app is not installed.
I want my all devices to connect to that server.
How should i configure my server such that i can connect to it for a RPC call.

Install wowza Media server on my webserver

i was installed wowza media server on my local pc (Ubuntu 13.04). and i was streamed correctly. but now i want to install wowza media server on my web server (linux). please tell any one how to install this media server on my hosting webserver and how to streaming there
Installing Wowza Media Server on your web server will be very similar to what you have already done on your local PC. If you plan to do HTTP adaptive streaming (Apple HLS, Adobe HDS, Microsoft Smooth Streaming, or MPEG DASH) from Wowza, then you just need to make sure that you do not run into a port 80 conflict with your web server. You would do this by either specifying a different HTTP port for Wowza (e.g., port 8080), or better yet, by using a separate IP address on the Web server for Wowza and then still using port 80 for both the web server and Wowza to ensure your content flows across most firewalls.
If you need more detailed help, just send email to support#wowza.com. Someone usually replies within a day.
-Chris
There is a script that installs the Wowza automatically. It works well for Centos OS, I don't know about Ubuntu support. Check this tutorial in this link!, it may help you. At least, it worked for me.
Check out this link. It guides you through the basic setup process. I recommend you install Ubuntu 12.04 LTS which is going to be supported till 2017. Also install open-ssh server, Apache2 web server, MySQL web server and PHP.

Does ijab chat only work with Apache server?

The question is about ijab (facebook, gmail style chat bar) chat.
I have seen this tutorial for configuring ijab with Openfire XMPP server
but not able to connect it with Openfire server.
In the tutorial ijab is being used with Apache webserver but I am using Tomcat with urlrewritefilter for redirecting my request to Openfire server.
Does ijab chat only work with Apache server?
Is there any way of using ijab chat with other web servers like Tomcat, Weblogic, jboss etc?
I think It will only work in Apache since it requires mode_rewrite configuration.