Request video stream id is ignored

var videoParams = new VideoParams
            {
                CameraId = cameraId,
                StreamId = streamId,
                DestWidth = destinationWidth,
                DestHeight = destinationHeight,
                StreamType = StreamParamsHelper.StreamType.Transcoded,
                SignalType = StreamParamsHelper.SignalType.Live,
                CompressionLvl = 83,
                FPS = 15,
                RequestSize = true,
                MethodType = StreamParamsHelper.MethodType.Push,
                KeyFramesOnly = false,
            };

When I request a stream with StreamId, StreamId is ignored, and I’m getting the default video stream from the camera. Is that correct behavior? Or how can I get the video with the correct chosen from the camera?

Hi @David B​

StreamId is not a valid input parameter.

Mobile SDK does not allow explicitly selecting a particular stream, in case camera has more than one.

Consider using the Adaptive streaming feature, instead. If you configure it properly, Mobile Server will calculate the optimal string for you based on the resolution provided by the client (SrcWidth and SrcHeight params).

Regards,

Nikolay