mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
* #7132: daemon: audiortp files -> lowercase
This commit is contained in:
@ -3,20 +3,18 @@ include $(top_srcdir)/globals.mak
|
||||
noinst_LTLIBRARIES = libaudiortp.la
|
||||
|
||||
libaudiortp_la_SOURCES = \
|
||||
AudioRtpSession.cpp \
|
||||
AudioSymmetricRtpSession.cpp \
|
||||
AudioRtpRecordHandler.cpp \
|
||||
AudioRtpFactory.cpp \
|
||||
AudioZrtpSession.cpp \
|
||||
ZrtpSessionCallback.cpp \
|
||||
AudioSrtpSession.cpp
|
||||
|
||||
noinst_HEADERS = \
|
||||
AudioRtpSession.h \
|
||||
AudioRtpRecordHandler.h \
|
||||
AudioRtpFactory.h \
|
||||
AudioSymmetricRtpSession.h \
|
||||
AudioZrtpSession.h \
|
||||
ZrtpSessionCallback.h \
|
||||
AudioSrtpSession.h
|
||||
audio_rtp_session.cpp \
|
||||
audio_symmetric_rtp_session.cpp \
|
||||
audio_rtp_record_handler.cpp \
|
||||
audio_rtp_factory.cpp \
|
||||
audio_zrtp_session.cpp \
|
||||
zrtp_session_callback.cpp \
|
||||
audio_srtp_session.cpp \
|
||||
audio_rtp_session.h \
|
||||
audio_rtp_record_handler.h \
|
||||
audio_rtp_factory.h \
|
||||
audio_symmetric_rtp_session.h \
|
||||
audio_zrtp_session.h \
|
||||
zrtp_session_callback.h \
|
||||
audio_srtp_session.h
|
||||
|
||||
|
@ -30,24 +30,20 @@
|
||||
|
||||
|
||||
|
||||
#include "AudioRtpFactory.h"
|
||||
#include "AudioZrtpSession.h"
|
||||
#include "AudioSrtpSession.h"
|
||||
#include "AudioSymmetricRtpSession.h"
|
||||
#include "audio_rtp_factory.h"
|
||||
#include "audio_zrtp_session.h"
|
||||
#include "audio_srtp_session.h"
|
||||
#include "audio_symmetric_rtp_session.h"
|
||||
#include "manager.h"
|
||||
#include "sip/sdp.h"
|
||||
#include "sip/sipcall.h"
|
||||
#include "sip/sipaccount.h"
|
||||
#include "sip/SdesNegotiator.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace sfl {
|
||||
|
||||
AudioRtpFactory::AudioRtpFactory(SIPCall *ca) : _rtpSession(NULL), remoteContext(NULL), localContext(NULL), ca_(ca)
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
AudioRtpFactory::~AudioRtpFactory()
|
||||
{
|
@ -28,21 +28,18 @@
|
||||
* as that of the covered work.
|
||||
*/
|
||||
|
||||
#ifndef __SFL_AUDIO_RTP_FACTORY_H__
|
||||
#define __SFL_AUDIO_RTP_FACTORY_H__
|
||||
#ifndef __AUDIO_RTP_FACTORY_H__
|
||||
#define __AUDIO_RTP_FACTORY_H__
|
||||
|
||||
#include <stdexcept>
|
||||
#include <cc++/thread.h>
|
||||
#include "account.h" // for typedef of std::string (std::string)
|
||||
#include <ccrtp/CryptoContext.h>
|
||||
#include "AudioRtpSession.h"
|
||||
#include "audio_rtp_session.h"
|
||||
|
||||
#include "sip/SdesNegotiator.h"
|
||||
|
||||
class SdesNegotiator;
|
||||
class SIPCall;
|
||||
class Account;
|
||||
class SIPAccount;
|
||||
|
||||
namespace sfl {
|
||||
|
@ -27,15 +27,13 @@
|
||||
* as that of the covered work.
|
||||
*/
|
||||
|
||||
#include "AudioRtpRecordHandler.h"
|
||||
#include "audio_rtp_record_handler.h"
|
||||
#include <fstream>
|
||||
|
||||
#include "sip/sipcall.h"
|
||||
#include "audio/audiolayer.h"
|
||||
#include "manager.h"
|
||||
|
||||
// #define DUMP_PROCESS_DATA_ENCODE
|
||||
|
||||
namespace sfl {
|
||||
|
||||
static const SFLDataFormat initFadeinFactor = 32000;
|
@ -27,8 +27,8 @@
|
||||
* as that of the covered work.
|
||||
*/
|
||||
|
||||
#ifndef AUDIORTPRECORDHANDLER_H_
|
||||
#define AUDIORTPRECORDHANDLER_H_
|
||||
#ifndef __AUDIO_RTP_RECORD_HANDLER_H__
|
||||
#define __AUDIO_RTP_RECORD_HANDLER_H__
|
||||
#include <cstddef>
|
||||
|
||||
using std::ptrdiff_t;
|
||||
@ -43,7 +43,6 @@ class SIPCall;
|
||||
#include "audio/speexechocancel.h"
|
||||
#include "audio/echosuppress.h"
|
||||
#include "audio/gaincontrol.h"
|
||||
#include "managerimpl.h"
|
||||
|
||||
namespace sfl {
|
||||
|
||||
@ -183,4 +182,4 @@ class AudioRtpRecordHandler {
|
||||
|
||||
}
|
||||
|
||||
#endif /* AUDIORTPRECORD_H_ */
|
||||
#endif // __AUDIO_RTP_RECORD_HANDLER_H__
|
@ -32,8 +32,8 @@
|
||||
* as that of the covered work.
|
||||
*/
|
||||
|
||||
#include "AudioRtpSession.h"
|
||||
#include "AudioSymmetricRtpSession.h"
|
||||
#include "audio_rtp_session.h"
|
||||
#include "audio_symmetric_rtp_session.h"
|
||||
|
||||
#include "sip/sdp.h"
|
||||
#include "audio/audiolayer.h"
|
@ -34,7 +34,7 @@
|
||||
#ifndef __SFL_AUDIO_RTP_SESSION_H__
|
||||
#define __SFL_AUDIO_RTP_SESSION_H__
|
||||
|
||||
#include "AudioRtpRecordHandler.h"
|
||||
#include "audio_rtp_record_handler.h"
|
||||
#include <audio/codecs/audiocodec.h>
|
||||
#include <ccrtp/rtp.h>
|
||||
#include <ccrtp/formats.h>
|
@ -27,7 +27,7 @@
|
||||
* shall include the source code for the parts of OpenSSL used as well
|
||||
* as that of the covered work.
|
||||
*/
|
||||
#include "AudioSrtpSession.h"
|
||||
#include "audio_srtp_session.h"
|
||||
|
||||
#include "sip/sipcall.h"
|
||||
|
@ -27,11 +27,11 @@
|
||||
* shall include the source code for the parts of OpenSSL used as well
|
||||
* as that of the covered work.
|
||||
*/
|
||||
#ifndef __SFL_AUDIO_SRTP_SESSION_H__
|
||||
#define __SFL_AUDIO_SRTP_SESSION_H__
|
||||
#ifndef __AUDIO_SRTP_SESSION_H__
|
||||
#define __AUDIO_SRTP_SESSION_H__
|
||||
|
||||
#include "AudioRtpSession.h"
|
||||
#include "AudioSymmetricRtpSession.h"
|
||||
#include "audio_rtp_session.h"
|
||||
#include "audio_symmetric_rtp_session.h"
|
||||
#include "sip/SdesNegotiator.h"
|
||||
|
||||
#include <ccrtp/CryptoContext.h>
|
||||
@ -183,7 +183,6 @@ class AudioSrtpSession : public AudioSymmetricRtpSession {
|
||||
/** Used to make sure remote crypto context not initialized wice. */
|
||||
bool _remoteOfferIsSet;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __AUDIO_SRTP_SESSION_H__
|
@ -32,13 +32,12 @@
|
||||
* as that of the covered work.
|
||||
*/
|
||||
|
||||
#include "AudioRtpSession.h"
|
||||
#include "AudioSymmetricRtpSession.h"
|
||||
#include "AudioRtpRecordHandler.h"
|
||||
|
||||
|
||||
#include "audio_rtp_session.h"
|
||||
#include "audio_symmetric_rtp_session.h"
|
||||
#include "audio_rtp_record_handler.h"
|
||||
#include "sip/sdp.h"
|
||||
#include "audio/audiolayer.h"
|
||||
|
||||
namespace sfl {
|
||||
|
||||
AudioSymmetricRtpSession::AudioSymmetricRtpSession(SIPCall * sipcall) :
|
@ -31,18 +31,19 @@
|
||||
* shall include the source code for the parts of OpenSSL used as well
|
||||
* as that of the covered work.
|
||||
*/
|
||||
#ifndef __SFL_AUDIO_SYMMETRIC_RTP_SESSION_H__
|
||||
#define __SFL_AUDIO_SYMMETRIC_RTP_SESSION_H__
|
||||
#ifndef __AUDIO_SYMMETRIC_RTP_SESSION_H__
|
||||
#define __AUDIO_SYMMETRIC_RTP_SESSION_H__
|
||||
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <list>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
||||
#include "global.h"
|
||||
|
||||
#include "AudioRtpSession.h"
|
||||
#include "AudioRtpRecordHandler.h"
|
||||
#include "audio_rtp_session.h"
|
||||
#include "audio_rtp_record_handler.h"
|
||||
#include "sip/sipcall.h"
|
||||
#include "audio/codecs/audiocodec.h"
|
||||
|
@ -29,8 +29,8 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "AudioZrtpSession.h"
|
||||
#include "ZrtpSessionCallback.h"
|
||||
#include "audio_zrtp_session.h"
|
||||
#include "zrtp_session_callback.h"
|
||||
|
||||
#include "sip/sipcall.h"
|
||||
#include "sip/sdp.h"
|
@ -27,8 +27,8 @@
|
||||
* shall include the source code for the parts of OpenSSL used as well
|
||||
* as that of the covered work.
|
||||
*/
|
||||
#ifndef __SFL_AUDIO_ZRTP_SESSION_H__
|
||||
#define __SFL_AUDIO_ZRTP_SESSION_H__
|
||||
#ifndef __AUDIO_ZRTP_SESSION_H__
|
||||
#define __AUDIO_ZRTP_SESSION_H__
|
||||
|
||||
#include <cstddef>
|
||||
#include <stdexcept>
|
||||
@ -39,7 +39,7 @@ using std::ptrdiff_t;
|
||||
#include <libzrtpcpp/ZrtpQueue.h>
|
||||
#include <libzrtpcpp/ZrtpUserCallback.h>
|
||||
|
||||
#include "AudioRtpSession.h"
|
||||
#include "audio_rtp_session.h"
|
||||
#include <cc++/numbers.h> // OST::Time
|
||||
|
||||
class SIPCall;
|
@ -27,7 +27,7 @@
|
||||
* shall include the source code for the parts of OpenSSL used as well
|
||||
* as that of the covered work.
|
||||
*/
|
||||
#include "ZrtpSessionCallback.h"
|
||||
#include "zrtp_session_callback.h"
|
||||
|
||||
#include "global.h"
|
||||
#include "sip/sipcall.h"
|
@ -28,8 +28,8 @@
|
||||
* as that of the covered work.
|
||||
*/
|
||||
|
||||
#ifndef __SFL_ZRTP_CALLBACK_H__
|
||||
#define __SFL_ZRTP_CALLBACK_H__
|
||||
#ifndef __ZRTP_SESSION_CALLBACK_H__
|
||||
#define __ZRTP_SESSION_CALLBACK_H__
|
||||
#include <cstddef>
|
||||
|
||||
using std::ptrdiff_t;
|
||||
@ -66,4 +66,4 @@ class ZrtpSessionCallback: public ZrtpUserCallback {
|
||||
static bool _mapInitialized;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
#endif // __ZRTP_SESSION_CALLBACK_H__
|
@ -35,8 +35,8 @@
|
||||
|
||||
#include "sip/sipcall.h"
|
||||
#include "sip/sipvoiplink.h"
|
||||
#include "audio/audiortp/AudioRtpFactory.h"
|
||||
#include "audio/audiortp/AudioZrtpSession.h"
|
||||
#include "audio/audiortp/audio_rtp_factory.h"
|
||||
#include "audio/audiortp/audio_zrtp_session.h"
|
||||
|
||||
#include "manager.h"
|
||||
|
||||
|
@ -32,8 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "sipcall.h"
|
||||
#include "logger.h" // for _debug
|
||||
#include "audio/audiortp/AudioRtpFactory.h"
|
||||
#include "audio/audiortp/audio_rtp_factory.h"
|
||||
#include "sdp.h"
|
||||
|
||||
SIPCall::SIPCall(const std::string& id, Call::CallType type, pj_caching_pool *caching_pool) : Call(id, type)
|
||||
|
@ -33,8 +33,7 @@
|
||||
#define SIPCALL_H
|
||||
|
||||
#include "call.h"
|
||||
#include <cassert>
|
||||
#include "audio/audiortp/AudioRtpFactory.h"
|
||||
#include "audio/audiortp/audio_rtp_factory.h"
|
||||
|
||||
class pjsip_evsub;
|
||||
class pj_caching_pool;
|
||||
|
@ -42,18 +42,16 @@
|
||||
#include <time.h>
|
||||
|
||||
#include "rtptest.h"
|
||||
#include "audio/audiortp/AudioSymmetricRtpSession.h"
|
||||
#include "audio/audiortp/audio_symmetric_rtp_session.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
void RtpTest::setUp()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool RtpTest::pjsipInit()
|
||||
{
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
#include <pjnath/stun_config.h>
|
||||
|
||||
// Application import
|
||||
#include "audio/audiortp/AudioRtpFactory.h"
|
||||
#include "audio/audiortp/audio_rtp_factory.h"
|
||||
#include "manager.h"
|
||||
#include "call.h"
|
||||
#include "sip/sipcall.h"
|
||||
|
Reference in New Issue
Block a user