RTP streams without knowing the payload

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

 



Hi for all,

We have to decode two raw RTP streams without SDP or payload information.

The payloads can be different (pcm ulaw, pcm alaw, G729, ...).

Our first approach was to create and open an audio stream with fixed codec_info structure ... but the RTP header for first package reveived detects "bad RTP payload".

Other approach can be wait for first RTP package, decode de header and get the payload field ... next create and open audio stream structures. The "on_rx_rtp" callback did not works for the process (maybe we don't have RTP sessions).

What is the best way to adquire and decode those RTP streams?

Thanks.

Julian M.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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