ms_dtls_srtp_set_role(sessions->dtls_context,(salRole==SalDtlsRoleIsClient)?MSDtlsSrtpRoleIsClient:MSDtlsSrtpRoleIsServer);/* set the role to client */
ms_dtls_srtp_start(sessions->dtls_context);/* then start the engine, it will send the DTLS client Hello */
}else{
ms_warning("unable to start DTLS engine on stream session [%p], Dtls role in resulting media description is invalid",sessions);