Commit ff1da8a7 authored by Simon Morlat's avatar Simon Morlat
Browse files

set name and priority for the conference ticker

parent b5944d8d
......@@ -22,12 +22,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "mediastreamer2/msaudiomixer.h"
extern MSTickerPrio __ms_get_default_prio(bool_t is_video);
void ms_audio_endpoint_destroy(MSAudioEndpoint *ep);
MSAudioConference * ms_audio_conference_new(const MSAudioConferenceParams *params){
MSAudioConference *obj=ms_new0(MSAudioConference,1);
int tmp=1;
obj->ticker=ms_ticker_new();
ms_ticker_set_name(obj->ticker,"Audio conference MSTicker");
ms_ticker_set_priority(obj->ticker,__ms_get_default_prio(FALSE));
obj->mixer=ms_filter_new(MS_AUDIO_MIXER_ID);
obj->params=*params;
ms_filter_call_method(obj->mixer,MS_AUDIO_MIXER_ENABLE_CONFERENCE_MODE,&tmp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment