Skip to content
Snippets Groups Projects
Commit cce146f5 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#6109: Store recorded file path on client side

parent f7d40f5b
Branches
Tags
No related merge requests found
...@@ -489,8 +489,23 @@ conference_removed_cb (DBusGProxy *proxy UNUSED, const gchar* confID, void * foo ...@@ -489,8 +489,23 @@ conference_removed_cb (DBusGProxy *proxy UNUSED, const gchar* confID, void * foo
static void static void
record_playback_filepath_cb (DBusGProxy *proxy UNUSED, const gchar *id, const gchar *filepath) record_playback_filepath_cb (DBusGProxy *proxy UNUSED, const gchar *id, const gchar *filepath)
{ {
callable_obj_t *call = NULL;
conference_obj_t *conf = NULL;
DEBUG("DBUS: Filepath for call %s: %s", id, filepath); DEBUG("DBUS: Filepath for call %s: %s", id, filepath);
call = calllist_get_call(current_calls, id);
conf = conferencelist_get(current_calls, id);
if(call) {
if(call->_recordfile == NULL)
call->_recordfile = g_strdup(filepath);
}
else if(conf) {
if(conf->_recordfile == NULL)
conf->_recordfile = g_strdup(filepath);
}
} }
......
...@@ -58,12 +58,9 @@ std::string Recordable::getFileName() ...@@ -58,12 +58,9 @@ std::string Recordable::getFileName()
return recAudio.getFileName(); return recAudio.getFileName();
} }
void Recordable::setRecordingSmplRate (int smplRate) void Recordable::setRecordingSmplRate (int smplRate)
{ {
recAudio.setSndSamplingRate (smplRate); recAudio.setSndSamplingRate (smplRate);
} }
int Recordable::getRecordingSmplRate() const int Recordable::getRecordingSmplRate() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment