is it possible to send raw data over pjsip via passthrough codec?

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

 



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140519/c348be8b/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux