-
- Downloads
ICE/SDP: generate/parse component IDs compliant with RFC-5245
The ICE component IDs are numbered relative to the SDP session, i.e., starts from 1 and incremented for each component. However, RFC-5245 requires that the ICE component IDs are numbered relative to the media stream, e.g., component IDs 1 and 2 for audio and component IDs 1 and 2 for video. This patch allows parsing ICE components IDs in format specified by the RFC and in the current format. This patch also allows generating component IDs compliant with RFC-5245. The generation is disabled by default, and can be enabled per account on runtime. Gitlab: #516 Change-Id: I40c0fa54a64b7d729f714c9769ea36335568f4c9
Showing
- src/account.cpp 1 addition, 0 deletionssrc/account.cpp
- src/account.h 17 additions, 0 deletionssrc/account.h
- src/ice_transport.cpp 214 additions, 164 deletionssrc/ice_transport.cpp
- src/ice_transport.h 20 additions, 22 deletionssrc/ice_transport.h
- src/jamidht/connectionmanager.cpp 12 additions, 5 deletionssrc/jamidht/connectionmanager.cpp
- src/jamidht/jamiaccount.cpp 6 additions, 4 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 2 additions, 0 deletionssrc/jamidht/jamiaccount.h
- src/peer_connection.h 1 addition, 1 deletionsrc/peer_connection.h
- src/sip/sdp.cpp 4 additions, 4 deletionssrc/sip/sdp.cpp
- src/sip/sipcall.cpp 63 additions, 36 deletionssrc/sip/sipcall.cpp
- src/sip/siptransport.cpp 3 additions, 2 deletionssrc/sip/siptransport.cpp
- src/transport/peer_channel.h 0 additions, 6 deletionssrc/transport/peer_channel.h
- test/unitTest/Makefile.am 3 additions, 0 deletionstest/unitTest/Makefile.am
- test/unitTest/ice/ice.cpp 29 additions, 20 deletionstest/unitTest/ice/ice.cpp
- test/unitTest/ice/ice_sdp_parser.cpp 632 additions, 0 deletionstest/unitTest/ice/ice_sdp_parser.cpp
Loading
Please register or sign in to comment