Ring Daemon 16.0.0
Loading...
Searching...
No Matches
libjami Namespace Reference

Namespaces

namespace  Account
 
namespace  Call
 
namespace  Certificate
 
namespace  Media
 
namespace  PluginSignal
 
namespace  Presence
 
namespace  TlsTransport
 

Classes

class  AudioFrame
 
struct  AudioSignal
 
struct  AVFrame_deleter
 
struct  AVPacket_deleter
 
class  CallbackWrapper
 
class  CallbackWrapperBase
 
struct  CallSignal
 
struct  ConfigurationSignal
 
struct  ConversationSignal
 
struct  DataTransferInfo
 
struct  DataTransferSignal
 
class  MediaFrame
 
struct  MediaPlayerSignal
 
struct  Message
 
struct  PresenceSignal
 
class  SerializedCallbackWrapper
 
struct  SinkTarget
 
struct  SwarmMessage
 
class  VideoFrame
 
struct  VideoSignal
 

Typedefs

using DataTransferId = uint64_t
 
typedef std::unique_ptr< AVFrame, AVFrame_deleterFrameBuffer
 
using MediaMap = std::map< std::string, std::string >
 
typedef std::unique_ptr< AVPacket, AVPacket_deleterPacketBuffer
 
using VideoCapabilities = std::map< std::string, std::map< std::string, std::vector< std::string > > >
 

Enumerations

enum  InitFlag {
  LIBJAMI_FLAG_DEBUG = 1 << 0 , LIBJAMI_FLAG_CONSOLE_LOG = 1 << 1 , LIBJAMI_FLAG_SYSLOG = 1 << 3 , LIBJAMI_FLAG_AUTOANSWER = 1 << 2 ,
  LIBJAMI_FLAG_IOS_EXTENSION = 1 << 4 , LIBJAMI_FLAG_NO_LOCAL_AUDIO = 1 << 6 , LIBJAMI_FLAG_NO_LOCAL_VIDEO = 1 << 7 , LIBJAMI_FLAG_NO_LOCAL_MEDIA = LIBJAMI_FLAG_NO_LOCAL_AUDIO | LIBJAMI_FLAG_NO_LOCAL_VIDEO ,
  LIBJAMI_FLAG_NO_AUTOSYNC = 1 << 8 , LIBJAMI_FLAG_NO_AUTOLOAD = 1 << 9
}
 

Functions

bool accept (const std::string &accountId, const std::string &callId)
 
void acceptConversationRequest (const std::string &accountId, const std::string &conversationId)
 
bool acceptTrustRequest (const std::string &accountId, const std::string &from)
 
bool acceptWithMedia (const std::string &accountId, const std::string &callId, const std::vector< libjami::MediaMap > &mediaList)
 
std::string addAccount (const std::map< std::string, std::string > &details, const std::string &accountId)
 
void addContact (const std::string &accountId, const std::string &uri)
 
void addConversationMember (const std::string &accountId, const std::string &conversationId, const std::string &contactUri)
 
int32_t addDevice (const std::string &accountId, const std::string &uri)
 
bool addMainParticipant (const std::string &accountId, const std::string &confId)
 
bool addParticipant (const std::string &accountId, const std::string &callId, const std::string &account2Id, const std::string &confId)
 
bool answerMediaChangeRequest (const std::string &accountId, const std::string &callId, const std::vector< libjami::MediaMap > &mediaList)
 Answer a media change request.
 
LIBJAMI_PUBLIC void answerServerRequest (const std::string &uri, bool flag)
 
void answerServerRequest (UNUSED const std::string &uri, UNUSED bool flag)
 Accept or not a PresSubServer request for IP2IP account.
 
LIBJAMI_PUBLIC void applySettings (const std::string &deviceId, const std::map< std::string, std::string > &settings)
 
std::string_view arch () noexcept
 Return the target architecture as a string.
 
bool attendedTransfer (const std::string &accountId, const std::string &transferID, const std::string &targetID)
 
bool cancelAddDevice (const std::string &accountId, uint32_t op_id)
 
DataTransferError cancelDataTransfer (const std::string &accountId, const std::string &conversationId, const std::string &fileId) noexcept LIBJAMI_PUBLIC
 Refuse or abort an outgoing or an incoming file transfer.
 
bool cancelMessage (const std::string &accountId, uint64_t messageId)
 
bool changeAccountPassword (const std::string &accountId, const std::string &password_old, const std::string &password_new)
 
void clearCache (const std::string &accountId, const std::string &conversationId)
 
bool closeMediaPlayer (const std::string &id)
 
LIBJAMI_PUBLIC bool closeVideoInput (const std::string &id)
 
bool confirmAddDevice (const std::string &accountId, uint32_t op_id)
 
void connectivityChanged ()
 
std::map< std::string, std::string > conversationInfos (const std::string &accountId, const std::string &conversationId)
 
uint32_t countInteractions (const std::string &accountId, const std::string &conversationId, const std::string &toId, const std::string &fromId, const std::string &authorUri)
 
void createConfFromParticipantList (const std::string &accountId, const std::vector< std::string > &participants)
 
std::string createMediaPlayer (const std::string &path)
 
std::vector< std::map< std::string, std::string > > currentMediaList (const std::string &accountId, const std::string &callId)
 
void declineConversationRequest (const std::string &accountId, const std::string &conversationId)
 
bool detachLocalParticipant ()
 
bool detachParticipant (const std::string &, const std::string &callId)
 
bool discardTrustRequest (const std::string &accountId, const std::string &from)
 
bool downloadFile (const std::string &accountId, const std::string &conversationId, const std::string &interactionId, const std::string &fileId, const std::string &path) noexcept
 Asks for retransferring a file.
 
void enableLocalModerators (const std::string &accountId, bool isModEnabled)
 Enable/disable local moderators for conferences.
 
template<typename Ts >
std::pair< std::string, std::shared_ptr< CallbackWrapperBase > > exportable_callback (std::function< typename Ts::cb_type > &&func, const char *file=CURRENT_FILENAME(), uint32_t linum=CURRENT_LINE())
 Return an exportable callback object.
 
template<typename Ts >
std::pair< std::string, std::shared_ptr< CallbackWrapperBase > > exportable_serialized_callback (std::function< typename Ts::cb_type > &&func, const char *file=CURRENT_FILENAME(), uint32_t linum=CURRENT_LINE())
 
bool exportToFile (const std::string &accountId, const std::string &destinationPath, const std::string &scheme, const std::string &password)
 
DataTransferError fileTransferInfo (const std::string &accountId, const std::string &conversationId, const std::string &fileId, std::string &path, int64_t &total, int64_t &progress) noexcept
 Return the amount of sent/received bytes of an existing data transfer.
 
LIBJAMI_PUBLIC void fini () noexcept
 Stop and freeing any resource allocated by daemon.
 
std::map< std::string, std::string > getAccountDetails (const std::string &accountId)
 
std::vector< std::string > getAccountList ()
 
std::map< std::string, std::string > getAccountTemplate (const std::string &accountType)
 This function is used as a base for new accounts for clients that support it.
 
std::vector< std::map< std::string, std::string > > getActiveCalls (const std::string &accountId, const std::string &conversationId)
 
std::vector< unsigned > getActiveCodecList (const std::string &accountId)
 
std::string getAddrFromInterfaceName (const std::string &interface)
 
std::vector< std::string > getAllIpInterface ()
 
std::vector< std::string > getAllIpInterfaceByName ()
 
int32_t getAudioInputDeviceIndex (const std::string &name)
 
std::vector< std::string > getAudioInputDeviceList ()
 
std::string getAudioManager ()
 
int32_t getAudioOutputDeviceIndex (const std::string &name)
 
std::vector< std::string > getAudioOutputDeviceList ()
 
std::vector< std::string > getAudioPluginList ()
 
std::map< std::string, std::string > getCallDetails (const std::string &accountId, const std::string &callId)
 
std::vector< std::string > getCallList ()
 
std::vector< std::string > getCallList (const std::string &accountId)
 
std::map< std::string, std::string > getCallMediaHandlerDetails (const std::string &mediaHandlerId)
 
std::vector< std::string > getCallMediaHandlers ()
 
std::vector< std::string > getCallMediaHandlerStatus (const std::string &callId)
 
LIBJAMI_PUBLIC VideoCapabilities getCapabilities (const std::string &deviceId)
 
std::map< std::string, std::string > getCertificateDetails (const std::string &accountId, const std::string &certificate)
 
std::map< std::string, std::string > getCertificateDetailsPath (const std::string &accountId, const std::string &certificate, const std::string &privateKey, const std::string &privateKeyPassword)
 
std::vector< std::string > getCertificatesByStatus (const std::string &accountId, const std::string &ststr)
 
std::vector< std::map< std::string, std::string > > getChannelList (const std::string &accountId, const std::string &connectionId)
 
std::map< std::string, std::string > getChatHandlerDetails (const std::string &chatHandlerId)
 
std::vector< std::string > getChatHandlers ()
 
std::vector< std::string > getChatHandlerStatus (const std::string &accountId, const std::string &peerId)
 
std::map< std::string, std::string > getCodecDetails (const std::string &accountId, const unsigned &codecId)
 
std::vector< unsigned > getCodecList ()
 Send the list of all codecs loaded to the client through DBus.
 
std::map< std::string, std::string > getConferenceDetails (const std::string &accountId, const std::string &confId)
 
std::string getConferenceId (const std::string &accountId, const std::string &callId)
 
std::vector< std::map< std::string, std::string > > getConferenceInfos (const std::string &accountId, const std::string &confId)
 
std::vector< std::string > getConferenceList (const std::string &accountId)
 
std::vector< std::map< std::string, std::string > > getConnectionList (const std::string &accountId, const std::string &conversationId)
 
std::map< std::string, std::string > getContactDetails (const std::string &accountId, const std::string &uri)
 
std::vector< std::map< std::string, std::string > > getContacts (const std::string &accountId)
 
std::vector< std::map< std::string, std::string > > getConversationMembers (const std::string &accountId, const std::string &conversationId)
 
std::map< std::string, std::string > getConversationPreferences (const std::string &accountId, const std::string &conversationId)
 
std::vector< std::map< std::string, std::string > > getConversationRequests (const std::string &accountId)
 
std::vector< std::string > getConversations (const std::string &accountId)
 
std::vector< std::map< std::string, std::string > > getCredentials (const std::string &accountId)
 
std::vector< std::string > getCurrentAudioDevicesIndex ()
 
std::string getCurrentAudioOutputPlugin ()
 
bool getDecodingAccelerated ()
 
LIBJAMI_PUBLIC std::string getDefaultDevice ()
 
std::vector< std::string > getDefaultModerators (const std::string &accountId)
 Get default moderators for an account.
 
LIBJAMI_PUBLIC std::vector< std::string > getDeviceList ()
 
LIBJAMI_PUBLIC std::map< std::string, std::string > getDeviceParams (const std::string &deviceId)
 
bool getEncodingAccelerated ()
 
int32_t getHistoryLimit ()
 
std::vector< std::string > getInstalledPlugins ()
 
bool getIsAlwaysRecording ()
 
bool getIsRecording (const std::string &accountId, const std::string &callId)
 
std::map< std::string, std::string > getKnownRingDevices (const std::string &accountId)
 
std::vector< MessagegetLastMessages (const std::string &accountId, const uint64_t &base_timestamp)
 
std::vector< std::string > getLoadedPlugins ()
 
int getMessageStatus (const std::string &accountId, uint64_t messageId)
 
int getMessageStatus (uint64_t messageId)
 
std::map< std::string, std::string > getNearbyPeers (const std::string &accountId)
 
std::string getNoiseSuppressState ()
 
std::vector< std::string > getParticipantList (const std::string &accountId, const std::string &confId)
 
std::vector< uint8_t > getPasswordKey (const std::string &accountID, const std::string &password)
 
std::vector< std::string > getPinnedCertificates (const std::string &accountId)
 
std::map< std::string, std::string > getPlatformInfo ()
 
int64_t getPlayerDuration (const std::string &id)
 
int64_t getPlayerPosition (const std::string &id)
 
std::map< std::string, std::string > getPluginDetails (const std::string &path)
 
std::vector< std::map< std::string, std::string > > getPluginPreferences (const std::string &path, const std::string &accountId)
 
std::map< std::string, std::string > getPluginPreferencesValues (const std::string &path, const std::string &accountId)
 
bool getPluginsEnabled ()
 
std::string getRecordPath ()
 
bool getRecordPreview ()
 
int32_t getRecordQuality ()
 
std::map< std::string, std::string > getRenderer (const std::string &callId)
 
int32_t getRingingTimeout ()
 
LIBJAMI_PUBLIC std::map< std::string, std::string > getSettings (const std::string &deviceId)
 
std::vector< std::map< std::string, std::string > > getSubscriptions (const std::string &accountId)
 Get all active subscriptions for "accountId".
 
std::vector< std::string > getSupportedAudioManagers ()
 
std::vector< std::string > getSupportedCiphers (const std::string &accountId)
 
std::vector< std::string > getSupportedTlsMethod ()
 
std::vector< std::map< std::string, std::string > > getTrustRequests (const std::string &accountId)
 
std::map< std::string, std::string > getVolatileAccountDetails (const std::string &accountId)
 
double getVolume (const std::string &device)
 
bool hangUp (const std::string &accountId, const std::string &callId)
 
bool hangUpConference (const std::string &accountId, const std::string &confId)
 
void hangupParticipant (const std::string &accountId, const std::string &confId, const std::string &accountUri, const std::string &deviceId)
 
bool hold (const std::string &accountId, const std::string &callId)
 
bool holdConference (const std::string &accountId, const std::string &confId)
 
LIBJAMI_PUBLIC bool init (enum InitFlag flags) noexcept
 Initialize globals, create underlaying daemon.
 
LIBJAMI_PUBLIC bool initialized () noexcept
 
int installPlugin (const std::string &jplPath, bool force)
 
bool isAgcEnabled ()
 
bool isAllModerators (const std::string &accountId)
 Get all moderators state.
 
bool isAudioMeterActive (const std::string &id)
 Returns whether or not the audio meter is enabled for ring buffer @id.
 
bool isCaptureMuted ()
 
bool isConferenceParticipant (const std::string &accountId, const std::string &callId)
 
bool isDtmfMuted ()
 
bool isLocalModeratorsEnabled (const std::string &accountId)
 Get local moderators state.
 
bool isPasswordValid (const std::string &accountId, const std::string &password)
 
bool isPlaybackMuted ()
 
bool isRingtoneMuted ()
 
bool joinConference (const std::string &accountId, const std::string &sel_confId, const std::string &account2Id, const std::string &drag_confId)
 
bool joinParticipant (const std::string &accountId, const std::string &sel_callId, const std::string &account2Id, const std::string &drag_callId)
 
void loadAccountAndConversation (const std::string &accountId, bool loadAll, const std::string &convId)
 
uint32_t loadConversation (const std::string &accountId, const std::string &conversationId, const std::string &fromMessage, size_t n)
 
uint32_t loadConversationMessages (const std::string &accountId, const std::string &conversationId, const std::string &fromMessage, size_t n)
 
uint32_t loadConversationUntil (const std::string &accountId, const std::string &conversationId, const std::string &fromMessage, const std::string &toMessage)
 
bool loadPlugin (const std::string &path)
 
uint32_t loadSwarmUntil (const std::string &accountId, const std::string &conversationId, const std::string &fromMessage, const std::string &toMessage)
 
LIBJAMI_PUBLIC void logging (const std::string &whom, const std::string &action) noexcept
 Control log handlers.
 
bool lookupAddress (const std::string &account, const std::string &nameserver, const std::string &address)
 
bool lookupName (const std::string &account, const std::string &nameserver, const std::string &name)
 
void monitor (bool continuous)
 
void muteCapture (bool mute)
 
void muteDtmf (bool mute)
 
bool muteLocalMedia (const std::string &accountId, const std::string &callId, const std::string &mediaType, bool mute)
 
void muteParticipant (const std::string &accountId, const std::string &confId, const std::string &accountUri, const bool &state)
 DEPRECATED USE muteStream.
 
void mutePlayback (bool mute)
 
bool mutePlayerAudio (const std::string &id, const bool &mute)
 
void muteRingtone (bool mute)
 
void muteStream (const std::string &accountId, const std::string &confId, const std::string &accountUri, const std::string &deviceId, const std::string &streamId, const bool &state)
 
LIBJAMI_PUBLIC std::string openVideoInput (const std::string &path)
 
bool pausePlayer (const std::string &id, const bool &pause)
 
std::vector< std::string > pinCertificate (const std::string &accountId, const std::vector< uint8_t > &certificate, bool local)
 
void pinCertificatePath (const std::string &accountId, const std::string &path)
 
bool pinRemoteCertificate (const std::string &accountId, const std::string &certId)
 
std::string placeCall (const std::string &accountId, const std::string &to)
 
std::string placeCallWithMedia (const std::string &accountId, const std::string &to, const std::vector< libjami::MediaMap > &mediaList)
 
LIBJAMI_PUBLIC std::string placeCallWithMedia (const std::string &accountId, const std::string &to, const std::vector< std::map< std::string, std::string > > &mediaList)
 
std::string_view platform () noexcept
 Return the target platform (OS) as a string.
 
void playDTMF (const std::string &key)
 
bool playerSeekToTime (const std::string &id, const int &time)
 
bool provideAccountAuthentication (const std::string &accountId, const std::string &credentialsFromUser, const std::string &scheme)
 
void publish (const std::string &accountId, bool status, const std::string &note)
 push a presence for a account Notify for IP2IP account For JamiAccount status is ignored but note is used
 
void pushNotificationReceived (const std::string &from, const std::map< std::string, std::string > &data)
 To be called by clients with relevant data when a push notification is received.
 
void raiseHand (const std::string &accountId, const std::string &confId, const std::string &accountUri, const std::string &deviceId, const bool &state)
 
void raiseParticipantHand (const std::string &accountId, const std::string &confId, const std::string &peerId, const bool &state)
 DEPRECATED, use raiseHand.
 
void recordPlaybackSeek (double value)
 
bool refuse (const std::string &accountId, const std::string &callId)
 
void registerAllAccounts ()
 
void registerCallHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers)
 
void registerConfHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers)
 
void registerDataXferHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers)
 
bool registerName (const std::string &account, const std::string &name, const std::string &scheme, const std::string &password)
 
void registerPresHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers)
 
void registerSignalHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers)
 
bool registerSinkTarget (const std::string &sinkId, SinkTarget target)
 
LIBJAMI_PUBLIC void registerVideoHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &)
 
void reloadConversationsAndRequests (const std::string &accountId)
 
void removeAccount (const std::string &accountId)
 
void removeContact (const std::string &accountId, const std::string &uri, bool ban)
 
bool removeConversation (const std::string &accountId, const std::string &conversationId)
 
void removeConversationMember (const std::string &accountId, const std::string &conversationId, const std::string &contactUri)
 
bool requestMediaChange (const std::string &accountId, const std::string &callId, const std::vector< libjami::MediaMap > &mediaList)
 
bool resetPluginPreferencesValues (const std::string &path, const std::string &accountId)
 
bool revokeDevice (const std::string &accountId, const std::string &deviceId, const std::string &scheme, const std::string &password)
 
uint32_t searchConversation (const std::string &accountId, const std::string &conversationId, const std::string &author, const std::string &lastId, const std::string &regexSearch, const std::string &type, const int64_t &after, const int64_t &before, const uint32_t &maxResult, const int32_t &flag)
 
bool searchUser (const std::string &account, const std::string &query)
 
uint64_t sendAccountTextMessage (const std::string &accountId, const std::string &to, const std::map< std::string, std::string > &payloads, int32_t flags)
 
void sendFile (const std::string &accountId, const std::string &conversationId, const std::string &path, const std::string &displayName, const std::string &replyTo) noexcept
 Asynchronously send a file to a peer using given account connection.
 
void sendMessage (const std::string &accountId, const std::string &conversationId, const std::string &message, const std::string &commitId, const int32_t &flag)
 
void sendRegister (const std::string &accountId, bool enable)
 
void sendTextMessage (const std::string &accountId, const std::string &callId, const std::map< std::string, std::string > &messages, const std::string &from, bool isMixed)
 
void sendTrustRequest (const std::string &accountId, const std::string &to, const std::vector< uint8_t > &payload)
 
std::string sendWebViewAttach (const std::string &pluginId, const std::string &accountId, const std::string &webViewId, const std::string &action)
 
void sendWebViewDetach (const std::string &pluginId, const std::string &webViewId)
 
void sendWebViewMessage (const std::string &pluginId, const std::string &webViewId, const std::string &messageId, const std::string &payload)
 
void setAccountActive (const std::string &accountId, bool enable, bool shutdownConnections)
 
void setAccountDetails (const std::string &accountId, const std::map< std::string, std::string > &details)
 
void setAccountsOrder (const std::string &order)
 
void setActiveCodecList (const std::string &accountId, const std::vector< unsigned > &list)
 
void setActiveParticipant (const std::string &accountId, const std::string &confId, const std::string &callId)
 DEPRECATED, USE setActiveStream.
 
void setActiveStream (const std::string &accountId, const std::string &confId, const std::string &accountUri, const std::string &deviceId, const std::string &streamId, const bool &state)
 
void setAgcState (bool enabled)
 
void setAllModerators (const std::string &accountId, bool allModerators)
 Enable/disable all moderators for conferences.
 
void setAudioInputDevice (int32_t index)
 
bool setAudioManager (const std::string &api)
 
void setAudioMeterState (const std::string &id, bool state)
 Enables/disables an audio meter for the specified @id.
 
void setAudioOutputDevice (int32_t index)
 
void setAudioPlugin (const std::string &audioPlugin)
 
void setAudioRingtoneDevice (int32_t index)
 
void setAutoRestart (const std::string &id, const bool &restart)
 
bool setCertificateStatus (const std::string &accountId, const std::string &certId, const std::string &ststr)
 
bool setCodecDetails (const std::string &accountId, const unsigned &codecId, const std::map< std::string, std::string > &details)
 
void setConferenceLayout (const std::string &accountId, const std::string &confId, uint32_t layout)
 
void setConversationPreferences (const std::string &accountId, const std::string &conversationId, const std::map< std::string, std::string > &prefs)
 
void setCredentials (const std::string &accountId, const std::vector< std::map< std::string, std::string > > &details)
 
void setDecodingAccelerated (bool state)
 
LIBJAMI_PUBLIC void setDefaultDevice (const std::string &deviceId)
 
void setDefaultModerator (const std::string &accountId, const std::string &peerURI, bool state)
 Add/remove default moderator for conferences.
 
LIBJAMI_PUBLIC void setDeviceOrientation (const std::string &deviceId, int angle)
 
void setEncodingAccelerated (bool state)
 
void setHistoryLimit (int32_t days)
 
void setIsAlwaysRecording (bool rec)
 
void setIsComposing (const std::string &accountId, const std::string &conversationUri, bool isWriting)
 
bool setMessageDisplayed (const std::string &accountId, const std::string &conversationUri, const std::string &messageId, int status)
 
void setModerator (const std::string &accountId, const std::string &confId, const std::string &peerId, const bool &state)
 
void setNoiseSuppressState (const std::string &state)
 
bool setPluginPreference (const std::string &path, const std::string &accountId, const std::string &key, const std::string &value)
 
void setPluginsEnabled (bool state)
 
void setPushNotificationConfig (const std::map< std::string, std::string > &data)
 
void setPushNotificationToken (const std::string &pushDeviceToken)
 Set the device push notification token (for all accounts).
 
void setPushNotificationTopic (const std::string &topic)
 Set the topic for ios bundle_id for ios 14.5 and higher bundle_id.voip for ios prior 14.5.
 
void setRecording (const std::string &accountId, const std::string &callId)
 
void setRecordPath (const std::string &recPath)
 
void setRecordPreview (bool rec)
 
LIBJAMI_PUBLIC void setRecordQuality (int quality)
 
void setRecordQuality (int32_t quality)
 
void setResourceDirPath (const std::string &resourceDirPath)
 Set the resource directory path.
 
void setRingingTimeout (int32_t timeout)
 
void setSubscriptions (const std::string &accountId, const std::vector< std::string > &uris)
 Batch subscribing of URIs.
 
