Changes between Initial Version and Version 2 of Ticket #1263


Ignore:
Timestamp:
Jun 16, 2011 10:38:45 AM (10 years ago)
Author:
bennylp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1263

    • Property Priority changed from normal to major
    • Property Summary changed from API: video status and notification to Video API for PJSUA-LIB
  • Ticket #1263 – Description

    initial v2  
    1 Notification when remote adds video, when video is added, and general status about video stream (rx packet, etc.) 
     1PJSUA-LIB video API specification: 
     2 
     3==== 1. Video Device Enumeration API ==== 
     4 
     5Specifications: 
     6 1. query device count 
     7 1. query device names 
     8 1. hotswap support? 
     9 
     10 
     11==== 2. Video Call API ==== 
     12 
     13Specifications: 
     14 1. enable or disable video when initiating call 
     15 2. enable or disable video when receiving call 
     16 3. choose which device to use for video call 
     17 4. add and remove video media stream during the call 
     18 5. change which device to use during the call 
     19 6. hide remote video window 
     20 7. move and/or resize video window 
     21 
     22 
     23==== 3. Video Capture Preview API ==== 
     24 
     25Specifications: 
     26 1. start and stop preview for the specified camera device, independent of calls 
     27 1. preview more than one capture devices independently 
     28 1. move and/or resize preview window 
     29 
     30 
     31==== 4. Media Info and Statistic API ==== 
     32 
     33The new API can be used for both audio and video. 
     34 
     35Specifications: 
     36 1. query the number of media streams in a call 
     37 1. query the media stream info 
     38 1. query the media stream statistic 
     39 1. query the media transport info/statistic 
     40 1. move pjsua function that dumps call statistic (i.e. "dq" command) to a separate size, to reduce footprint for apps that don't use it. 
     41 
     42==== 5. Notification API ==== 
     43 
     44Nothing special for video. Update in media status is reported in ''on_media_state()'' callback as usual. Application may use media status API to query about video status. 
     45