[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Custom Splitter Filter

From: Chanwit Kaewkasi
Subject: [Linphone-users] Custom Splitter Filter
Date: Fri, 5 Apr 2013 15:33:06 +0700

Hi all,

I am writing a small custom MS filter that is trying to split an input to 2 outputs.

Here it is:

MSFilterDesc ms_splitter_desc={
.text=N_("Split input to 2 channels"),

and here's my splitter_process():

static void splitter_process(MSFilter *f){
mblk_t *refm;


But it's likely to freeze the Linphone. My question is quite simple.
- Can I put "refm" into the output queue twice?
- Or do I need to make a copy of "refm" first?
- If so, which function do I need to properly duplicate the packet and sending 2 copies of it to the different output channel?

Best regards,


Chanwit Kaewkasi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]