H264 42e01e: pjsua, pjsip-2.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just few findings regarding pjsua (compiled from sources, release 2.1.0,
under MacOSX),


(1) While learning streaming/SIP technologies, I wonder what is the
particular intention of

    "42e01e"

as "profile-level-id" for H264 in "codec_desc[]" in
"./pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c"?  (Probably a year ago
this topic was discussed here, but this question remained apparently
untouched.)

I.e., why exactly "42e01e" and not e.g. "42e01f"?

According to Wikipedia the difference here seems to be (assuming my
understanding is not wrong) only in the maximum supported frame size and
frame rate (720x576 at 25 vs. 1280x720 at 30)?

Is there anything in PJSIP regarding software or architecture which
excludes supporting the latter size at rate?  :-)

(In particular I got stuck, the remote end (no PJSIP) is advertising
"42e01f", PJSIP apparently supports at most "42e01e", and no H264-viedo
session is established; how to figure out if this (ending up with a
video-less session) is PJSIP issue or the remote end's.  If editing
PJSIP's sources as above, the problem "disappears".)


(2) If commenting out an x264-statement


  if (!AV_OPT_SET(ctx->priv_data, "tune", "animation+zerolatency", 0)) {
    PJ_LOG(3, (THIS_FILE, "Failed to set x264 tune
'animation+zerolatency'"));
  }


in "./pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c" then pjsua
unexpectedly crashes (without any "assert") while establishing a
H264-video session.

Probably this is a known bug, though I'm unable to test this on recent
SVN versions due to stability problems: pjsua pretty soon ends up in a
'deadlock', so only kill -9 helps (e.g. starting pjsua and nothing but
hitting 'q' results in a hang).

    Eeri Kask




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux