Changeset 5939 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Mar 5, 2019 6:23:02 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r5923 r5939 1477 1477 call_med->last_req_keyframe = now; 1478 1478 } 1479 } 1480 } 1481 break; 1482 1483 case PJMEDIA_EVENT_FMT_CHANGED: 1484 if (call_med->strm.v.rdr_win_id != PJSUA_INVALID_ID) { 1485 pjsua_vid_win *w = &pjsua_var.win[call_med->strm.v.rdr_win_id]; 1486 if (event->src == w->vp_rend) { 1487 /* Renderer just changed format, reconnect stream */ 1488 pjsua_vid_conf_disconnect(call_med->strm.v.strm_dec_slot, 1489 w->rend_slot); 1490 pjsua_vid_conf_connect(call_med->strm.v.strm_dec_slot, 1491 w->rend_slot, NULL); 1479 1492 } 1480 1493 }
Note: See TracChangeset
for help on using the changeset viewer.