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

[QUESTION] Best way to play live recording #45

L3o-pold opened this issue Jan 21, 2019 · 3 comments


Copy link

@L3o-pold L3o-pold commented Jan 21, 2019

I'd like to play in real time the record. Is that something possible?

I actually record a web page and send events to a backend that's broadcasting events with websocket.

What's the best way to add new fetched events to current replay?

I tried something like this:

mixed.on('progress.update', function (data) {
    if ( && {
          if (!player) {
            player = new rrwebPlayer({
              target: document.getElementById('player'),
              data: data,
          } else {
            for (var i = 0; i <; i++) {

If that's not possible is it a planned feature? I'd like to make a live debugging feature for our customer, something similar to


This comment has been minimized.

Copy link

@Yuyz0112 Yuyz0112 commented Jan 22, 2019

@L3o-pold Actually I have tried live-mode in a local branch, here is a preview: #30 (comment)
I think it is definitely possible, an addEvents method is needed. Also, need to handle cases like network latency.

So this is in the future plan, and any discussion or contribution will be great to accelerate the progress.


This comment has been minimized.

Copy link

@mattc0llier mattc0llier commented Mar 20, 2019

First off - amazing work! thank you for sharing, this came just at the right time.

Just so you have some example use cases for live events... I am looking to stream live events to a player with a similar set up to youtube live.

Screen Shot 2019-03-20 at 17 44 26

I am sending live events to a backend and then broadcasting events using WebSockets for a live view with live pause, instant 30-second replay and then full replay via drag and drop scroll bar.


This comment has been minimized.

Copy link

@marcospassos marcospassos commented Apr 19, 2019

This is one of the most wanted features for us.

@Yuyz0112 you demo looks promising! Any plans to make it public?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.