This commit is contained in:
irungentoo 2015-01-04 22:19:18 -05:00
commit 979b4bfb48
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -277,7 +277,7 @@ int toxav_prepare_transmission ( ToxAv *av, int32_t call_index, int support_vide
if (call->active) { if (call->active) {
pthread_mutex_unlock(call->mutex); pthread_mutex_unlock(call->mutex);
LOGGER_ERROR("Error while starting RTP session: call already active!\n"); LOGGER_ERROR("Error while starting RTP session: call already active!\n");
return av_ErrorNoCall; return av_ErrorAlreadyInCallWithPeer;
} }
if (pthread_mutex_init(call->mutex_encoding_audio, NULL) != 0 if (pthread_mutex_init(call->mutex_encoding_audio, NULL) != 0