Ignore:
Timestamp:
Dec 30, 2010 4:31:16 PM (11 years ago)
Author:
ming
Message:

Re #1184: Adding pjmedia_clock_src for the purpose of audio and video synchronization and also to provide synchronization mechanism between two medias in general.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/port.c

    r3392 r3402  
    7676 
    7777/** 
     78 * Get a clock source from the port. 
     79 */ 
     80PJ_DEF(pjmedia_clock_src *) pjmedia_port_get_clock_src( pjmedia_port *port, 
     81                                                        pjmedia_dir dir ) 
     82{ 
     83    if (port && port->get_clock_src) 
     84        return port->get_clock_src(port, dir); 
     85    else 
     86        return NULL; 
     87} 
     88 
     89/** 
    7890 * Get a frame from the port (and subsequent downstream ports). 
    7991 */ 
Note: See TracChangeset for help on using the changeset viewer.