Record Room Stream from Android

Discussion in 'Web Call Server 5' started by Garrett, Apr 21, 2017 at 1:57 PM.

  1. Garrett

    Garrett New Member

    I don't see a way to record video through the Android SDK while using the roomAPI. It is easy to do it with the web's JS SDK by sending record=true in the room.publish() call, but that doesn't seem to be possible on Android. Android's Room.publish method only seems to accept a SurfaceViewRenderer.

    Am I missing something, or is this not currently supported?
  2. Max

    Max Administrator Staff Member

    Yes, currently we don't have streamOptions parameter for room publishing under Android SDK. But it looks like a simple changes and we will try to add this parameter in a few days to get something like this:
    public Stream publish(SurfaceViewRenderer renderer, StreamOptions streamOptions) {
    I will inform you if we have any progress.
  3. Garrett

    Garrett New Member

    That would be very useful, thank you very much.

Share This Page