The node you are looking for is at
gnutls_srtp_get_selected_profile
.