Ignore:
Timestamp:
Nov 13, 2019 9:11:04 AM (5 years ago)
Author:
nanang
Message:

Close #1437: Video keyframe request/response using RTCP-FB PLI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c

    r6093 r6106  
    10831083            goto on_error; 
    10841084 
     1085        /* Subscribe to video stream events */ 
     1086        pjmedia_event_subscribe(NULL, &call_media_on_event, 
     1087                                call_med, call_med->strm.v.stream); 
     1088 
    10851089        /* Start stream */ 
    10861090        status = pjmedia_vid_stream_start(call_med->strm.v.stream); 
     
    12871291        call_med->rtp_tx_ts = stat.rtp_tx_last_ts; 
    12881292    } 
     1293 
     1294    /* Unsubscribe from video stream events */ 
     1295    pjmedia_event_unsubscribe(NULL, &call_media_on_event, call_med, strm); 
    12891296 
    12901297    pjmedia_vid_stream_destroy(strm); 
Note: See TracChangeset for help on using the changeset viewer.