Hi Ivan,
The way you're proceeding with the filters looks good to me.
I have no idea of what is going wrong, however I can see the backtrace
does not have any debugging symbols.
It would be good that you rebuild a mediastreamer2 from source to have
debugging enabled.
Then the backtrace would point us directly where the segfault occurs.
Simon
Le mardi 01 février 2011 à 17:31 +0100, Ivan Popovski a écrit :
Hi to all
Can somebody confirm if this is ok scenario for creating audio streaming conf?
This is programmed using examples from mediastreamer test dir and reading
all possible docs:
blank player -> pin0,0 -> msconf -> pin0,0 -> sink
rtprecv1 -> pin0,1 -> msconf -> pin1,0 -> rtpsend1
rtprecv2 -> pin0,2 -> msconf -> pin2,0 -> rtpsend2
After ticker creation, filters are created and set. Rtp sessions are created
using RTP_SESSION_SENDRECV, and rtprecv/send are set to (using methods)
MS_RTP_RECV_SET_SESSION or MS_RTP_SEND_SET_SESSION.
Graphs are then linked and attached to ticker. All of this works fine.
But when i try to unlink one of graphs (for example rtprecv2,...),
application segfaults. Ofc i'm detaching rtprecv2 before unlinking.
gdb says:
(gdb) bt
#0 0x00007fbedf3361fd in ?? () from /usr/lib64/libmediastreamer.so.0
#1 0x00007fbedf333f62 in ?? () from /usr/lib64/libmediastreamer.so.0
#2 0x00007fbedf334072 in ?? () from /usr/lib64/libmediastreamer.so.0
#3 0x00007fbedf334162 in ms_ticker_run () from /usr/lib64/libmediastreamer.so.0
#4 0x00007fbedfb08980 in start_thread () from /lib64/libpthread.so.0
#5 0x00007fbee134c57d in clone () from /lib64/libc.so.6
Btw using blank player that was posted to mailing list because someone said
that pin0 should use that filter (not using soundcard).
Also i'm aware that msconf is using 2*i+1, 2*i scheme for pins,
could that be the problem?
This is all done on debian squeeze and really have no clue what to
do next. If you can point me in some direction, would be very grateful ;-)
Than you very much
P.S. Sorry on newbie question and bad english :-)
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers