[jitsi-dev] Change h264 defaultProfile


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?



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
Content-Type: text/plain; charset=ISO-8859-1


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

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

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.