Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Allow switching between mjpeg stream and screenshot mode for loading images #1505

Open
sudharsan-selvaraj opened this issue Jun 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sudharsan-selvaraj
Copy link
Contributor

Current Behavior

When the session has themjpegServerPort capability set, then the image will be loaded directly using the MJPEG stream. If themjpegServerPort is not configured, the system will fall back to using the screenshot API.

Suggested Solution

Using mjpegServerPort for image streaming is effective only when the inspector and device are on the same machine. In scenarios where users connect to a device on a remote Appium server, the image will not render due to an unreachable MJPEG stream URL. Additionally, any issues with the streaming server will prevent the image from loading.

To address this, we can offer a fallback mechanism, allowing users to choose between using the MJPEG stream or the screenshot API based on their requirements. This will enable users to utilize remote devices without interruptions.

Additional Information

No response

@erdncyz
Copy link

erdncyz commented Jul 6, 2024

Hi appium inspector team,

Please fix this issue..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants