Ignore:
Timestamp:
Aug 5, 2016 7:26:18 AM (8 years ago)
Author:
riza
Message:

Re #1910: Implement option to regularly send video keyframe in the beginning of video call session.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/account.cpp

    r5346 r5410  
    278278    NODE_READ_NUM_T   ( this_node, pjmedia_vid_stream_rc_method, rateControlMethod); 
    279279    NODE_READ_UNSIGNED( this_node, rateControlBandwidth); 
     280    NODE_READ_UNSIGNED( this_node, startKeyframeCount); 
     281    NODE_READ_UNSIGNED( this_node, startKeyframeInterval); 
    280282} 
    281283 
     
    291293    NODE_WRITE_NUM_T   ( this_node, pjmedia_vid_stream_rc_method, rateControlMethod); 
    292294    NODE_WRITE_UNSIGNED( this_node, rateControlBandwidth); 
     295    NODE_WRITE_UNSIGNED( this_node, startKeyframeCount); 
     296    NODE_WRITE_UNSIGNED( this_node, startKeyframeInterval); 
    293297} 
    294298 
     
    434438    ret.vid_stream_rc_cfg.method= videoConfig.rateControlMethod; 
    435439    ret.vid_stream_rc_cfg.bandwidth = videoConfig.rateControlBandwidth; 
     440    ret.vid_stream_sk_cfg.count = videoConfig.startKeyframeCount; 
     441    ret.vid_stream_sk_cfg.interval = videoConfig.startKeyframeInterval; 
    436442} 
    437443 
     
    599605    videoConfig.rateControlMethod       = prm.vid_stream_rc_cfg.method; 
    600606    videoConfig.rateControlBandwidth    = prm.vid_stream_rc_cfg.bandwidth; 
     607    videoConfig.startKeyframeCount      = prm.vid_stream_sk_cfg.count; 
     608    videoConfig.startKeyframeInterval   = prm.vid_stream_sk_cfg.interval; 
    601609} 
    602610 
Note: See TracChangeset for help on using the changeset viewer.