void setVolume (const std::string &device, double value)
 
LIBJAMI_PUBLIC bool start (const std::filesystem::path &config_file={}) noexcept
 Start asynchronously daemon created by init().
 
void startAudio ()
 
void startAudioDevice ()
 
std::string startConversation (const std::string &accountId)
 
std::string startLocalMediaRecorder (const std::string &videoInputId, const std::string &filepath)
 
bool startRecordedFilePlayback (const std::string &filepath)
 
void startSmartInfo (uint32_t refreshTimeMs)
 
void startTone (int32_t start, int32_t type)
 
void stopAudioDevice ()
 
void stopLocalRecorder (const std::string &filepath)
 
void stopRecordedFilePlayback ()
 
void stopSmartInfo ()
 
void subscribeBuddy (const std::string &accountId, const std::string &uri, bool flag)
 Un/subscribe to buddySipUri for an accountId.
 
bool switchInput (const std::string &accountId, const std::string &callId, const std::string &resource)
 
bool switchSecondaryInput (const std::string &accountId, const std::string &confId, const std::string &resource)
 
void toggleCallMediaHandler (const std::string &mediaHandlerId, const std::string &callId, bool toggle)
 
void toggleChatHandler (const std::string &chatHandlerId, const std::string &accountId, const std::string &peerId, bool toggle)
 
bool toggleRecording (const std::string &accountId, const std::string &callId)
 
bool transfer (const std::string &accountId, const std::string &callId, const std::string &to)
 
bool unhold (const std::string &accountId, const std::string &callId)
 
bool unholdConference (const std::string &accountId, const std::string &confId)
 
int uninstallPlugin (const std::string &pluginRootPath)
 
bool unloadPlugin (const std::string &path)
 
bool unpinCertificate (const std::string &accountId, const std::string &certId)
 
unsigned unpinCertificatePath (const std::string &accountId, const std::string &path)
 
void unregisterSignalHandlers ()
 
void updateConversationInfos (const std::string &accountId, const std::string &conversationId, const std::map< std::string, std::string > &infos)
 
void updateProfile (const std::string &accountId, const std::string &displayName, const std::string &avatar, const std::string &fileType, int32_t flag)
 
std::map< std::string, std::string > validateCertificate (const std::string &accountId, const std::string &certificate)
 
std::map< std::string, std::string > validateCertificatePath (const std::string &accountId, const std::string &certificate, const std::string &privateKey, const std::string &privateKeyPass, const std::string &caList)
 
const char * version () noexcept
 Return the library version as string.
 

Variables

enum LIBJAMI_PUBLIC closed_by_host
 
enum LIBJAMI_PUBLIC closed_by_peer
 
constexpr unsigned CODECS_NOT_LOADED = 0x1000
 
enum LIBJAMI_PUBLIC created
 
enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC DataTransferError
 
enum LIBJAMI_PUBLIC DataTransferEventCode
 
enum LIBJAMI_PUBLIC finished
 
InitFlag initFlags = {}
 
enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC invalid_argument
 
enum LIBJAMI_PUBLIC invalid_pathname
 
enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC io
 
enum LIBJAMI_PUBLIC ongoing
 
enum LIBJAMI_PUBLIC timeout_expired
 
enum LIBJAMI_PUBLIC unjoinable_peer
 
enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC unknown
 
enum LIBJAMI_PUBLIC unsupported
 
enum LIBJAMI_PUBLIC wait_host_acceptance
 
enum LIBJAMI_PUBLIC wait_peer_acceptance
 

Typedef Documentation

◆ DataTransferId

using libjami::DataTransferId = typedef uint64_t

Definition at line 36 of file datatransfer_interface.h.

◆ FrameBuffer

typedef std::unique_ptr<AVFrame, AVFrame_deleter> libjami::FrameBuffer

Definition at line 62 of file videomanager_interface.h.

◆ MediaMap

using libjami::MediaMap = typedef std::map<std::string, std::string>

Definition at line 275 of file jami.h.

◆ PacketBuffer

typedef std::unique_ptr<AVPacket, AVPacket_deleter> libjami::PacketBuffer

Definition at line 69 of file videomanager_interface.h.

◆ VideoCapabilities

using libjami::VideoCapabilities = typedef std::map<std::string, std::map<std::string, std::vector<std::string> >>

Definition at line 180 of file videomanager_interface.h.

Enumeration Type Documentation

◆ InitFlag

Enumerator
LIBJAMI_FLAG_DEBUG 
LIBJAMI_FLAG_CONSOLE_LOG 
LIBJAMI_FLAG_SYSLOG 
LIBJAMI_FLAG_AUTOANSWER 
LIBJAMI_FLAG_IOS_EXTENSION 
LIBJAMI_FLAG_NO_LOCAL_AUDIO 
LIBJAMI_FLAG_NO_LOCAL_VIDEO 
LIBJAMI_FLAG_NO_LOCAL_MEDIA 
LIBJAMI_FLAG_NO_AUTOSYNC 
LIBJAMI_FLAG_NO_AUTOLOAD 

Definition at line 35 of file jami.h.

Function Documentation

◆ accept()

LIBJAMI_PUBLIC bool libjami::accept ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 87 of file callmanager.cpp.

References jami::Manager::answerCall(), and jami::Manager::instance().

Here is the call graph for this function:

◆ acceptConversationRequest()

LIBJAMI_PUBLIC void libjami::acceptConversationRequest ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 45 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ acceptTrustRequest()

LIBJAMI_PUBLIC bool libjami::acceptTrustRequest ( const std::string &  accountId,
const std::string &  from 
)

Definition at line 473 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ acceptWithMedia()

LIBJAMI_PUBLIC bool libjami::acceptWithMedia ( const std::string &  accountId,
const std::string &  callId,
const std::vector< libjami::MediaMap > &  mediaList 
)

Definition at line 93 of file callmanager.cpp.

References jami::Manager::answerCall(), and jami::Manager::instance().

Here is the call graph for this function:

◆ addAccount()

LIBJAMI_PUBLIC std::string libjami::addAccount ( const std::map< std::string, std::string > &  details,
const std::string &  accountId 
)

Definition at line 509 of file configurationmanager.cpp.

References jami::Manager::addAccount(), and jami::Manager::instance().

Here is the call graph for this function:

◆ addContact()

LIBJAMI_PUBLIC void libjami::addContact ( const std::string &  accountId,
const std::string &  uri 
)

Definition at line 434 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ addConversationMember()

LIBJAMI_PUBLIC void libjami::addConversationMember ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  contactUri 
)

Definition at line 135 of file conversation_interface.cpp.

References jami::Manager::instance(), and JAMI_ERROR.

Here is the call graph for this function:

◆ addDevice()

LIBJAMI_PUBLIC int32_t libjami::addDevice ( const std::string &  accountId,
const std::string &  uri 
)

Definition at line 349 of file configurationmanager.cpp.

References jami::AccountManager::GENERIC, jami::Manager::instance(), and JAMI_DEBUG.

Here is the call graph for this function:

◆ addMainParticipant()

LIBJAMI_PUBLIC bool libjami::addMainParticipant ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 241 of file callmanager.cpp.

References jami::Manager::addMainParticipant(), and jami::Manager::instance().

Here is the call graph for this function:

◆ addParticipant()

LIBJAMI_PUBLIC bool libjami::addParticipant ( const std::string &  accountId,
const std::string &  callId,
const std::string &  account2Id,
const std::string &  confId 
)

Definition at line 232 of file callmanager.cpp.

References jami::Manager::addSubCall(), and jami::Manager::instance().

Here is the call graph for this function:

◆ answerMediaChangeRequest()

LIBJAMI_PUBLIC bool libjami::answerMediaChangeRequest ( const std::string &  accountId,
const std::string &  callId,
const std::vector< libjami::MediaMap > &  mediaList 
)

Answer a media change request.

Parameters
accountId
callId
mediaListthe list of media attributes. The client can control the media through the attributes. The list should have the same size as the list reported in the media change request. The client can ignore the media update request by not calling this method, or calling it with an empty media list.

Definition at line 101 of file callmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ answerServerRequest() [1/2]

LIBJAMI_PUBLIC void libjami::answerServerRequest ( const std::string &  uri,
bool  flag 
)

◆ answerServerRequest() [2/2]

void libjami::answerServerRequest ( UNUSED const std::string &  uri,
UNUSED bool  flag 
)

Accept or not a PresSubServer request for IP2IP account.

Definition at line 97 of file presencemanager.cpp.

References jami::Manager::instance(), JAMI_DEBUG, and JAMI_ERROR.

Here is the call graph for this function:

◆ applySettings()

LIBJAMI_PUBLIC void libjami::applySettings ( const std::string &  deviceId,
const std::map< std::string, std::string > &  settings 
)

◆ arch()

LIBJAMI_PUBLIC std::string_view libjami::arch ( )
noexcept

Return the target architecture as a string.

Definition at line 57 of file buildinfo.cpp.

References jami::arch().

Here is the call graph for this function:

◆ attendedTransfer()

LIBJAMI_PUBLIC bool libjami::attendedTransfer ( const std::string &  accountId,
const std::string &  transferID,
const std::string &  targetID 
)

Definition at line 170 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ cancelAddDevice()

LIBJAMI_PUBLIC bool libjami::cancelAddDevice ( const std::string &  accountId,
uint32_t  op_id 
)

Definition at line 368 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ cancelDataTransfer()

DataTransferError libjami::cancelDataTransfer ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  fileId 
)
noexcept

Refuse or abort an outgoing or an incoming file transfer.

Use this function when you receive an incoming or when you want to abort an outgoing data transfer. The cancellation will occurs asynchronously, a cancel event will be generated when its effective. This function can be used only once per data transfer identifiant, when used more it's ignored.

Parameters
iddata transfer identification value as given by a DataTransferEvent signal.
Returns
DataTransferError::invalid_argument if id is unknown.
Note
unknown id results to a no-op call.

Definition at line 59 of file datatransfer.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ cancelMessage()

LIBJAMI_PUBLIC bool libjami::cancelMessage ( const std::string &  accountId,
uint64_t  messageId 
)

Definition at line 325 of file configurationmanager.cpp.

◆ changeAccountPassword()

LIBJAMI_PUBLIC bool libjami::changeAccountPassword ( const std::string &  accountId,
const std::string &  password_old,
const std::string &  password_new 
)

Definition at line 422 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ clearCache()

LIBJAMI_PUBLIC void libjami::clearCache ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 257 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ closeMediaPlayer()

LIBJAMI_PUBLIC bool libjami::closeMediaPlayer ( const std::string &  id)

Definition at line 591 of file videomanager.cpp.

References jami::closeMediaPlayer().

Here is the call graph for this function:

◆ closeVideoInput()

LIBJAMI_PUBLIC bool libjami::closeVideoInput ( const std::string &  id)

◆ confirmAddDevice()

LIBJAMI_PUBLIC bool libjami::confirmAddDevice ( const std::string &  accountId,
uint32_t  op_id 
)

Definition at line 359 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ connectivityChanged()

LIBJAMI_PUBLIC void libjami::connectivityChanged ( )

Definition at line 1021 of file configurationmanager.cpp.

References jami::Manager::getAllAccounts(), jami::Manager::instance(), JAMI_ERR, JAMI_WARN, and jami::Manager::upnpContext().

Here is the call graph for this function:

◆ conversationInfos()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::conversationInfos ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 106 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ countInteractions()

LIBJAMI_PUBLIC uint32_t libjami::countInteractions ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  toId,
const std::string &  fromId,
const std::string &  authorUri 
)

Definition at line 244 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ createConfFromParticipantList()

LIBJAMI_PUBLIC void libjami::createConfFromParticipantList ( const std::string &  accountId,
const std::vector< std::string > &  participants 
)

Definition at line 190 of file callmanager.cpp.

References jami::Manager::createConfFromParticipantList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ createMediaPlayer()

LIBJAMI_PUBLIC std::string libjami::createMediaPlayer ( const std::string &  path)

Definition at line 585 of file videomanager.cpp.

References jami::createMediaPlayer().

Here is the call graph for this function:

◆ currentMediaList()

LIBJAMI_PUBLIC std::vector< libjami::MediaMap > libjami::currentMediaList ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 294 of file callmanager.cpp.

