[Top][All Lists]

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

[Linphone-developers] Problem with camera on Android with Samsung tablet

From: Michael Goffioul
Subject: [Linphone-developers] Problem with camera on Android with Samsung tablets
Date: Wed, 15 Apr 2020 13:53:23 -0400


I'm using linphone-android SDK (org.linphone:linphone-sdk-android:4.3+) to build an audio/video SIP app, and I'm having problems with the webcam feed on Samsung tablets.

Linphone is used in an Android service. A client application binds to the service and interact with it through Android IPC. When the call is initially connected, video is disabled, and no native WindowId has been set yet. When the clients request to turn on video, the service executes the following:

    CallParams params = mLinphoneCore.createCallParams(linphoneCall);

The service then notifies the client (through IPC) that video is now active. The client creates 2 SurfaceView, and provides the underlying Surface objects to the service (again through IPC, Surface is parcelable). When the service receives the Surface objects, it executes:


AFAIK AndroidPlatformHelper can deal with raw surfaces provided.

This constructs works fine on an Intel device running Android-x86 (webcam is started, displayed locally and sent to remote party). But it doesn't work on 2 Samsung tablets I have: TabE/Android-7.1.1 and TabA/Android-8.1. I can see in the logs that the camera is initialized, but no preview starts and no data is sent to remote party.

I can provide full logs, if it helps. Any idea or suggestion would be welcome.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]