[jitsi-dev] Change h264 defaultProfile


#1

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


#2

Hi,

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

ยทยทยท

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