• Seven Du's avatar
    FS-7500: add ability to insert a custom callback to the core video thread · 35ff4b5c
    Seven Du 提交于
    the callback will be called on each loop on read video frame, or
    the callback function call run it's own loop to take over the core
    loop so it can read video from session by itself.
    
    the callback function can -
    
    return SWITCH_STATUS_SUCCESS to wait another loop
    return SWITCH_STATUS_CONTINUE to continue use the default behaviour
    return anything else will break the core video loop and end the
           core thread
    35ff4b5c
switch_core_media.c 307.7 KB