D-bus Learning (11): telepathy on D-bus [2]: Learn More

Source: Internet
Author: User

Telepathy is used to process real-time communication, including im, IRF, and VoIP (Voice and video. Our developmentProgramAll are telepathy clients. We will describe the development process of this client.

 

Indicates a process that establishes a connection with a connection manager according to the. Manager file, for example, MSN cm. The proxy connecting to the CM interface can be used to obtain information about the IM session, including some information about the app, such as the connection status (whether to connect or not), the rendering status of the app, the alias, contact information data type and data structure ). If we need to communicate with a specific contact, we need to establish a channel. Telepathy provides a flexible way to obtain channel information through requesthandles, and then obtain the corresponding object path through requestchannels. Based on this information, you can create the proxy of the channel, you can call the channel method.

The types of these channels include the following sets. Telepathy supports these functions:

  • List channel type: contact list, which has a single person and a group (such as IRC ). The proxy created above can manage the contact list on the server. For example, subscribe, publish, and block.
  • Text channel type: a text channel provides a message sending method to detect whether the message is successfully sent and the signal received by the other party.
  • Stream channel type: A stream media channel user transmits the SDP of the contact. We thought of the SIP protocol. This is used for video or voice calls. Supports point-to-point and multi-party calls.

In addition, there are room list, filetransfer, contact search call (unstable), and call (unstable ).

For more information, see specifation.

 

Related links:
My Linux articles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.