[jitsi-dev] Change h264 defaultProfile


#1

Hi Pawel,
     As what you said, we used mediarecorder as the default encoder, but i found that the bandwidth of the video is far bigger from android to pc than pc to android,hence it result in a worse quality when communicate(such as delay ,frozen), so have you notcied that? and do you have any clue about how to solve this? is FFMPEG a better option?
     Thanks.
Regards,
Ray

···

------------------------------

Message: 5
Date: Thu, 5 Sep 2013 15:45:36 +0200
From: Pawe? Domas <pawel.domas@jitsi.org>
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Change h264 defaultProfile
Message-ID:
<CAME7wR7Qactbzx+P2GzXSP_UyYhs3Q9zZM+gCwfRRem257YuMw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

On Thu, Sep 5, 2013 at 3:20 PM, Giuseppe Vincenzi <vncgpp@gmail.com> wrote:

Hi,
I'm using Jitsi-android and I must set h264 defaultProfile in baseline.
I tried changing method "doInitialize" in MediaRecorderSystem class, but it
does not work.
What's the best way to change the defaultProfile?

Thanks in advance
Regards
Giuseppe

H264 options are obtained in org.jitsi.impl.neomedia.device.DataSource
in method obtainParameters().
I don't know if it's possible to modify the profile, but in current
implementation you would have to change it in Android's MediaRecorder,
because we use what we get. First time the video is used sample file
is recorded and then H264 parameters are extracted from it. At
DataSource:394 there is format selection part. Maybe you could try to
list all formats and try using another one.

Regards,
Pawel