1 | | With #539 it is now possible to configure media transport settings on per account basis. This is needed for example when application is supporting multiple accounts where one is connecting through Internet and the other is through VPN. |
| 1 | With #539 it is now possible to configure media transport settings on per account basis. This is needed for example when application is supporting multiple accounts where one is connecting through Internet and the other is through VPN. The specification is as follows. |
| 2 | |
| 3 | ==== Configurations ==== |
| 4 | |
| 5 | STUN, ICE, and TURN configurations will be added to {{{pjsua_acc_config}}} with the default values values taken from the {{{pjsua_config}}} and {{{pjsua_media_config}}}. The settings in the {{{pjsua_acc_config}}} are the ones that will actually be used. |
| 6 | |
| 7 | ==== Contact header generation ==== |
| 8 | |
| 9 | The generation rule of the Contact header value doesn't change, apart from the fact that STUN setting is now account specific. |
| 10 | |
| 11 | ==== Via sent-by generation ==== |
| 12 | |
| 13 | '''Initial''' Via {{{sent-by}}} value now will be affected by STUN setting. Subsequent update of the value doesn't change; it follows the rules in #1537. |
| 14 | |
| 15 | ==== Media transports ==== |
| 16 | |
| 17 | STUN, ICE, and TURN setup of the media transports now will follow the account config settings instead. |
| 18 | |