References jami::Manager::instance(), and JAMI_WARN.

Here is the call graph for this function:

◆ declineConversationRequest()

LIBJAMI_PUBLIC void libjami::declineConversationRequest ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 53 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ detachLocalParticipant()

LIBJAMI_PUBLIC bool libjami::detachLocalParticipant ( )

Definition at line 247 of file callmanager.cpp.

References jami::Manager::detachHost(), and jami::Manager::instance().

Here is the call graph for this function:

◆ detachParticipant()

LIBJAMI_PUBLIC bool libjami::detachParticipant ( const std::string &  ,
const std::string &  callId 
)

Definition at line 253 of file callmanager.cpp.

References jami::Manager::detachParticipant(), and jami::Manager::instance().

Here is the call graph for this function:

◆ discardTrustRequest()

LIBJAMI_PUBLIC bool libjami::discardTrustRequest ( const std::string &  accountId,
const std::string &  from 
)

Definition at line 481 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ downloadFile()

LIBJAMI_PUBLIC bool libjami::downloadFile ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  interactionId,
const std::string &  fileId,
const std::string &  path 
)
noexcept

Asks for retransferring a file.

Generally this means that the file is missing from the conversation

Parameters
accountId
conversationId
fileId
path

Definition at line 46 of file datatransfer.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ enableLocalModerators()

LIBJAMI_PUBLIC void libjami::enableLocalModerators ( const std::string &  accountId,
bool  isModEnabled 
)

Enable/disable local moderators for conferences.

Definition at line 1182 of file configurationmanager.cpp.

References jami::Manager::enableLocalModerators(), and jami::Manager::instance().

Here is the call graph for this function:

◆ exportable_callback()

template<typename Ts >
std::pair< std::string, std::shared_ptr< CallbackWrapperBase > > libjami::exportable_callback ( std::function< typename Ts::cb_type > &&  func,
const char *  file = CURRENT_FILENAME(),
uint32_t  linum = CURRENT_LINE() 
)

Return an exportable callback object.

This object is a std::pair of a string and a CallbackWrapperBase shared_ptr. This last wraps given callback in a ABI-compatible way. Note: this version accepts callbacks as rvalue only.

Definition at line 251 of file jami.h.

◆ exportable_serialized_callback()

template<typename Ts >
std::pair< std::string, std::shared_ptr< CallbackWrapperBase > > libjami::exportable_serialized_callback ( std::function< typename Ts::cb_type > &&  func,
const char *  file = CURRENT_FILENAME(),
uint32_t  linum = CURRENT_LINE() 
)

Definition at line 262 of file jami.h.

◆ exportToFile()

LIBJAMI_PUBLIC bool libjami::exportToFile ( const std::string &  accountId,
const std::string &  destinationPath,
const std::string &  scheme,
const std::string &  password 
)

Definition at line 390 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ fileTransferInfo()

LIBJAMI_PUBLIC DataTransferError libjami::fileTransferInfo ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  fileId,
std::string &  path,
int64_t &  total,
int64_t &  progress 
)
noexcept

Return the amount of sent/received bytes of an existing data transfer.

Parameters
iddata transfer identification value as given by a DataTransferEvent signal.
[out]totalpositive number of bytes to sent/received, or -1 if unknown.
[out]progresspositive number of bytes already sent/received.
Returns
DataTransferError::success if total and progress is set with valid values. DataTransferError::invalid_argument if the id is unknown.

Definition at line 72 of file datatransfer.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ fini()

void libjami::fini ( )
noexcept

Stop and freeing any resource allocated by daemon.

Definition at line 98 of file ring_api.cpp.

