Thanks so much Bill! The data coming across is what I was expecting! There's still a lot more to figure out... but thanks for the quick response and help in the right direction. On Mon, May 19, 2014 at 8:32 AM, Bill Gardner <billg at wavearts.com> wrote: > PCMU is not lossless, because it is converting 16-bit to 8-bit and back > to 16-bit. Try the L16 codec instead. - Bill > > > On 5/19/2014 11:20 AM, Brandon Wong wrote: > > Hi everyone, I need some help. > > I want to encode my own data not within pjsip then send it over to > another client > and decode it not within pjsip. > > For an attempt to do this: > > 1) i filled up a "mem player" buffer with static data (eg. filled with > the char 'A') > > 2) i set the codec to PCMU/8000/1 (which should be a lossless > passthrough) > and also tried this with a custom codec that just copies the input to the > output for an effective passthrough... > > 3) i make a call > connect the mem player to that call > > 4) on the other end > i connect the call to a file writer > > the data that gets written is not the same as the buffer that i created. > > when i connect the "mem player" directly to the "file writer" within the > same app, i do get the results i am looking for. > > > If anyone can offer some insights on why this is not working properly, > or an alternate route i should take... I would be very grateful! > > Thanks, > Brandon > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140519/9bcbb4be/attachment.html>