-
- Downloads
use MessageChannel for p2p protocol messages
The MessageChannel is used to exchange Jami protocol messages between peers, similar to the SyncChannel but for communications with contact devices instead of account devices. It would ultimately be used instead of the SIP channel for communication with peers, overcoming the pjsip message size limitation and avoiding the overhead of the SIP message header. The MessageChannel also allows transmission of raw binary data over the network, which is not possible with a SIP transport. Messages on the MessageChannel are serialized using msgpack. It is used instead of the SIP transport when possible, in a backward-compatible way, falling back to the SIP transport if a MessageChannel is not available, for instance when communicating with an older Jami version. Change-Id: I104c998486cbd5e520b1e3b92277613c84a3a305
Showing
- src/jamidht/CMakeLists.txt 2 additions, 0 deletionssrc/jamidht/CMakeLists.txt
- src/jamidht/Makefile.am 2 additions, 0 deletionssrc/jamidht/Makefile.am
- src/jamidht/jamiaccount.cpp 91 additions, 35 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 6 additions, 1 deletionsrc/jamidht/jamiaccount.h
- src/jamidht/message_channel_handler.cpp 175 additions, 0 deletionssrc/jamidht/message_channel_handler.cpp
- src/jamidht/message_channel_handler.h 77 additions, 0 deletionssrc/jamidht/message_channel_handler.h
- src/meson.build 1 addition, 0 deletionssrc/meson.build
- src/uri.cpp 15 additions, 8 deletionssrc/uri.cpp
- src/uri.h 3 additions, 2 deletionssrc/uri.h
Loading
Please register or sign in to comment