common: Rename add_zrtp_ctx() to start_zrtp()

This commit is contained in:
Heikki Tampio 2023-08-02 13:21:37 +03:00
parent 12e6163f9b
commit 6aaf23e06d
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ namespace uvgrtp {
* \retval RTP_OK On success
* \retval RTP_TIMEOUT if ZRTP timed out
* \retval RTP_GENERIC_ERROR on other errors */
rtp_error_t add_zrtp_ctx();
rtp_error_t start_zrtp();
/**
*

View File

@ -370,11 +370,11 @@ rtp_error_t uvgrtp::media_stream::init_auto_zrtp(std::shared_ptr<uvgrtp::zrtp> z
UVG_LOG_ERROR("Failed to initialize media stream");
return free_resources(ret);
}
ret = add_zrtp_ctx();
ret = start_zrtp();
return ret;
}
rtp_error_t uvgrtp::media_stream::add_zrtp_ctx()
rtp_error_t uvgrtp::media_stream::start_zrtp()
{
if (!zrtp_) {
UVG_LOG_ERROR("ZRTP not found, stream %i", ssrc_.get()->load());