Ignore:
Timestamp:
Jul 12, 2011 9:08:56 AM (13 years ago)
Author:
bennylp
Message:

More on re #1284:

  • Replaced bit_info mechanism to report format change in codec with event
  • Updated vid_port, vid_codec_test, etc.
  • Add event publisher to vid_codec
  • Add event publisher to pjmedia_port
  • Add event publisher to vid_stream
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/event.h

    r3617 r3622  
    103103typedef struct pjmedia_event_fmt_changed_data 
    104104{ 
    105     /** 
    106      * The new media format. 
    107      */ 
     105    /** The media flow direction */ 
     106    pjmedia_dir         dir; 
     107 
     108    /** The new media format. */ 
    108109    pjmedia_format      new_fmt; 
    109110} pjmedia_event_fmt_changed_data; 
     
    337338PJ_DECL(pj_status_t) pjmedia_event_unsubscribe(pjmedia_event_publisher *epub, 
    338339                                               pjmedia_event_subscription *esub); 
     340 
     341/** 
     342 * Check if the specified publisher has subscribers. 
     343 * 
     344 * @param epub          The event publisher. 
     345 * 
     346 * @return              PJ_TRUE if the publisher has at least one subscriber. 
     347 */ 
     348PJ_DECL(pj_bool_t) 
     349pjmedia_event_publisher_has_sub(pjmedia_event_publisher *epub); 
    339350 
    340351/** 
Note: See TracChangeset for help on using the changeset viewer.