Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Issue with live video recording for android devices . #111

Open
samagarw opened this issue Jan 11, 2023 · 16 comments
Open

Issue with live video recording for android devices . #111

samagarw opened this issue Jan 11, 2023 · 16 comments

Comments

@samagarw
Copy link

We are not able to see the live video for android devices while it is working fine for ios devices .

It keeps on showing Loading live video ... and then doesn't load until the session finishes gracefully .
Screenshot 2023-01-11 at 5 29 00 PM

@samagarw
Copy link
Author

@sudharsan-selvaraj : Any update on this ? I am getting live video for IOS devices but not for android . Should i pass any capability for this or enable any setting in android devices ?

@sudharsan-selvaraj
Copy link
Owner

@samagarw is it happening for all the android devices or only for specific device?

@samagarw
Copy link
Author

@sudharsan-selvaraj : Its happening for all the devices . We have added 5 devices and all are having this problem

@sudharsan-selvaraj
Copy link
Owner

@samagarw Can you check if mjpegServerPort capability is present in the session and try accessing the url directly from the browser and check if the video is loading. In the below image, the url will be http://localhost:59567

image

@samagarw
Copy link
Author

samagarw commented Jan 20, 2023

@sudharsan-selvaraj : I checked but it keeps on loading in browsertoo .

I am running parallel session for android devices . Should i specifically pass the capability :

appium:mjpegServerPort

Attaching screenshot

  1. Attached 1 for the mjpegserver port
  2. Attached 2 for the browser access .

Screenshot 2023-01-20 at 11 00 53 AM

Screenshot 2023-01-20 at 11 01 00 AM

@samagarw
Copy link
Author

@sudharsan-selvaraj : I tried with single thread . It is still not working .

@sudharsan-selvaraj
Copy link
Owner

@samagarw We have fixed it in the latest release. can you check if the issue got resolved?

@samagarw
Copy link
Author

Hello @sudharsan-selvaraj , Sry for late reply . I checked but even after upgrade to 2.0.2 I am facing the same issue .

Can you please help here ? Also recently we are facing that appium-dashboard is crashing frequently .

@samagarw
Copy link
Author

@sudharsan-selvaraj : I am getting attached snapshot error for android live
Screenshot 2023-06-14 at 11 40 37 PM

Can you please help here ? .

@sudharsan-selvaraj
Copy link
Owner

@samagarw For live video streaming we rely on appium's mjpegServer. Few other android users also facing the same issue and it's already reported to appium appium/appium#18325

I will also look out for any other possible fixes.

@krishtoautomate
Copy link

looks like it is os version related issues

@krishtoautomate
Copy link

video is recorded but live or replay is not working. im able to see video after download

@SushanthNandan
Copy link

@sudharsan-selvaraj Any update here, am using 2.0.3 and still live video is not coming for all the android devices

@DLavigneGH
Copy link

I also see the same issue, also on iOS, using real devices. Video is only available when the session closes.
I am on device-farm 8.4.7-rc10 and dashboard plugin 2.0.3, the latest to this date.

@SushanthN22
Copy link

@sudharsan-selvaraj Can you please help here

@sudharsan-selvaraj
Copy link
Owner

@samagarw As stated above (#111 (comment)), we don't have much control on how live video is generated as we are dependent on appium-uiautomator2-server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants