[pjsip] How to send bmp use pjsua_im_send()

Benny Prijono bennylp at pjsip.org
Mon Sep 10 13:08:38 EDT 2007


朗雀通信技术有限公司 wrote:
> hi:
>  
>   I want to send an bmp IM Message.
>   But when i use the pjsua_im_send() send a rtf format  bmp string,
>   the fail return.
>   What can i do?

You have full control over both the Content-Type and the content of
the IM, so I'm not sure what you're asking here. But IMO, sending
BMP, especially large one, with SIP is not a good idea. Better just
send the URL of the image, or use MSRP (but for the later, someone
has to write code to support it first ;-) ).

 -benny





More information about the pjsip mailing list