[jitsi-dev] switch camera in jitsi-android


#1

Hi all,
    Has anyone got some idea about how to swtich the front and back camera in Jitsi-android?I tried to use the method disconnect/stop...in class: AbstractPushBufferCaptureDevice in libjitsi, but it seems doesn't work.
  thanks.
Regards,
Ray


#2

Hi Ray,

Hi all,
    Has anyone got some idea about how to swtich the front and back camera
in Jitsi-android?I tried to use the method disconnect/stop...in class:
AbstractPushBufferCaptureDevice in libjitsi, but it seems doesn't work.
  thanks.

Normally if you want to change it from the settings there is option in
"Settings->Camera". I admit I haven't tested it yet(don't have 2
cameras), but if it won't work for you the code responsible for
selecting camera is in:
org.jitsi.impl.neomedia.jmfext.media.protocol.mediarecorder.DataSource.getCamera(MediaLocator
locator):869

If you want to change it during the call then it's not supported yet.
I suppose in desktop Jitsi you can hotswap audio devices. You would
have to check how it's done there and then apply it.

Other idea would be to stop local video. Change programatically the
setting mentioned above and then try restarting it.

Regards,
Pawel

···

On Wed, Jul 24, 2013 at 4:43 PM, MAXWELL <95143848@qq.com> wrote:

Regards,
Ray

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev