Jingle support for audio / video sharing in XMPP session?

Matthew M
Added over 5 years ago

Hi Tigase Server Team,

We've been using Tigase Server 5.2.0 and everything looks great so far!

How to enable audio / video sharing via XMPP with tigase server?

I've made iChat (on Mac) clients connecting to our Tigase server, and I can see the "video available"

icons near my buddy's avatar. But when I invite my buddy to a video sharing session, it could never

start such a session.

I wonder if Tigase supports audio video session?

If so, how to enable that?

Is this related to STUN component?

Or is it completely on client side?

I found Jingle is the protocol for audio/video with XMPP. Does tigase server support Jingle?

Or should I look into Tigase client library for Jingle?

Thanks for your help!

Replies (9)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

Jingle is more of a client-side protocol - that is, server takes part in the session negotiation but afterwards clients don't user server for the actual Jingle session. However - if the clients are behind NAT (or under any other condition that prevents them from making a direct connection) then auxiliary solution could be used - like the mentioned STUN component.

Added by Matthew M over 5 years ago

Thanks for the information!

We are trying the system in a LAN for now to eliminate the NAT problem.

In this case, do you think we will be able to run Jingle client with Tigase server?

As you mentioned that "server takes part in the session negotiation", does this mean

server needs to understand Jingle in order to set up the Jingle session?

Would you recommend a client with Jingle that has successfully work with Tigase server?


Added by Wojciech Kapcia TigaseTeam over 5 years ago

If both computers can 'see' each other and connect to each other then yes - you should be able to make connection.

Tigase takes part in the negotiation only by forwarding xmpp stanzas - please see XEP-0166: Jingle for more details.

Added by Matthew M over 5 years ago


I also found there are some Jingle references in the sample code of Tigase Client Project, see:

Does Tigase client support Jingles? Or I should post questions in that forum?


Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 5 years ago

Tigase XMPP Client Library supports processing XMPP stanzas as specified in XEP-0166: Jingle , but this does not cover implementation of XEP-0167: Jingle RTP Sessions or implementation of connection channels. The only feature of Jingle implemented fully with connection establishment is Jingle File Transfer protocol.

Jingle support described at Example codes contains examples of use of older version of implementation of Jingle in Tigase XMPP Client Library - current implementation is slightly diffrent.

Added by Anant Goswami almost 4 years ago

hey did you get anything to enable audio/video chat ?

I also want to implement the same.

thank you in advance

Added by Alex Kobzar almost 3 years ago

the same questions. Up !

Added by Wojciech Kapcia TigaseTeam almost 3 years ago

Audio support hasn't been added to Jaxmpp library so far.

Added by Wojciech Kapcia TigaseTeam almost 3 years ago

There is issue, and probably audio/video support will be added to the library while this feature will be implemented.