Guide to properly starting live mode from an existing session already in progress
See original GitHub issueI’m a little confused about the best way to start a live session in the replayer – at the moment, if a session is in the middle of being recorded and I start viewing in the middle of it, I can see the cursor but not the DOM.
My guess is that I’m missing a “full snapshot” at that point, but I’m not sure the best way to load a “full snapshot”?
I tried finding the most recent even with type == 2
(2
seems to be the full snapshot?), but that didn’t seem to fix it.
This is how I’m initializing the replayer:
this.replayer = new Replayer([], {root: root, liveMode: true});
this.replayer.startLive();
I’ve tried passing in all the existing events into Replayer
(e.g. new Replayer(allPreviousEvents)
), and that doesn’t seem to help.
I’ve also tried the following, with no luck:
allPreviousEvents.forEach((event) => this.replayer.addEvent(event));
Am I missing something?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
The ultimate live streaming guide for beginners | Livestream
Don't pause your dreams to live stream. Check out our beginner's guide on how to live stream and the equipment you need to...
Read more >How do I set up xrdp session that reuses an existing session?
My xrdp always re-connects to existing session always using the same port. ... Run ps axf and look at the process tree for...
Read more >Palo Alto Networks Firewall Session Overview
To view any information related to sessions the user can use the > show session command followed by the desired option: > show...
Read more >Horizon View Desktops hanging on logoff preventing ...
When users login they receive the error: "The view agent reports that this desktop is currently logging off a previous session.
Read more >Install and sign in to Live Share in Visual Studio Code
Learn how to install and sign in to Visual Studio Code and Live Share so that you can collaborate on projects with your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same confusion. In live mode, if some previous events are played out and some new events are added, there is only a quick mouse movement path, and there is no DOM change.
有没有完整的例子或文档以示例如何使用实时直播模式?