Changeset 5923 for pjproject/trunk/pjsip/src/pjsua2/call.cpp
- Timestamp:
- Dec 13, 2018 6:57:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/call.cpp
r5899 r5923 120 120 #endif 121 121 pjSdpSession = (void *)&sdp; 122 }123 124 void MediaEvent::fromPj(const pjmedia_event &ev)125 {126 type = ev.type;127 if (type == PJMEDIA_EVENT_FMT_CHANGED) {128 data.fmtChanged.newWidth = ev.data.fmt_changed.new_fmt.det.vid.size.w;129 data.fmtChanged.newHeight = ev.data.fmt_changed.new_fmt.det.vid.size.h;130 }131 pjMediaEvent = (void *)&ev;132 122 } 133 123
Note: See TracChangeset
for help on using the changeset viewer.