References jami::Manager::finish(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAccountDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getAccountDetails ( const std::string &  accountId)

Definition at line 81 of file configurationmanager.cpp.

References jami::Manager::getAccountDetails(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAccountList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getAccountList ( )

Definition at line 539 of file configurationmanager.cpp.

References jami::Manager::getAccountList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAccountTemplate()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getAccountTemplate ( const std::string &  accountType)

This function is used as a base for new accounts for clients that support it.

Definition at line 499 of file configurationmanager.cpp.

References libjami::Account::ProtocolNames::RING, libjami::Account::ProtocolNames::SIP, jami::JamiAccountConfig::toMap(), and jami::SipAccountConfig::toMap().

Here is the call graph for this function:

◆ getActiveCalls()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getActiveCalls ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 78 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getActiveCodecList()

LIBJAMI_PUBLIC std::vector< unsigned > libjami::getActiveCodecList ( const std::string &  accountId)

Definition at line 647 of file configurationmanager.cpp.

References jami::Account::getDefaultCodecsId(), jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ getAddrFromInterfaceName()

LIBJAMI_PUBLIC std::string libjami::getAddrFromInterfaceName ( const std::string &  interface)

Definition at line 980 of file configurationmanager.cpp.

◆ getAllIpInterface()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getAllIpInterface ( )

Definition at line 986 of file configurationmanager.cpp.

◆ getAllIpInterfaceByName()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getAllIpInterfaceByName ( )

Definition at line 992 of file configurationmanager.cpp.

◆ getAudioInputDeviceIndex()

LIBJAMI_PUBLIC int32_t libjami::getAudioInputDeviceIndex ( const std::string &  name)

Definition at line 721 of file configurationmanager.cpp.

References jami::Manager::getAudioInputDeviceIndex(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAudioInputDeviceList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getAudioInputDeviceList ( )

Definition at line 685 of file configurationmanager.cpp.

References jami::Manager::getAudioInputDeviceList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAudioManager()

LIBJAMI_PUBLIC std::string libjami::getAudioManager ( )

Definition at line 863 of file configurationmanager.cpp.

References jami::Manager::getAudioManager(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAudioOutputDeviceIndex()

LIBJAMI_PUBLIC int32_t libjami::getAudioOutputDeviceIndex ( const std::string &  name)

Definition at line 727 of file configurationmanager.cpp.

References jami::Manager::getAudioOutputDeviceIndex(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAudioOutputDeviceList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getAudioOutputDeviceList ( )

Definition at line 679 of file configurationmanager.cpp.

References jami::Manager::getAudioOutputDeviceList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getAudioPluginList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getAudioPluginList ( )

Definition at line 667 of file configurationmanager.cpp.

References PCM_DEFAULT, and PCM_DMIX_DSNOOP.

◆ getCallDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getCallDetails ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 380 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCallList() [1/2]

std::vector< std::string > libjami::getCallList ( )

Definition at line 389 of file callmanager.cpp.

References jami::Manager::getCallList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getCallList() [2/2]

LIBJAMI_PUBLIC std::vector< std::string > libjami::getCallList ( const std::string &  accountId)

Definition at line 395 of file callmanager.cpp.

References jami::Manager::getCallList(), jami::Manager::instance(), and JAMI_WARN.

Here is the call graph for this function:

◆ getCallMediaHandlerDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getCallMediaHandlerDetails ( const std::string &  mediaHandlerId)

Definition at line 205 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCallMediaHandlers()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getCallMediaHandlers ( )

Definition at line 156 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCallMediaHandlerStatus()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getCallMediaHandlerStatus ( const std::string &  callId)

Definition at line 217 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCapabilities()

LIBJAMI_PUBLIC VideoCapabilities libjami::getCapabilities ( const std::string &  deviceId)

◆ getCertificateDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getCertificateDetails ( const std::string &  accountId,
const std::string &  certificate 
)

Definition at line 124 of file configurationmanager.cpp.

References jami::tls::TlsValidator::getCertificate(), jami::Manager::instance(), and JAMI_WARN.

Here is the call graph for this function:

◆ getCertificateDetailsPath()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getCertificateDetailsPath ( const std::string &  accountId,
const std::string &  certificate,
const std::string &  privateKey,
const std::string &  privateKeyPassword 
)

Definition at line 137 of file configurationmanager.cpp.

References jami::tls::TlsValidator::getSerializedDetails(), jami::Manager::instance(), JAMI_WARN, and jami::fileutils::loadFile().

Here is the call graph for this function:

◆ getCertificatesByStatus()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getCertificatesByStatus ( const std::string &  accountId,
const std::string &  ststr 
)

Definition at line 222 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getChannelList()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getChannelList ( const std::string &  accountId,
const std::string &  connectionId 
)

Definition at line 527 of file configurationmanager.cpp.

References jami::Manager::getChannelList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getChatHandlerDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getChatHandlerDetails ( const std::string &  chatHandlerId)

Definition at line 229 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getChatHandlers()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getChatHandlers ( )

Definition at line 168 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getChatHandlerStatus()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getChatHandlerStatus ( const std::string &  accountId,
const std::string &  peerId 
)

Definition at line 241 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCodecDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getCodecDetails ( const std::string &  accountId,
const unsigned &  codecId 
)

◆ getCodecList()

LIBJAMI_PUBLIC std::vector< unsigned > libjami::getCodecList ( )

Send the list of all codecs loaded to the client through DBus.

Can stay global, as only the active codecs will be set per accounts

Definition at line 549 of file configurationmanager.cpp.

References CODECS_NOT_LOADED, jami::emitSignal(), jami::getSystemCodecContainer, and jami::MEDIA_ALL.

Here is the call graph for this function:

◆ getConferenceDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getConferenceDetails ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 280 of file callmanager.cpp.

References jami::FALSE_STR, jami::Manager::instance(), and jami::TRUE_STR.

Here is the call graph for this function:

◆ getConferenceId()

LIBJAMI_PUBLIC std::string libjami::getConferenceId ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 327 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConferenceInfos()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getConferenceInfos ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 406 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConferenceList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getConferenceList ( const std::string &  accountId)

Definition at line 308 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConnectionList()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getConnectionList ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 521 of file configurationmanager.cpp.

References jami::Manager::getConnectionList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getContactDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getContactDetails ( const std::string &  accountId,
const std::string &  uri 
)

Definition at line 448 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getContacts()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getContacts ( const std::string &  accountId)

Definition at line 456 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConversationMembers()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getConversationMembers ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 167 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConversationPreferences()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getConversationPreferences ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 125 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConversationRequests()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getConversationRequests ( const std::string &  accountId)

Definition at line 87 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getConversations()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getConversations ( const std::string &  accountId)

Definition at line 69 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCredentials()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getCredentials ( const std::string &  accountId)

Definition at line 998 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getCurrentAudioDevicesIndex()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getCurrentAudioDevicesIndex ( )

Definition at line 715 of file configurationmanager.cpp.

References jami::Manager::getCurrentAudioDevicesIndex(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getCurrentAudioOutputPlugin()

LIBJAMI_PUBLIC std::string libjami::getCurrentAudioOutputPlugin ( )

Definition at line 733 of file configurationmanager.cpp.

References jami::Manager::getCurrentAudioOutputPlugin(), jami::Manager::instance(), and JAMI_DBG.

Here is the call graph for this function:

◆ getDecodingAccelerated()

LIBJAMI_PUBLIC bool libjami::getDecodingAccelerated ( )

Definition at line 633 of file videomanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getDefaultDevice()

LIBJAMI_PUBLIC std::string libjami::getDefaultDevice ( )

◆ getDefaultModerators()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getDefaultModerators ( const std::string &  accountId)

Get default moderators for an account.

Definition at line 1176 of file configurationmanager.cpp.

References jami::Manager::getDefaultModerators(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getDeviceList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getDeviceList ( )

◆ getDeviceParams()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getDeviceParams ( const std::string &  deviceId)

◆ getEncodingAccelerated()

LIBJAMI_PUBLIC bool libjami::getEncodingAccelerated ( )

Definition at line 653 of file videomanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getHistoryLimit()

LIBJAMI_PUBLIC int32_t libjami::getHistoryLimit ( )

Definition at line 827 of file configurationmanager.cpp.

References jami::Manager::getHistoryLimit(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getInstalledPlugins()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getInstalledPlugins ( )

Definition at line 109 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getIsAlwaysRecording()

LIBJAMI_PUBLIC bool libjami::getIsAlwaysRecording ( )

Definition at line 777 of file configurationmanager.cpp.

References jami::Manager::getIsAlwaysRecording(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getIsRecording()

LIBJAMI_PUBLIC bool libjami::getIsRecording ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 367 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getKnownRingDevices()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getKnownRingDevices ( const std::string &  accountId)

Definition at line 414 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getLastMessages()

LIBJAMI_PUBLIC std::vector< Message > libjami::getLastMessages ( const std::string &  accountId,
const uint64_t &  base_timestamp 
)

Definition at line 287 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getLoadedPlugins()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getLoadedPlugins ( )

Definition at line 118 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getMessageStatus() [1/2]

LIBJAMI_PUBLIC int libjami::getMessageStatus ( const std::string &  accountId,
uint64_t  messageId 
)

Definition at line 319 of file configurationmanager.cpp.

References jami::Manager::getMessageStatus(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getMessageStatus() [2/2]

LIBJAMI_PUBLIC int libjami::getMessageStatus ( uint64_t  messageId)

Definition at line 313 of file configurationmanager.cpp.

References jami::Manager::getMessageStatus(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getNearbyPeers()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getNearbyPeers ( const std::string &  accountId)

Definition at line 295 of file configurationmanager.cpp.

References jami::Manager::getNearbyPeers(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getNoiseSuppressState()

LIBJAMI_PUBLIC std::string libjami::getNoiseSuppressState ( )

Definition at line 741 of file configurationmanager.cpp.

References jami::Manager::getNoiseSuppressState(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getParticipantList()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getParticipantList ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 316 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPasswordKey()

LIBJAMI_PUBLIC std::vector< uint8_t > libjami::getPasswordKey ( const std::string &  accountID,
const std::string &  password 
)

Definition at line 263 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPinnedCertificates()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getPinnedCertificates ( const std::string &  accountId)

Definition at line 157 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPlatformInfo()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getPlatformInfo ( )

Definition at line 148 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPlayerDuration()

LIBJAMI_PUBLIC int64_t libjami::getPlayerDuration ( const std::string &  id)

Definition at line 621 of file videomanager.cpp.

References jami::getPlayerDuration().

Here is the call graph for this function:

◆ getPlayerPosition()

LIBJAMI_PUBLIC int64_t libjami::getPlayerPosition ( const std::string &  id)

Definition at line 615 of file videomanager.cpp.

References jami::getPlayerPosition().

Here is the call graph for this function:

◆ getPluginDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getPluginDetails ( const std::string &  path)

Definition at line 57 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPluginPreferences()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getPluginPreferences ( const std::string &  path,
const std::string &  accountId 
)

Definition at line 66 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPluginPreferencesValues()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getPluginPreferencesValues ( const std::string &  path,
const std::string &  accountId 
)

Definition at line 90 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getPluginsEnabled()

LIBJAMI_PUBLIC bool libjami::getPluginsEnabled ( )

Definition at line 253 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Referenced by jami::JamiPluginManager::installPlugin().

Here is the call graph for this function:

◆ getRecordPath()

LIBJAMI_PUBLIC std::string libjami::getRecordPath ( )

Definition at line 765 of file configurationmanager.cpp.

References jami::Manager::audioPreference, jami::AudioPreference::getRecordPath(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getRecordPreview()

LIBJAMI_PUBLIC bool libjami::getRecordPreview ( )

Definition at line 789 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getRecordQuality()

LIBJAMI_PUBLIC int libjami::getRecordQuality ( )

Definition at line 808 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getRenderer()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getRenderer ( const std::string &  callId)

◆ getRingingTimeout()

LIBJAMI_PUBLIC int32_t libjami::getRingingTimeout ( )

Definition at line 839 of file configurationmanager.cpp.

References jami::Manager::getRingingTimeout(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getSettings()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getSettings ( const std::string &  deviceId)

◆ getSubscriptions()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getSubscriptions ( const std::string &  accountId)

Get all active subscriptions for "accountId".

Definition at line 119 of file presencemanager.cpp.

References libjami::Presence::BUDDY_KEY, jami::Manager::instance(), JAMI_ERROR, libjami::Presence::LINESTATUS_KEY, libjami::Presence::OFFLINE_KEY, libjami::Presence::ONLINE_KEY, and libjami::Presence::STATUS_KEY.

Here is the call graph for this function:

◆ getSupportedAudioManagers()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getSupportedAudioManagers ( )

Definition at line 851 of file configurationmanager.cpp.

References jami::AudioPreference::getSupportedAudioManagers().

Here is the call graph for this function:

◆ getSupportedCiphers()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getSupportedCiphers ( const std::string &  accountId)

Definition at line 565 of file configurationmanager.cpp.

References jami::SIPAccount::getSupportedTlsCiphers(), jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ getSupportedTlsMethod()

LIBJAMI_PUBLIC std::vector< std::string > libjami::getSupportedTlsMethod ( )

Definition at line 559 of file configurationmanager.cpp.

References jami::SIPAccount::getSupportedTlsProtocols().

Here is the call graph for this function:

◆ getTrustRequests()

LIBJAMI_PUBLIC std::vector< std::map< std::string, std::string > > libjami::getTrustRequests ( const std::string &  accountId)

Definition at line 465 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ getVolatileAccountDetails()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::getVolatileAccountDetails ( const std::string &  accountId)

Definition at line 87 of file configurationmanager.cpp.

References jami::Manager::getVolatileAccountDetails(), and jami::Manager::instance().

Here is the call graph for this function:

◆ getVolume()

LIBJAMI_PUBLIC double libjami::getVolume ( const std::string &  device)

Definition at line 886 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ hangUp()

LIBJAMI_PUBLIC bool libjami::hangUp ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 118 of file callmanager.cpp.

References jami::Manager::hangupCall(), and jami::Manager::instance().

Here is the call graph for this function:

◆ hangUpConference()

LIBJAMI_PUBLIC bool libjami::hangUpConference ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 124 of file callmanager.cpp.

References jami::Manager::hangupConference(), and jami::Manager::instance().

Here is the call graph for this function:

◆ hangupParticipant()

LIBJAMI_PUBLIC void libjami::hangupParticipant ( const std::string &  accountId,
const std::string &  confId,
const std::string &  accountUri,
const std::string &  deviceId 
)

Definition at line 583 of file callmanager.cpp.

References jami::Manager::instance(), and jami::TRUE_STR.

Referenced by jami::Conference::hangupParticipant().

Here is the call graph for this function:

◆ hold()

LIBJAMI_PUBLIC bool libjami::hold ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 130 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::onHoldCall().

Here is the call graph for this function:

◆ holdConference()

LIBJAMI_PUBLIC bool libjami::holdConference ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 268 of file callmanager.cpp.

References jami::Manager::holdConference(), and jami::Manager::instance().

Here is the call graph for this function:

◆ init()

bool libjami::init ( enum InitFlag  flags)
noexcept

Initialize globals, create underlaying daemon.

Parameters
flagsFlags to customize this initialization
Returns
true if initialization succeed else false.

Definition at line 44 of file ring_api.cpp.

References jami::getSignalHandlers(), initFlags, jami::Manager::instance(), LIBJAMI_FLAG_AUTOANSWER, LIBJAMI_FLAG_CONSOLE_LOG, LIBJAMI_FLAG_DEBUG, LIBJAMI_FLAG_IOS_EXTENSION, LIBJAMI_FLAG_NO_AUTOSYNC, and LIBJAMI_FLAG_SYSLOG.

Here is the call graph for this function:

◆ initialized()

bool libjami::initialized ( )
noexcept

Definition at line 92 of file ring_api.cpp.

References jami::Manager::initialized.

◆ installPlugin()

LIBJAMI_PUBLIC int libjami::installPlugin ( const std::string &  jplPath,
bool  force 
)

Definition at line 127 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ isAgcEnabled()

LIBJAMI_PUBLIC bool libjami::isAgcEnabled ( )

Definition at line 753 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::isAGCEnabled().

Here is the call graph for this function:

◆ isAllModerators()

LIBJAMI_PUBLIC bool libjami::isAllModerators ( const std::string &  accountId)

Get all moderators state.

Definition at line 1200 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::isAllModerators().

Here is the call graph for this function:

◆ isAudioMeterActive()

LIBJAMI_PUBLIC bool libjami::isAudioMeterActive ( const std::string &  id)

Returns whether or not the audio meter is enabled for ring buffer @id.

NOTE If @id is empty, returns true if at least 1 audio meter is enabled.

Definition at line 1158 of file configurationmanager.cpp.

References jami::Manager::getRingBufferPool(), jami::Manager::instance(), and jami::RingBufferPool::isAudioMeterActive().

Here is the call graph for this function:

◆ isCaptureMuted()

LIBJAMI_PUBLIC bool libjami::isCaptureMuted ( )

Definition at line 914 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ isConferenceParticipant()

LIBJAMI_PUBLIC bool libjami::isConferenceParticipant ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 211 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ isDtmfMuted()

LIBJAMI_PUBLIC bool libjami::isDtmfMuted ( )

Definition at line 902 of file configurationmanager.cpp.

References jami::VoipPreference::getPlayDtmf(), jami::Manager::instance(), and jami::Manager::voipPreferences.

Here is the call graph for this function:

◆ isLocalModeratorsEnabled()

LIBJAMI_PUBLIC bool libjami::isLocalModeratorsEnabled ( const std::string &  accountId)

Get local moderators state.

Definition at line 1188 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::isLocalModeratorsEnabled().

Here is the call graph for this function:

◆ isPasswordValid()

LIBJAMI_PUBLIC bool libjami::isPasswordValid ( const std::string &  accountId,
const std::string &  password 
)

Definition at line 255 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ isPlaybackMuted()

LIBJAMI_PUBLIC bool libjami::isPlaybackMuted ( )

Definition at line 934 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ isRingtoneMuted()

LIBJAMI_PUBLIC bool libjami::isRingtoneMuted ( )

Definition at line 954 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ joinConference()

LIBJAMI_PUBLIC bool libjami::joinConference ( const std::string &  accountId,
const std::string &  sel_confId,
const std::string &  account2Id,
const std::string &  drag_confId 
)

Definition at line 259 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::joinConference().

Here is the call graph for this function:

◆ joinParticipant()

LIBJAMI_PUBLIC bool libjami::joinParticipant ( const std::string &  accountId,
const std::string &  sel_callId,
const std::string &  account2Id,
const std::string &  drag_callId 
)

Definition at line 181 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::joinParticipant().

Here is the call graph for this function:

◆ loadAccountAndConversation()

LIBJAMI_PUBLIC void libjami::loadAccountAndConversation ( const std::string &  accountId,
bool  loadAll,
const std::string &  convId 
)

Definition at line 243 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::loadAccountAndConversation().

Here is the call graph for this function:

◆ loadConversation()

LIBJAMI_PUBLIC uint32_t libjami::loadConversation ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  fromMessage,
size_t  n 
)

Definition at line 208 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ loadConversationMessages()

LIBJAMI_PUBLIC uint32_t libjami::loadConversationMessages ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  fromMessage,
size_t  n 
)

Definition at line 196 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ loadConversationUntil()

LIBJAMI_PUBLIC uint32_t libjami::loadConversationUntil ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  fromMessage,
const std::string &  toMessage 
)

Definition at line 220 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ loadPlugin()

LIBJAMI_PUBLIC bool libjami::loadPlugin ( const std::string &  path)

Definition at line 31 of file plugin_manager_interface.cpp.

References jami::Manager::instance(), and jami::Manager::saveConfig().

Referenced by jami::JamiPluginManager::installPlugin().

Here is the call graph for this function:

◆ loadSwarmUntil()

LIBJAMI_PUBLIC uint32_t libjami::loadSwarmUntil ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  fromMessage,
const std::string &  toMessage 
)

Definition at line 232 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ logging()

void libjami::logging ( const std::string &  whom,
const std::string &  action 
)
noexcept

Control log handlers.

Parameters
whomLog handler to control

Definition at line 105 of file ring_api.cpp.

References JAMI_ERR.

◆ lookupAddress()

LIBJAMI_PUBLIC bool libjami::lookupAddress ( const std::string &  account,
const std::string &  nameserver,
const std::string &  address 
)

◆ lookupName()

LIBJAMI_PUBLIC bool libjami::lookupName ( const std::string &  account,
const std::string &  nameserver,
const std::string &  name 
)

◆ monitor()

LIBJAMI_PUBLIC void libjami::monitor ( bool  continuous)

Definition at line 515 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::monitor().

Here is the call graph for this function:

◆ muteCapture()

LIBJAMI_PUBLIC void libjami::muteCapture ( bool  mute)

Definition at line 924 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ muteDtmf()

LIBJAMI_PUBLIC void libjami::muteDtmf ( bool  mute)

Definition at line 908 of file configurationmanager.cpp.

References jami::Manager::instance(), jami::VoipPreference::setPlayDtmf(), and jami::Manager::voipPreferences.

Here is the call graph for this function:

◆ muteLocalMedia()

LIBJAMI_PUBLIC bool libjami::muteLocalMedia ( const std::string &  accountId,
const std::string &  callId,
const std::string &  mediaType,
bool  mute 
)

Definition at line 142 of file callmanager.cpp.

References jami::Manager::instance(), JAMI_DBG, and JAMI_WARN.

Here is the call graph for this function:

◆ muteParticipant()

LIBJAMI_PUBLIC void libjami::muteParticipant ( const std::string &  accountId,
const std::string &  confId,
const std::string &  peerId,
const bool &  state 
)

DEPRECATED USE muteStream.

Definition at line 493 of file callmanager.cpp.

References jami::FALSE_STR, jami::Manager::instance(), JAMI_ERROR, and jami::TRUE_STR.

Here is the call graph for this function:

◆ mutePlayback()

LIBJAMI_PUBLIC void libjami::mutePlayback ( bool  mute)

Definition at line 944 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ mutePlayerAudio()

LIBJAMI_PUBLIC bool libjami::mutePlayerAudio ( const std::string &  id,
const bool &  mute 
)

Definition at line 603 of file videomanager.cpp.

References jami::mutePlayerAudio().

Here is the call graph for this function:

◆ muteRingtone()

LIBJAMI_PUBLIC void libjami::muteRingtone ( bool  mute)

Definition at line 964 of file configurationmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ muteStream()

LIBJAMI_PUBLIC void libjami::muteStream ( const std::string &  accountId,
const std::string &  confId,
const std::string &  accountUri,
const std::string &  deviceId,
const std::string &  streamId,
const bool &  state 
)

Definition at line 512 of file callmanager.cpp.

References jami::FALSE_STR, jami::Manager::instance(), and jami::TRUE_STR.

Here is the call graph for this function:

◆ openVideoInput()

LIBJAMI_PUBLIC std::string libjami::openVideoInput ( const std::string &  path)

◆ pausePlayer()

LIBJAMI_PUBLIC bool libjami::pausePlayer ( const std::string &  id,
const bool &  pause 
)

Definition at line 597 of file videomanager.cpp.

References jami::pausePlayer().

Here is the call graph for this function:

◆ pinCertificate()

LIBJAMI_PUBLIC std::vector< std::string > libjami::pinCertificate ( const std::string &  accountId,
const std::vector< uint8_t > &  certificate,
bool  local 
)

Definition at line 165 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ pinCertificatePath()

LIBJAMI_PUBLIC void libjami::pinCertificatePath ( const std::string &  accountId,
const std::string &  path 
)

Definition at line 173 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ pinRemoteCertificate()

LIBJAMI_PUBLIC bool libjami::pinRemoteCertificate ( const std::string &  accountId,
const std::string &  certId 
)

Definition at line 196 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ placeCall()

LIBJAMI_PUBLIC std::string libjami::placeCall ( const std::string &  accountId,
const std::string &  to 
)

Definition at line 44 of file callmanager.cpp.

References JAMI_WARN, and placeCallWithMedia().

Here is the call graph for this function:

◆ placeCallWithMedia() [1/2]

std::string libjami::placeCallWithMedia ( const std::string &  accountId,
const std::string &  to,
const std::vector< libjami::MediaMap > &  mediaList 
)

Definition at line 52 of file callmanager.cpp.

References jami::Manager::instance(), JAMI_DBG, and jami::Manager::outgoingCall().

Referenced by placeCall().

Here is the call graph for this function:

◆ placeCallWithMedia() [2/2]

LIBJAMI_PUBLIC std::string libjami::placeCallWithMedia ( const std::string &  accountId,
const std::string &  to,
const std::vector< std::map< std::string, std::string > > &  mediaList 
)

Definition at line 52 of file callmanager.cpp.

References jami::Manager::instance(), JAMI_DBG, and jami::Manager::outgoingCall().

Referenced by placeCall().

Here is the call graph for this function:

◆ platform()

LIBJAMI_PUBLIC std::string_view libjami::platform ( )
noexcept

Return the target platform (OS) as a string.

Definition at line 51 of file buildinfo.cpp.

References jami::platform().

Here is the call graph for this function:

◆ playDTMF()

LIBJAMI_PUBLIC void libjami::playDTMF ( const std::string &  key)

Definition at line 418 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::playDtmf().

Here is the call graph for this function:

◆ playerSeekToTime()

LIBJAMI_PUBLIC bool libjami::playerSeekToTime ( const std::string &  id,
const int &  time 
)

Definition at line 609 of file videomanager.cpp.

References jami::playerSeekToTime().

Here is the call graph for this function:

◆ provideAccountAuthentication()

LIBJAMI_PUBLIC bool libjami::provideAccountAuthentication ( const std::string &  accountId,
const std::string &  credentialsFromUser,
const std::string &  scheme 
)

Definition at line 377 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ publish()

LIBJAMI_PUBLIC void libjami::publish ( const std::string &  accountId,
bool  status,
const std::string &  note 
)

push a presence for a account Notify for IP2IP account For JamiAccount status is ignored but note is used

Definition at line 76 of file presencemanager.cpp.

References jami::Manager::getAccount(), jami::Manager::instance(), JAMI_DEBUG, JAMI_ERROR, and PRESENCE_FUNCTION_PUBLISH.

Here is the call graph for this function:

◆ pushNotificationReceived()

LIBJAMI_PUBLIC void libjami::pushNotificationReceived ( const std::string &  from,
const std::map< std::string, std::string > &  data 
)

To be called by clients with relevant data when a push notification is received.

Definition at line 1137 of file configurationmanager.cpp.

References jami::Manager::getAllAccounts(), jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ raiseHand()

LIBJAMI_PUBLIC void libjami::raiseHand ( const std::string &  accountId,
const std::string &  confId,
const std::string &  accountUri,
const std::string &  deviceId,
const bool &  state 
)

Definition at line 636 of file callmanager.cpp.

References jami::FALSE_STR, jami::Manager::instance(), and jami::TRUE_STR.

Here is the call graph for this function:

◆ raiseParticipantHand()

LIBJAMI_PUBLIC void libjami::raiseParticipantHand ( const std::string &  accountId,
const std::string &  confId,
const std::string &  peerId,
const bool &  state 
)

DEPRECATED, use raiseHand.

Definition at line 613 of file callmanager.cpp.

References jami::FALSE_STR, jami::Manager::instance(), JAMI_ERR, and jami::TRUE_STR.

Here is the call graph for this function:

◆ recordPlaybackSeek()

LIBJAMI_PUBLIC void libjami::recordPlaybackSeek ( double  value)

Definition at line 361 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::recordingPlaybackSeek().

Here is the call graph for this function:

◆ refuse()

LIBJAMI_PUBLIC bool libjami::refuse ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 81 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::refuseCall().

Here is the call graph for this function:

◆ registerAllAccounts()

LIBJAMI_PUBLIC void libjami::registerAllAccounts ( )

Definition at line 271 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::registerAccounts().

Here is the call graph for this function:

◆ registerCallHandlers()

LIBJAMI_PUBLIC void libjami::registerCallHandlers ( const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &  handlers)

Definition at line 38 of file callmanager.cpp.

References registerSignalHandlers().

Here is the call graph for this function:

◆ registerConfHandlers()

LIBJAMI_PUBLIC void libjami::registerConfHandlers ( const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &  handlers)

Definition at line 75 of file configurationmanager.cpp.

References registerSignalHandlers().

Here is the call graph for this function:

◆ registerDataXferHandlers()

LIBJAMI_PUBLIC void libjami::registerDataXferHandlers ( const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &  handlers)

Definition at line 28 of file datatransfer.cpp.

References registerSignalHandlers().

Here is the call graph for this function:

◆ registerName()

LIBJAMI_PUBLIC bool libjami::registerName ( const std::string &  account,
const std::string &  name,
const std::string &  scheme,
const std::string &  password 
)

Definition at line 1098 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ registerPresHandlers()

LIBJAMI_PUBLIC void libjami::registerPresHandlers ( const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &  handlers)

Definition at line 43 of file presencemanager.cpp.

References registerSignalHandlers().

Here is the call graph for this function:

◆ registerSignalHandlers()

LIBJAMI_PUBLIC void libjami::registerSignalHandlers ( const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &  handlers)

Definition at line 162 of file ring_signal.cpp.

References jami::getSignalHandlers(), and JAMI_ERR.

Referenced by registerCallHandlers(), registerConfHandlers(), registerDataXferHandlers(), and registerPresHandlers().

Here is the call graph for this function:

◆ registerSinkTarget()

LIBJAMI_PUBLIC bool libjami::registerSinkTarget ( const std::string &  sinkId,
SinkTarget  target 
)

Definition at line 538 of file videomanager.cpp.

References jami::Manager::instance(), and JAMI_WARN.

Here is the call graph for this function:

◆ registerVideoHandlers()

LIBJAMI_PUBLIC void libjami::registerVideoHandlers ( const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &  )

◆ reloadConversationsAndRequests()

LIBJAMI_PUBLIC void libjami::reloadConversationsAndRequests ( const std::string &  accountId)

Definition at line 292 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ removeAccount()

LIBJAMI_PUBLIC void libjami::removeAccount ( const std::string &  accountId)

Definition at line 533 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::removeAccount().

Here is the call graph for this function:

◆ removeContact()

LIBJAMI_PUBLIC void libjami::removeContact ( const std::string &  accountId,
const std::string &  uri,
bool  ban 
)

Definition at line 441 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ removeConversation()

LIBJAMI_PUBLIC bool libjami::removeConversation ( const std::string &  accountId,
const std::string &  conversationId 
)

Definition at line 60 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ removeConversationMember()

LIBJAMI_PUBLIC void libjami::removeConversationMember ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  contactUri 
)

Definition at line 151 of file conversation_interface.cpp.

References jami::Manager::instance(), and JAMI_ERROR.

Here is the call graph for this function:

◆ requestMediaChange()

LIBJAMI_PUBLIC bool libjami::requestMediaChange ( const std::string &  accountId,
const std::string &  callId,
const std::vector< libjami::MediaMap > &  mediaList 
)

Definition at line 66 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ resetPluginPreferencesValues()

LIBJAMI_PUBLIC bool libjami::resetPluginPreferencesValues ( const std::string &  path,
const std::string &  accountId 
)

Definition at line 99 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ revokeDevice()

LIBJAMI_PUBLIC bool libjami::revokeDevice ( const std::string &  accountId,
const std::string &  deviceId,
const std::string &  scheme,
const std::string &  password 
)

Definition at line 402 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ searchConversation()

LIBJAMI_PUBLIC uint32_t libjami::searchConversation ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  author,
const std::string &  lastId,
const std::string &  regexSearch,
const std::string &  type,
const int64_t &  after,
const int64_t &  before,
const uint32_t &  maxResult,
const int32_t &  flag 
)

Definition at line 265 of file conversation_interface.cpp.

References jami::Manager::getAccount(), jami::Manager::getAccountList(), and jami::Manager::instance().

Here is the call graph for this function:

◆ searchUser()

LIBJAMI_PUBLIC bool libjami::searchUser ( const std::string &  account,
const std::string &  query 
)

Definition at line 1089 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ sendAccountTextMessage()

LIBJAMI_PUBLIC uint64_t libjami::sendAccountTextMessage ( const std::string &  accountId,
const std::string &  to,
const std::map< std::string, std::string > &  payloads,
int32_t  flags 
)

Definition at line 277 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::sendTextMessage().

Here is the call graph for this function:

◆ sendFile()

LIBJAMI_PUBLIC void libjami::sendFile ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  path,
const std::string &  displayName,
const std::string &  replyTo 
)
noexcept

Asynchronously send a file to a peer using given account connection.

If given account supports a file transfer protocol this function creates an internal data transfer and return its identification. This identity code is used by signals and APIs to follow the transfer progress.

Following the info structure fields usage:

  • accountId [mandatory] existing account ID with file transfer support
  • peer [mandatory] peer address suitable for the given account
  • path [mandatory] pathname of file to transfer
  • mimetype [optional] file type
  • displayName [optional] textual representation given to the peer when the file is proposed

Other fields are not used, but you must keep the default assigned value for compatibility.

Parameters
infoa DataTransferInfo structure filled with information useful for a file transfer.
[out]iddata transfer identifiant if function succeed, usable with other APIs. Undefined value in case of error.
Returns
DataTransferError::success if file is accepted for transfer, any other value in case of errors
Note
If the account is valid but doesn't support file transfer, or if the peer is unjoignable, or at any further events during the transfer, the function returns a valid DataTransferId as the processing is asynchronous. Application will be signaled throught DataTransferEvent signal for such event. There is no reserved or special values on DataTransferId type.

Definition at line 34 of file datatransfer.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ sendMessage()

LIBJAMI_PUBLIC void libjami::sendMessage ( const std::string &  accountId,
const std::string &  conversationId,
const std::string &  message,
const std::string &  commitId,
const int32_t &  flag 
)

Definition at line 177 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ sendRegister()

LIBJAMI_PUBLIC void libjami::sendRegister ( const std::string &  accountId,
bool  enable 
)

Definition at line 249 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::sendRegister().

Here is the call graph for this function:

◆ sendTextMessage()

LIBJAMI_PUBLIC void libjami::sendTextMessage ( const std::string &  accountId,
const std::string &  callId,
const std::map< std::string, std::string > &  messages,
const std::string &  from,
bool  isMixed 
)

Definition at line 464 of file callmanager.cpp.

References jami::Manager::instance(), jami::runOnMainThread(), and jami::Manager::sendCallTextMessage().

Here is the call graph for this function:

◆ sendTrustRequest()

LIBJAMI_PUBLIC void libjami::sendTrustRequest ( const std::string &  accountId,
const std::string &  to,
const std::vector< uint8_t > &  payload 
)

Definition at line 489 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ sendWebViewAttach()

LIBJAMI_PUBLIC std::string libjami::sendWebViewAttach ( const std::string &  pluginId,
const std::string &  accountId,
const std::string &  webViewId,
const std::string &  action 
)

Definition at line 291 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ sendWebViewDetach()

LIBJAMI_PUBLIC void libjami::sendWebViewDetach ( const std::string &  pluginId,
const std::string &  webViewId 
)

Definition at line 305 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ sendWebViewMessage()

LIBJAMI_PUBLIC void libjami::sendWebViewMessage ( const std::string &  pluginId,
const std::string &  webViewId,
const std::string &  messageId,
const std::string &  payload 
)

Definition at line 277 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setAccountActive()

LIBJAMI_PUBLIC void libjami::setAccountActive ( const std::string &  accountId,
bool  enable,
bool  shutdownConnections 
)

Definition at line 237 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAccountActive().

Here is the call graph for this function:

◆ setAccountDetails()

LIBJAMI_PUBLIC void libjami::setAccountDetails ( const std::string &  accountId,
const std::map< std::string, std::string > &  details 
)

Definition at line 231 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAccountDetails().

Here is the call graph for this function:

◆ setAccountsOrder()

LIBJAMI_PUBLIC void libjami::setAccountsOrder ( const std::string &  order)

Definition at line 974 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAccountsOrder().

Here is the call graph for this function:

◆ setActiveCodecList()

LIBJAMI_PUBLIC void libjami::setActiveCodecList ( const std::string &  accountId,
const std::vector< unsigned > &  list 
)

Definition at line 656 of file configurationmanager.cpp.

References jami::Manager::instance(), JAMI_ERR, and jami::Manager::saveConfig().

Here is the call graph for this function:

◆ setActiveParticipant()

LIBJAMI_PUBLIC void libjami::setActiveParticipant ( const std::string &  accountId,
const std::string &  confId,
const std::string &  participant 
)

DEPRECATED, USE setActiveStream.

Definition at line 549 of file callmanager.cpp.

References jami::Manager::instance(), and JAMI_ERR.

Here is the call graph for this function:

◆ setActiveStream()

LIBJAMI_PUBLIC void libjami::setActiveStream ( const std::string &  accountId,
const std::string &  confId,
const std::string &  accountUri,
const std::string &  deviceId,
const std::string &  streamId,
const bool &  state 
)

Definition at line 566 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setAgcState()

LIBJAMI_PUBLIC void libjami::setAgcState ( bool  enabled)

Definition at line 759 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAGCState().

Here is the call graph for this function:

◆ setAllModerators()

LIBJAMI_PUBLIC void libjami::setAllModerators ( const std::string &  accountId,
bool  allModerators 
)

Enable/disable all moderators for conferences.

Definition at line 1194 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAllModerators().

Here is the call graph for this function:

◆ setAudioInputDevice()

LIBJAMI_PUBLIC void libjami::setAudioInputDevice ( int32_t  index)

Definition at line 697 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAudioDevice().

Here is the call graph for this function:

◆ setAudioManager()

LIBJAMI_PUBLIC bool libjami::setAudioManager ( const std::string &  api)

Definition at line 857 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAudioManager().

Here is the call graph for this function:

◆ setAudioMeterState()

LIBJAMI_PUBLIC void libjami::setAudioMeterState ( const std::string &  id,
bool  state 
)

Enables/disables an audio meter for the specified @id.

NOTE If @id is empty, applies to all ring buffers.

Definition at line 1164 of file configurationmanager.cpp.

References jami::Manager::getRingBufferPool(), jami::Manager::instance(), and jami::RingBufferPool::setAudioMeterState().

Here is the call graph for this function:

◆ setAudioOutputDevice()

LIBJAMI_PUBLIC void libjami::setAudioOutputDevice ( int32_t  index)

Definition at line 691 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAudioDevice().

Here is the call graph for this function:

◆ setAudioPlugin()

LIBJAMI_PUBLIC void libjami::setAudioPlugin ( const std::string &  audioPlugin)

Definition at line 673 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAudioPlugin().

Here is the call graph for this function:

◆ setAudioRingtoneDevice()

LIBJAMI_PUBLIC void libjami::setAudioRingtoneDevice ( int32_t  index)

Definition at line 709 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setAudioDevice().

Here is the call graph for this function:

◆ setAutoRestart()

LIBJAMI_PUBLIC void libjami::setAutoRestart ( const std::string &  id,
const bool &  restart 
)

Definition at line 627 of file videomanager.cpp.

References jami::setAutoRestart().

Here is the call graph for this function:

◆ setCertificateStatus()

LIBJAMI_PUBLIC bool libjami::setCertificateStatus ( const std::string &  accountId,
const std::string &  certId,
const std::string &  ststr 
)

Definition at line 207 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setCodecDetails()

LIBJAMI_PUBLIC bool libjami::setCodecDetails ( const std::string &  accountId,
const unsigned &  codecId,
const std::map< std::string, std::string > &  details 
)

◆ setConferenceLayout()

LIBJAMI_PUBLIC void libjami::setConferenceLayout ( const std::string &  accountId,
const std::string &  confId,
uint32_t  layout 
)

Definition at line 197 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setConversationPreferences()

LIBJAMI_PUBLIC void libjami::setConversationPreferences ( const std::string &  accountId,
const std::string &  conversationId,
const std::map< std::string, std::string > &  prefs 
)

Definition at line 115 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setCredentials()

LIBJAMI_PUBLIC void libjami::setCredentials ( const std::string &  accountId,
const std::vector< std::map< std::string, std::string > > &  details 
)

Definition at line 1006 of file configurationmanager.cpp.

References jami::Manager::instance(), jami::Manager::saveConfig(), and jami::SipAccountConfig::setCredentials().

Here is the call graph for this function:

◆ setDecodingAccelerated()

LIBJAMI_PUBLIC void libjami::setDecodingAccelerated ( bool  state)

Definition at line 643 of file videomanager.cpp.

References jami::Manager::instance(), JAMI_DBG, and jami::Manager::saveConfig().

Here is the call graph for this function:

◆ setDefaultDevice()

LIBJAMI_PUBLIC void libjami::setDefaultDevice ( const std::string &  deviceId)

◆ setDefaultModerator()

LIBJAMI_PUBLIC void libjami::setDefaultModerator ( const std::string &  accountId,
const std::string &  peerURI,
bool  state 
)

Add/remove default moderator for conferences.

Definition at line 1170 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setDefaultModerator().

Here is the call graph for this function:

◆ setDeviceOrientation()

LIBJAMI_PUBLIC void libjami::setDeviceOrientation ( const std::string &  deviceId,
int  angle 
)

◆ setEncodingAccelerated()

LIBJAMI_PUBLIC void libjami::setEncodingAccelerated ( bool  state)

Definition at line 663 of file videomanager.cpp.

References jami::Manager::getAllAccounts(), jami::Manager::instance(), JAMI_DBG, and jami::Manager::saveConfig().

Here is the call graph for this function:

◆ setHistoryLimit()

LIBJAMI_PUBLIC void libjami::setHistoryLimit ( int32_t  days)

Definition at line 833 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setHistoryLimit().

Here is the call graph for this function:

◆ setIsAlwaysRecording()

LIBJAMI_PUBLIC void libjami::setIsAlwaysRecording ( bool  rec)

Definition at line 783 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setIsAlwaysRecording().

Here is the call graph for this function:

◆ setIsComposing()

LIBJAMI_PUBLIC void libjami::setIsComposing ( const std::string &  accountId,
const std::string &  conversationUri,
bool  isWriting 
)

Definition at line 331 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setMessageDisplayed()

LIBJAMI_PUBLIC bool libjami::setMessageDisplayed ( const std::string &  accountId,
const std::string &  conversationUri,
const std::string &  messageId,
int  status 
)

Definition at line 338 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setModerator()

LIBJAMI_PUBLIC void libjami::setModerator ( const std::string &  accountId,
const std::string &  confId,
const std::string &  peerId,
const bool &  state 
)

Definition at line 476 of file callmanager.cpp.

References jami::Manager::instance(), and JAMI_WARN.

Here is the call graph for this function:

◆ setNoiseSuppressState()

LIBJAMI_PUBLIC void libjami::setNoiseSuppressState ( const std::string &  state)

Definition at line 747 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setNoiseSuppressState().

Here is the call graph for this function:

◆ setPluginPreference()

LIBJAMI_PUBLIC bool libjami::setPluginPreference ( const std::string &  path,
const std::string &  accountId,
const std::string &  key,
const std::string &  value 
)

Definition at line 75 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ setPluginsEnabled()

LIBJAMI_PUBLIC void libjami::setPluginsEnabled ( bool  state)

Definition at line 262 of file plugin_manager_interface.cpp.

References jami::Manager::instance(), and jami::Manager::saveConfig().

Referenced by jami::JamiPluginManager::installPlugin().

Here is the call graph for this function:

◆ setPushNotificationConfig()

LIBJAMI_PUBLIC void libjami::setPushNotificationConfig ( const std::map< std::string, std::string > &  data)

Definition at line 1129 of file configurationmanager.cpp.

References jami::Manager::getAllAccounts(), and jami::Manager::instance().

Here is the call graph for this function:

◆ setPushNotificationToken()

LIBJAMI_PUBLIC void libjami::setPushNotificationToken ( const std::string &  pushDeviceToken)

Set the device push notification token (for all accounts).

If set, proxy clients will use push notifications. Set to empty to disable push notifications.

Definition at line 1113 of file configurationmanager.cpp.

References jami::Manager::getAllAccounts(), and jami::Manager::instance().

Here is the call graph for this function:

◆ setPushNotificationTopic()

LIBJAMI_PUBLIC void libjami::setPushNotificationTopic ( const std::string &  topic)

Set the topic for ios bundle_id for ios 14.5 and higher bundle_id.voip for ios prior 14.5.

Definition at line 1121 of file configurationmanager.cpp.

References jami::Manager::getAllAccounts(), and jami::Manager::instance().

Here is the call graph for this function:

◆ setRecording()

LIBJAMI_PUBLIC void libjami::setRecording ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 355 of file callmanager.cpp.

References toggleRecording().

Here is the call graph for this function:

◆ setRecordPath()

LIBJAMI_PUBLIC void libjami::setRecordPath ( const std::string &  recPath)

Definition at line 771 of file configurationmanager.cpp.

References jami::Manager::audioPreference, jami::Manager::instance(), and jami::AudioPreference::setRecordPath().

Here is the call graph for this function:

◆ setRecordPreview()

LIBJAMI_PUBLIC void libjami::setRecordPreview ( bool  rec)

Definition at line 799 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::saveConfig().

Here is the call graph for this function:

◆ setRecordQuality() [1/2]

LIBJAMI_PUBLIC void libjami::setRecordQuality ( int  quality)

◆ setRecordQuality() [2/2]

void libjami::setRecordQuality ( int32_t  quality)

Definition at line 818 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::saveConfig().

Here is the call graph for this function:

◆ setResourceDirPath()

LIBJAMI_PUBLIC void libjami::setResourceDirPath ( const std::string &  resourceDir)

Set the resource directory path.

Definition at line 1206 of file configurationmanager.cpp.

References jami::fileutils::set_resource_dir_path().

Here is the call graph for this function:

◆ setRingingTimeout()

LIBJAMI_PUBLIC void libjami::setRingingTimeout ( int32_t  timeout)

Definition at line 845 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::setRingingTimeout().

Here is the call graph for this function:

◆ setSubscriptions()

LIBJAMI_PUBLIC void libjami::setSubscriptions ( const std::string &  accountId,
const std::vector< std::string > &  uris 
)

Batch subscribing of URIs.

Definition at line 155 of file presencemanager.cpp.

References jami::Manager::instance(), and JAMI_ERROR.

Here is the call graph for this function:

◆ setVolume()

LIBJAMI_PUBLIC void libjami::setVolume ( const std::string &  device,
double  value 
)

Definition at line 869 of file configurationmanager.cpp.

References jami::emitSignal(), jami::Manager::instance(), JAMI_DBG, and JAMI_ERR.

Here is the call graph for this function:

◆ start()

bool libjami::start ( const std::filesystem::path &  config_file = {})
noexcept

Start asynchronously daemon created by init().

Returns
true if daemon started successfully

Definition at line 81 of file ring_api.cpp.

References jami::Manager::init(), initFlags, and jami::Manager::instance().

Referenced by startTone().

Here is the call graph for this function:

◆ startAudio()

LIBJAMI_PUBLIC void libjami::startAudio ( )

Definition at line 703 of file configurationmanager.cpp.

References jami::Manager::instance(), and jami::Manager::startAudio().

Here is the call graph for this function:

◆ startAudioDevice()

LIBJAMI_PUBLIC void libjami::startAudioDevice ( )

Definition at line 482 of file videomanager.cpp.

References jami::RingBufferPool::DEFAULT_ID, jami::getAudioInput(), and jami::Manager::instance().

Here is the call graph for this function:

◆ startConversation()

LIBJAMI_PUBLIC std::string libjami::startConversation ( const std::string &  accountId)

Definition at line 36 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ startLocalMediaRecorder()

LIBJAMI_PUBLIC std::string libjami::startLocalMediaRecorder ( const std::string &  videoInputId,
const std::string &  filepath 
)

Definition at line 499 of file videomanager.cpp.

References jami::LocalRecorderManager::instance().

Here is the call graph for this function:

◆ startRecordedFilePlayback()

LIBJAMI_PUBLIC bool libjami::startRecordedFilePlayback ( const std::string &  filepath)

Definition at line 337 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::startRecordedFilePlayback().

Here is the call graph for this function:

◆ startSmartInfo()

LIBJAMI_PUBLIC void libjami::startSmartInfo ( uint32_t  refreshTimeMs)

Definition at line 220 of file callmanager.cpp.

References JAMI_WARNING.

◆ startTone()

LIBJAMI_PUBLIC void libjami::startTone ( int32_t  start,
int32_t  type 
)

Definition at line 428 of file callmanager.cpp.

References jami::Manager::instance(), jami::Manager::playTone(), jami::Manager::playToneWithMessage(), start(), and jami::Manager::stopTone().

Here is the call graph for this function:

◆ stopAudioDevice()

LIBJAMI_PUBLIC void libjami::stopAudioDevice ( )

Definition at line 492 of file videomanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ stopLocalRecorder()

LIBJAMI_PUBLIC void libjami::stopLocalRecorder ( const std::string &  filepath)

◆ stopRecordedFilePlayback()

LIBJAMI_PUBLIC void libjami::stopRecordedFilePlayback ( )

Definition at line 343 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::stopRecordedFilePlayback().

Here is the call graph for this function:

◆ stopSmartInfo()

LIBJAMI_PUBLIC void libjami::stopSmartInfo ( )

Definition at line 226 of file callmanager.cpp.

References JAMI_WARNING.

◆ subscribeBuddy()

LIBJAMI_PUBLIC void libjami::subscribeBuddy ( const std::string &  accountId,
const std::string &  uri,
bool  flag 
)

Un/subscribe to buddySipUri for an accountId.

Definition at line 52 of file presencemanager.cpp.

References jami::Manager::getAccount(), jami::Manager::instance(), JAMI_DEBUG, JAMI_ERROR, and PRESENCE_FUNCTION_SUBSCRIBE.

Here is the call graph for this function:

◆ switchInput()

LIBJAMI_PUBLIC bool libjami::switchInput ( const std::string &  accountId,
const std::string &  callId,
const std::string &  resource 
)

Definition at line 440 of file callmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ switchSecondaryInput()

LIBJAMI_PUBLIC bool libjami::switchSecondaryInput ( const std::string &  accountId,
const std::string &  confId,
const std::string &  resource 
)

Definition at line 455 of file callmanager.cpp.

References JAMI_ERR.

◆ toggleCallMediaHandler()

LIBJAMI_PUBLIC void libjami::toggleCallMediaHandler ( const std::string &  mediaHandlerId,
const std::string &  callId,
bool  toggle 
)

Definition at line 180 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ toggleChatHandler()

LIBJAMI_PUBLIC void libjami::toggleChatHandler ( const std::string &  chatHandlerId,
const std::string &  accountId,
const std::string &  peerId,
bool  toggle 
)

Definition at line 191 of file plugin_manager_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ toggleRecording()

LIBJAMI_PUBLIC bool libjami::toggleRecording ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 349 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::toggleRecordingCall().

Referenced by setRecording().

Here is the call graph for this function:

◆ transfer()

LIBJAMI_PUBLIC bool libjami::transfer ( const std::string &  accountId,
const std::string &  callId,
const std::string &  to 
)

Definition at line 164 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::transferCall().

Here is the call graph for this function:

◆ unhold()

LIBJAMI_PUBLIC bool libjami::unhold ( const std::string &  accountId,
const std::string &  callId 
)

Definition at line 136 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::offHoldCall().

Here is the call graph for this function:

◆ unholdConference()

LIBJAMI_PUBLIC bool libjami::unholdConference ( const std::string &  accountId,
const std::string &  confId 
)

Definition at line 274 of file callmanager.cpp.

References jami::Manager::instance(), and jami::Manager::unHoldConference().

Here is the call graph for this function:

◆ uninstallPlugin()

LIBJAMI_PUBLIC int libjami::uninstallPlugin ( const std::string &  pluginRootPath)

Definition at line 136 of file plugin_manager_interface.cpp.

References jami::Manager::instance(), and jami::Manager::saveConfig().

Here is the call graph for this function:

◆ unloadPlugin()

LIBJAMI_PUBLIC bool libjami::unloadPlugin ( const std::string &  path)

Definition at line 44 of file plugin_manager_interface.cpp.

References jami::Manager::instance(), and jami::Manager::saveConfig().

Referenced by jami::JamiPluginManager::uninstallPlugin().

Here is the call graph for this function:

◆ unpinCertificate()

LIBJAMI_PUBLIC bool libjami::unpinCertificate ( const std::string &  accountId,
const std::string &  certId 
)

Definition at line 180 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ unpinCertificatePath()

LIBJAMI_PUBLIC unsigned libjami::unpinCertificatePath ( const std::string &  accountId,
const std::string &  path 
)

Definition at line 188 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ unregisterSignalHandlers()

LIBJAMI_PUBLIC void libjami::unregisterSignalHandlers ( )

Definition at line 176 of file ring_signal.cpp.

References jami::getSignalHandlers().

Here is the call graph for this function:

◆ updateConversationInfos()

LIBJAMI_PUBLIC void libjami::updateConversationInfos ( const std::string &  accountId,
const std::string &  conversationId,
const std::map< std::string, std::string > &  infos 
)

Definition at line 96 of file conversation_interface.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ updateProfile()

LIBJAMI_PUBLIC void libjami::updateProfile ( const std::string &  accountId,
const std::string &  displayName,
const std::string &  avatar,
const std::string &  fileType,
int32_t  flag 
)

Definition at line 301 of file configurationmanager.cpp.

References jami::Manager::instance().

Here is the call graph for this function:

◆ validateCertificate()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::validateCertificate ( const std::string &  accountId,
const std::string &  certificate 
)

◆ validateCertificatePath()

LIBJAMI_PUBLIC std::map< std::string, std::string > libjami::validateCertificatePath ( const std::string &  accountId,
const std::string &  certificate,
const std::string &  privateKey,
const std::string &  privateKeyPass,
const std::string &  caList 
)

◆ version()

LIBJAMI_PUBLIC const char * libjami::version ( )
noexcept

Return the library version as string.

Definition at line 43 of file buildinfo.cpp.

References JAMI_DIRTY_REPO, JAMI_REVISION, and PACKAGE_VERSION.

Referenced by jami::Account::getDefaultUserAgent().

Variable Documentation

◆ closed_by_host

enum LIBJAMI_PUBLIC libjami::closed_by_host

Definition at line 46 of file datatransfer_interface.h.

◆ closed_by_peer

enum LIBJAMI_PUBLIC libjami::closed_by_peer

Definition at line 47 of file datatransfer_interface.h.

◆ CODECS_NOT_LOADED

constexpr unsigned libjami::CODECS_NOT_LOADED = 0x1000
constexpr

Definition at line 67 of file configurationmanager.cpp.

Referenced by getCodecDetails(), and getCodecList().

◆ created

enum LIBJAMI_PUBLIC libjami::created

Definition at line 40 of file datatransfer_interface.h.

◆ DataTransferError

enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC libjami::DataTransferError
strong

Definition at line 53 of file datatransfer_interface.h.

◆ DataTransferEventCode

enum LIBJAMI_PUBLIC libjami::DataTransferEventCode
strong

Definition at line 38 of file datatransfer_interface.h.

◆ finished

enum LIBJAMI_PUBLIC libjami::finished

Definition at line 45 of file datatransfer_interface.h.

◆ initFlags

InitFlag libjami::initFlags = {}

Definition at line 41 of file ring_api.cpp.

Referenced by init(), and start().

◆ invalid_argument

enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC libjami::invalid_argument

Definition at line 57 of file datatransfer_interface.h.

◆ invalid_pathname

enum LIBJAMI_PUBLIC libjami::invalid_pathname

Definition at line 48 of file datatransfer_interface.h.

◆ io

enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC libjami::io

Definition at line 56 of file datatransfer_interface.h.

Referenced by libjami::CallbackWrapperBase::post().

◆ ongoing

enum LIBJAMI_PUBLIC libjami::ongoing

Definition at line 44 of file datatransfer_interface.h.

◆ timeout_expired

enum LIBJAMI_PUBLIC libjami::timeout_expired

Definition at line 50 of file datatransfer_interface.h.

◆ unjoinable_peer

enum LIBJAMI_PUBLIC libjami::unjoinable_peer

Definition at line 49 of file datatransfer_interface.h.

◆ unknown

enum LIBJAMI_PUBLIC enum LIBJAMI_PUBLIC libjami::unknown

Definition at line 55 of file datatransfer_interface.h.

◆ unsupported

enum LIBJAMI_PUBLIC libjami::unsupported

Definition at line 41 of file datatransfer_interface.h.

◆ wait_host_acceptance

enum LIBJAMI_PUBLIC libjami::wait_host_acceptance

Definition at line 43 of file datatransfer_interface.h.

◆ wait_peer_acceptance

enum LIBJAMI_PUBLIC libjami::wait_peer_acceptance

Definition at line 42 of file datatransfer_interface.h.