Ignore:
Timestamp:
Mar 17, 2011 4:34:43 AM (14 years ago)
Author:
bennylp
Message:

Modifications in PJSUA-LIB to support multiple media streams (multiple audio and/or video) and dynamic creation of media transports. This closed #1185 and closed #1201.

1185: Dynamic creation of media transports
============================================
Done:

  • media transports are created on demand now

Todo:

  • media transport creation is still blocking

1201: Video support in PJSUA-LIB
===================================
Done:

  • call now supports N media (N audio and M video)
  • number of audio/video streams is configurable per acc
  • extra audio stream info in pjsua_call_info to support multiple audio streams

in one call

  • video subsys and ffmpeg initialization in PJSUA-LIB
  • ability to offer and create video SDP answer
  • "dq" for more than 1 audio streams
  • introducing pjsua_state and pjsua_get_state()

API change:

  • on_stream_created() and on_stream_destroyed() callbacks: changed session to

stream

Todo:

  • many others features are disabled, just search for DISABLED_FOR_TICKET_1185

macro (these have also been added to ticket #1193 (Issues & Todos)). Notable
missing features are:

  • creation of duplicate SDP m= lines for optional SRTP
  • mm.. that's it?
  • whole lot of testings

pjsua:
===============

  • Added --extra-audio and --video options. Specify these more than once and

each time an extra audio/video streams will be added. :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/build.mak.in

    r3393 r3457  
    5959@ac_build_mak_vars@ 
    6060 
     61# 
     62# Video 
     63# Note: there are duplicated macros in pjmedia/os-auto.mak.in (and that's not 
     64#       good! 
     65 
     66# SDL flags 
     67SDL_CFLAGS = @ac_sdl_cflags@ 
     68SDL_LDFLAGS = @ac_sdl_ldflags@ 
     69 
     70# FFMPEG dlags 
     71FFMPEG_CFLAGS = @ac_ffmpeg_cflags@  
     72FFMPEG_LDFLAGS =  @ac_ffmpeg_ldflags@ 
     73 
     74# Video4Linux2 
     75V4L2_CFLAGS = @ac_v4l2_cflags@ 
     76V4L2_LDFLAGS = @ac_v4l2_ldflags@ 
     77 
     78# QT 
     79AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@ 
     80QT_CFLAGS = @ac_qt_cflags@ 
     81 
     82# iOS 
     83IOS_CFLAGS = @ac_ios_cflags@ 
     84 
     85# PJMEDIA features exclusion 
     86PJ_VIDEO_CFLAGS += $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ 
     87                   $(IOS_CFLAGS) 
     88PJ_VIDEO_LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) 
     89 
     90 
    6191# CFLAGS, LDFLAGS, and LIBS to be used by applications 
    6292export PJDIR := @ac_pjdir@ 
     
    6595export APP_CFLAGS := -DPJ_AUTOCONF=1\ 
    6696        @CFLAGS@\ 
     97        $(PJ_VIDEO_CFLAGS) \ 
    6798        -I$(PJDIR)/pjlib/include\ 
    6899        -I$(PJDIR)/pjlib-util/include\ 
     
    77108        -L$(PJDIR)/pjsip/lib\ 
    78109        -L$(PJDIR)/third_party/lib\ 
     110        $(PJ_VIDEO_LDFLAGS) \ 
    79111        @LDFLAGS@ 
    80112export APP_LDLIBS := -lpjsua-$(TARGET_NAME)\ 
Note: See TracChangeset for help on using the changeset viewer.