Forum

Not getting the Live preview while using 'media' luna commands

Hi everyone,
I am trying to integrate camera module in my WebOs project development.
Currently, I had tried to have live preview using the luna 'load' command.
But the problem is that I am getting a 'Still Image' instead of the live video.

Thanks in advance

Hi,
With load command, only 1st frame gets displayed.
execute play command, camera preview will be seen.

Hi @mvs_premalatha ,
Thank you for your reply.

We have already executed the 'play' command, and it returns the value as 'true' , but nothing gets played.

load command is executed with device mode or shared memory mode?
mediaId in play command is given from load command return value?
share us the logs, and scenario. we will help you out.

Load command is executed in shared memory mode.
mediaId in play command is given from load command return value.

Hi,
These logs doesn't seem to be enough.
Can you please provide more logs
For logs you can follow below steps:

In 1st terminal:
PmLogCtl set camera debug
journalCtl -f | grep -inr cam

in 2nd terminal:
You can run the luna calls and reproduce the issue

Please attach the output of terminal 1.

Thanks