How to disable video

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

 



Hi, I'm using pjsip 2.0 which supports video.

Now I want to disable it. First, I set some define in pjlib/config_site.h

#define PJMEDIA_HAS_VIDEO       0
#define PJMEDIA_HAS_FFMPEG        0
#define PJMEDIA_VIDEO_DEV_HAS_SDL       0
#define PJMEDIA_VIDEO_DEV_HAS_DSHOW     0

Which has many LNK error when build.

Secondly, I set pjsua_call_settings->vid_cnt = 0
in pjsua_call_setting_default(). This builds successfully, but I see SIP
INVITE message stills contains m line for video

How to disable video ?

-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130129/58bd7564/attachment-0001.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