Current time: 10-21-2019, 06:49 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NodeJs local Chrome Agent - Video 'Not available'
07-14-2015, 01:55 AM
Post: #1
NodeJs local Chrome Agent - Video 'Not available'
Hi all,

I'm currently setting up a WPT system for internal environment testing - all machines are running CentOs so I am using the nodeJs agent with a local version of Chrome running against Xvfb (With Fluxbox).

It's all going ok so far, apart from the fact that no video seems to be recorded or passed back to the server for processing.

On the result page for test it simply has 'not available' in the video column.

Could anyone give me any info on how I can track down why video isn't getting recorded?

Thanks in advance,

-John.
Find all posts by this user
Quote this message in a reply
07-14-2015, 03:34 AM
Post: #2
RE: NodeJs local Chrome Agent - Video 'Not available'
The node js agent doesn't have any code for capturing video from desktop browsers which is why you're not seeing it.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-14-2015, 04:15 AM (This post was last modified: 07-14-2015 06:57 AM by Roamer.)
Post: #3
RE: NodeJs local Chrome Agent - Video 'Not available'
(07-14-2015 03:34 AM)pmeenan Wrote:  The node js agent doesn't have any code for capturing video from desktop browsers which is why you're not seeing it.

Ah, then that answers that Lol I should really have looked at the code before asking...

Well, as its a requirement for us, I'll have a look into implementing it if at all possible. are there any notes or tips you could give me to point me in the right direction?

-John
Find all posts by this user
Quote this message in a reply
07-16-2015, 02:03 AM
Post: #4
RE: NodeJs local Chrome Agent - Video 'Not available'
Not particularly. Most of the node agent video processing is expecting a mp4 recording of the browser window and if you can pull that off with xvfb you might be able to just plug it in (some of the viewport detection/trimming may need to be tweaked).

The regular desktop agents are somewhat more complicated and capture periodic screen shots (every 100ms initially but the frequency degrades over time) to RAM, de-dupes the frames and then writes them out as individual jpegs.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)