- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip/src/pjsua-lib/pjsua_vid.c
r5125 r5513 911 911 /* Set rate control config from account setting */ 912 912 si->rc_cfg = acc->cfg.vid_stream_rc_cfg; 913 914 /* Set send keyframe config from account setting */ 915 si->sk_cfg = acc->cfg.vid_stream_sk_cfg; 913 916 914 917 #if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 … … 1450 1453 1451 1454 PJSUA_LOCK(); 1455 1452 1456 w = &pjsua_var.win[wid]; 1453 if (w->vp_rend == NULL) { 1454 /* Native window */ 1455 PJSUA_UNLOCK(); 1456 return PJ_EINVAL; 1457 } 1458 1459 s = pjmedia_vid_port_get_stream(w->vp_rend); 1457 s = pjmedia_vid_port_get_stream(w->vp_rend? w->vp_rend: w->vp_cap); 1460 1458 if (s == NULL) { 1461 1459 PJSUA_UNLOCK(); … … 1489 1487 1490 1488 PJSUA_LOCK(); 1489 1491 1490 w = &pjsua_var.win[wid]; 1492 if (w->vp_rend == NULL) { 1493 /* Native window */ 1494 PJSUA_UNLOCK(); 1495 return PJ_EINVAL; 1496 } 1497 1498 s = pjmedia_vid_port_get_stream(w->vp_rend); 1491 s = pjmedia_vid_port_get_stream(w->vp_rend? w->vp_rend: w->vp_cap); 1499 1492 if (s == NULL) { 1500 1493 PJSUA_UNLOCK(); … … 1523 1516 1524 1517 PJSUA_LOCK(); 1518 1525 1519 w = &pjsua_var.win[wid]; 1526 if (w->vp_rend == NULL) { 1527 /* Native window */ 1528 PJSUA_UNLOCK(); 1529 return PJ_EINVAL; 1530 } 1531 1532 s = pjmedia_vid_port_get_stream(w->vp_rend); 1520 s = pjmedia_vid_port_get_stream(w->vp_rend? w->vp_rend: w->vp_cap); 1533 1521 if (s == NULL) { 1534 1522 PJSUA_UNLOCK(); … … 1557 1545 1558 1546 PJSUA_LOCK(); 1547 1559 1548 w = &pjsua_var.win[wid]; 1560 if (w->vp_rend == NULL) { 1561 /* Native window */ 1562 PJSUA_UNLOCK(); 1563 return PJ_EINVAL; 1564 } 1565 1566 s = pjmedia_vid_port_get_stream(w->vp_rend); 1549 s = pjmedia_vid_port_get_stream(w->vp_rend? w->vp_rend: w->vp_cap); 1567 1550 if (s == NULL) { 1568 1551 PJSUA_UNLOCK(); … … 1617 1600 1618 1601 PJSUA_LOCK(); 1602 1619 1603 w = &pjsua_var.win[wid]; 1620 if (w->vp_rend == NULL) { 1621 /* Native window */ 1622 PJSUA_UNLOCK(); 1623 return PJ_EINVAL; 1624 } 1625 1626 s = pjmedia_vid_port_get_stream(w->vp_rend); 1604 s = pjmedia_vid_port_get_stream(w->vp_rend? w->vp_rend: w->vp_cap); 1627 1605 if (s == NULL) { 1628 1606 PJSUA_UNLOCK(); … … 1823 1801 call_med->tp = call_med->tp_orig = NULL; 1824 1802 } 1803 call->med_prov_cnt = 0; 1825 1804 1826 1805 return status;
Note: See TracChangeset
for help on using the changeset viewer.