[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] LinPhone 4.x plugin - Filter linkage issue
From: |
Martin Kastner |
Subject: |
Re: [Linphone-developers] LinPhone 4.x plugin - Filter linkage issue |
Date: |
Tue, 15 Aug 2017 18:22:53 -0400 |
Thank you!
I was afraid you'd say that. It does work now with the ITC in place.
Regards,
Martin
> On Aug 9, 2017, at 05:07, Ерохин Андрей <address@hidden> wrote:
>
> Hello!
>
> Each mediastream runs within it's own thread, so it's unsafe to link
> MSFilters from different mediastreams to each other directly.
>
> In order to safely connect them, you may use ITC
> (mediastreamer2/src/otherfilters/itc.c).
>
> 04.08.2017, 21:51, "Martin Kastner" <address@hidden>:
>> Hello -
>>
>> I'm trying to integrate a plugin that analyzes the information at the output
>> in the video/audio decoders.
>> For that purpose I created a filter object the resides in the mediastream
>> structure - lets call it 'collector'.
>>
>> The collector has multiple inputs and one output.
>> I am creating only a single collector that is fed by multiple decoders. The
>> resulting graph looks somewhat like this:
>>
>> rtp --> video decoder: output (0) +--> input (0) display
>> |
>> output (1) +--> input (0)
>> |
>> +
>> --> collector
>> |
>> output (1) +--> input (1)
>> |
>> rtp --> audio decoder output (0) +--> input (0) soundcard
>>
>> (I hope the formatting prevails!)
>>
>> The mediastreamer initializes successfully, creates all the linkages, but
>> eventually crashes at random points unrelated to the MSfilter objects above.
>> If I create separate collectors - one for each decoder output - the
>> mediastreamer works without issues.
>>
>> What am I missing here?
>>
>> Thanks for your insight.
>> Regards,
>> Martin
>> _______________________________________________
>> Linphone-developers mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/linphone-developers
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers