diff options
author | Liong Sauw Ming <ming@teluu.com> | 2015-03-18 08:25:24 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2015-03-18 08:25:24 +0000 |
commit | 18061c77b205207a29aeb61414c1040affeeae3b (patch) | |
tree | 51168f9aeb7c4ea275586c7e4c9acbefa571e9aa /pjsip/src/pjsua2/call.cpp | |
parent | 0266873461cbbaeac7cc5a210fa90bab6c640b65 (diff) |
Re #1823 (PJSUA2 Video API): Add Pjsua2 Video Window API and Pjsua API to set output window
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4996 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua2/call.cpp')
-rw-r--r-- | pjsip/src/pjsua2/call.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip/src/pjsua2/call.cpp b/pjsip/src/pjsua2/call.cpp index 1e4e72f3..f0bba738 100644 --- a/pjsip/src/pjsua2/call.cpp +++ b/pjsip/src/pjsua2/call.cpp @@ -224,6 +224,7 @@ pjsua_call_setting CallSetting::toPj() const CallMediaInfo::CallMediaInfo() +: videoWindow(PJSUA_INVALID_ID) { } @@ -237,6 +238,7 @@ void CallMediaInfo::fromPj(const pjsua_call_media_info &prm) this->audioConfSlot = (int)prm.stream.aud.conf_slot; } else if (this->type == PJMEDIA_TYPE_VIDEO) { this->videoIncomingWindowId = prm.stream.vid.win_in; + this->videoWindow = VideoWindow(prm.stream.vid.win_in); this->videoCapDev = prm.stream.vid.cap_dev; } } |