Changeset 5923 for pjproject/trunk/pjsip/include/pjsua2/call.hpp
- Timestamp:
- Dec 13, 2018 6:57:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/call.hpp
r5899 r5923 228 228 }; 229 229 230 /**231 * This structure describes a media format changed event.232 */233 struct MediaFmtChangedEvent234 {235 unsigned newWidth; /**< The new width. */236 unsigned newHeight; /**< The new height. */237 };238 239 /**240 * Media event data.241 */242 typedef union MediaEventData {243 /**244 * Media format changed event data.245 */246 MediaFmtChangedEvent fmtChanged;247 248 /**249 * Pointer to storage to user event data, if it's outside250 * this struct251 */252 GenericData ptr;253 254 } MediaEventData;255 256 /**257 * This structure describes a media event. It corresponds to the258 * pjmedia_event structure.259 */260 struct MediaEvent261 {262 /**263 * The event type.264 */265 pjmedia_event_type type;266 267 /**268 * Additional data/parameters about the event. The type of data269 * will be specific to the event type being reported.270 */271 MediaEventData data;272 273 /**274 * Pointer to original pjmedia_event. Only valid when the struct275 * is converted from PJSIP's pjmedia_event.276 */277 void *pjMediaEvent;278 279 public:280 /**281 * Convert from pjsip282 */283 void fromPj(const pjmedia_event &ev);284 };285 230 286 231 /**
Note: See TracChangeset
for help on using the changeset viewer.