sudharsan-selvaraj / appium-dashboard-plugin

Appium plugin that provides complete test logs, video recording of test and device logs(logcat and syslogs) for easy debugging.
113 stars 28 forks source link

Issue with live video recording for android devices . #111

Open samagarw opened 1 year ago

samagarw commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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

samagarw commented 1 year ago

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

sudharsan-selvaraj commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

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

sudharsan-selvaraj commented 1 year ago

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

samagarw commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

@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 https://github.com/appium/appium/issues/18325

I will also look out for any other possible fixes.

krishtoautomate commented 8 months ago

looks like it is os version related issues

krishtoautomate commented 8 months ago

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

SushanthNandan commented 5 months ago

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

DLavigneGH commented 5 months ago

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 commented 5 months ago

@sudharsan-selvaraj Can you please help here

sudharsan-selvaraj commented 5 months ago

@samagarw As stated above (https://github.com/sudharsan-selvaraj/appium-dashboard-plugin/issues/111#issuecomment-1593498403), we don't have much control on how live video is generated as we are dependent on appium-uiautomator2-server.