Opened 8 years ago

Closed 8 years ago

#1446 closed defect (fixed)

Miscellaneous fixes

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.0-rc
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description


Change History (52)

comment:1 Changed 8 years ago by bennylp

(In [3948]) Updated PortAudio? SVN URL (re #1446/Misc)

comment:2 Changed 8 years ago by ming

(In [3949]) Re #1446 (misc fix): Fix crash problem due to uninitialized list when SDL creation failed

comment:3 Changed 8 years ago by ming

(In [3953] Re #1446 (misc fix): Fix division by zero error caused by DShow if video device does not supply avgTimePerFrame information (avgTimePerFrame=0).

comment:4 Changed 8 years ago by nanang

(In [3971]) Misc (re #1446): Minor fixes arrange_window() in pjsua app:

  • calculate visible windows only (with 2 calls, there was already an out-of-screen window)
  • re-arrange windows on format changed event

comment:5 Changed 8 years ago by nanang

(In [3972]) Misc (re #1446): Updated ffmpeg video codecs default params:

  • decoder fps to be 1.5x faster than encoder's, to encounter accumulated frames in jbuf when decoder clock gets short pauses in video setup (e.g: renderer creation, format change)
  • separate size & fps for H.264 and H.263

comment:6 Changed 8 years ago by nanang

(In [3975]) Misc (re #1446): Re-enable remote video frame-rate detection in vid_stream.c. Note that currently such remote frame-rate update will not trigger format changed event.

comment:7 Changed 8 years ago by ming

(In [3979]) Re #1446 (misc fix): Fixed typo in default clock rate for iOS and QT video dev.

comment:8 Changed 8 years ago by bennylp

(In [3990]) Misc (re #1446): prevent on_call_state() callback from being called before on_incoming_call() callback is called

comment:9 Changed 8 years ago by ming

(In [3996]) Re #1446 (misc fix): Fix call info to display correct invite state

comment:10 Changed 8 years ago by ming

(In [3997]) Re #1446 (misc fix): Add more robust checking and logs for SDL job queue creation/destruction.

comment:11 Changed 8 years ago by nanang

(In [3998]) Misc (re #1446): Avoid unnecessary high latency caused by clock drift or call setup lag by overriding initial framerate setting to be 1.5x higher in video stream decoding direction. Note that a previous method in r3972 has just been cancelled.

comment:12 Changed 8 years ago by nanang

(In [4000]) Misc (re #1446): Fixed compile warnings on VS2005.

comment:13 Changed 8 years ago by bennylp

(In [4005]) Re #1446: removed the obsolete but misleading sip_transport_tls_ossl.c file

comment:14 Changed 8 years ago by nanang

(In [4006]) Misc (re #1446): Added macro PJMEDIA_MAX_VID_PAYLOAD_SIZE, also updated the default encoding MTU of ffmpeg codec & H263/H264 packetizers to this macro setting.

comment:15 Changed 8 years ago by nanang

(In [4007]) Misc (re #1446): Updated default video frame rate from 30 fps to 15 fps (for both H264 & H263-1998).

comment:16 Changed 8 years ago by ming

(In [4009]) Misc (re #1446):

  • Apply format change event to vid_dev only if the format changes.
  • Get the new format info from the event itself (instead of from the client port)

comment:17 Changed 8 years ago by nanang

(In [4010]) Misc (re #1446): Reenable format change event emission in video stream when remote frame rate changed.

comment:18 Changed 8 years ago by nanang

(In [4011]) Misc (re #1446): fixed log message in pjsua_media_channel_update() for pjsua_vid_channel_update() failure.

comment:19 Changed 8 years ago by bennylp

(In [4013]) Misc (re #1446): fixed crash if unregistered format is specified when opening device with the video port

comment:20 Changed 8 years ago by bennylp

(In [4014]) Re #1446: set format to PCM when WAVE_FMT_TAG_PCM is detected in AVI file, so that other pjmedia components can recognize that it is a raw PCM format

comment:21 Changed 8 years ago by bennylp

(In [4015]) Misc (Re #1446): changed h.263 and h.264 default maximum bandwidth to 256kb/s from 512kb/s

comment:22 Changed 8 years ago by ming

(In [4017]) Misc (Re #1446): Remove XVID format and add default resolution and fps for MPEG4 and MJPEG

comment:23 Changed 8 years ago by ming

(In [4018]) Misc (Re #1446): Add support for aviplay to play H264 and MPEG4 decoded AVI videos. This includes support for XVID and DIVX MPEG4.

comment:24 Changed 8 years ago by nanang

(In [4022]) Misc (Re #1446): fixed TX packet counter in video stream.

comment:25 Changed 8 years ago by ming

(In [4023]) Misc (Re #1446): Fixed wrong setting of pjsua_app's options.

comment:26 Changed 8 years ago by nanang

(In [4025]) Misc (Re #1446): Add pjsua app video commands for modifying video codec bitrate & framerate.

comment:27 Changed 8 years ago by nanang

(In [4027]) Misc (Re #1446): Add pjsua app video command for modifying video codec size/resolution.

comment:28 Changed 8 years ago by nanang

(In [4028]) Misc (Re #1446): limit pjsua_vid_codec_get/set_param() search domain to only codecs with RTP packetizations.

comment:29 Changed 8 years ago by ming

(In [4035]) Re #1446 (misc): Modify SDL dev to:

  • Resize renderer (instead of recreating it) if format does not change.
  • Create window in the requested position if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is specified.

comment:30 Changed 8 years ago by ming

(In [4036]) Re #1446 (misc): Create SDL window in the requested position if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is specified (fixed unused vars in the prev revision).

comment:31 Changed 8 years ago by nanang

(In [4044]) Misc (Re #1446): Remove XVID format usage in ffmpeg_util.c, PJMEDIA_FORMAT_XVID definition was removed in r4017 (thanks Bob van der Linden for the fix).

comment:32 Changed 8 years ago by nanang

(In [4048]) Misc (re #1446): added AVI tags 'FMP4' & 'DX50' for MPEG4 variants in AVI player.

comment:33 Changed 8 years ago by ming

(In [4049]) Re #1446 (misc): Modified ffmpeg_codecs to ffmpeg_vid_codecs

comment:34 Changed 8 years ago by ming

(In [4050]) Re #1446 (misc): Modified Makefile for ffmpeg_vid_codecs (see r4049)

comment:35 Changed 8 years ago by ming

(In [4051]) Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to PJMEDIA_HAS_FFMPEG_CODEC.

comment:36 Changed 8 years ago by ming

(In [4052]) Re #1446 (misc): Fixed unset sip error code if pjsip_inv_verify_request3() failed.

comment:37 Changed 8 years ago by ming

(In [4053]) Re #1446 (misc): Revert r4035 which resizes renderer if format does not change.

comment:38 Changed 8 years ago by nanang

(In [4056]) Misc (re #1446): redirect ffmpeg logging with custom log callback.

comment:39 Changed 8 years ago by bennylp

(In [4076]) Misc (re #1446): compilation warning when calling swscale

comment:40 Changed 8 years ago by bennylp

(In [4077]) Misc (re #1446) fixed compilation warning

comment:41 Changed 8 years ago by bennylp

(In [4078]) Misc (re #1446): fixed warning re unused job_thread() function in Mac OS build

comment:42 Changed 8 years ago by bennylp

(In [4081]) Misc (re #1446): support newer libavcodec version (major: 54) which deprecated few APIs

comment:43 Changed 8 years ago by nanang

(In [4083]) Misc (re #1446): more support newer libavcodec version (major: 54) which deprecated AVCodec::encode and avcodec_encode_video().

comment:44 Changed 8 years ago by ming

(In [4084]) Re #1446 (misc): Fix possible crash if video ports are destroyed in the wrong order (i.e. client port must be destroyed last).

comment:45 Changed 8 years ago by nanang

(In [4085]) Misc (re #1446): dump_media_session() wasn't called if there was no active audio.

comment:46 Changed 8 years ago by ming

(In [4086]) Re #1446 (misc): Fixed linking error if PJMEDIA_HAS_VIDEO is 0

comment:47 Changed 8 years ago by ming

(In [4087]) Re #1446 (misc): Disable SDL by default on iOS and fixed various compiler warnings.

comment:48 Changed 8 years ago by nanang

(In [4088]) Misc (re #1446): Updated Symbian projects with new files introduced in 2.0.

comment:49 Changed 8 years ago by nanang

(In [4089]) Misc (re #1446): Updated ffmpeg compatibility issues, e.g: av_set_int() return code not match to av_opt_set_int(), update libavcodec version to at least 53.61 for av_opt_set*() usage.

comment:50 Changed 8 years ago by nanang

(In [4099]) Misc (re #1446): Fixed compile errors on Symbian S60 5th Ed SDK: unrecognized a struct defined inside another struct and 64 bit integer constants suffix.

comment:51 Changed 8 years ago by bennylp

(In [4106]) Misc (re #1446): fixed potentially non-portable 64bit integer literal introduced by r4099

comment:52 Changed 8 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.