common: Rename add_zrtp_ctx() to start_zrtp()
This commit is contained in:
parent
12e6163f9b
commit
6aaf23e06d
|
@ -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();
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue