This repository forked from Agora Linux-Server RTM Tutorial

Agora Linux-Server RTM Tutorial

The Agora Linux-Server RTM-Tutorial Sample is an open-source demo that will help you get message chat integrated directly into your Linux applications using the Agora RTM SDK.

With this sample app, you can:

  • Login RTM server
  • Enable multi-instance for RTM, switch over instance
  • Send point to point message and receive point to point message
  • Join channel
  • Send channel message, receive channel message
  • Get member list of the channel
  • Leave channel
  • Logout RTM server

Running the App

  • step 1:create a developer account at Agora.io, and obtain an App ID.
  • step 2:download the RTM sdk, extract the packet and copy 'libagora_rtm_sdk.so' to our project's 'lib' folder,and also copy 'AgoraBase.h','IAgoraRtmService.h','IAgoraService.h' to our project's 'include' folder.
  • step 3:open our project ‘src’ folder, run ./build.sh, and according to the prompt to compile,then run ./rtmServerDemo according to the prompt please.

Developer Environment Requirements

  • Physical or virtual, more than Ubuntu Linux 14.04 LTS 64 bits

Connect Us

License

The MIT License (MIT).