sentry icon indicating copy to clipboard operation
sentry copied to clipboard

[Mobile Replay SDK] Reduce number of Meta events being sent

Open michellewzhang opened this issue 1 year ago • 2 comments

We are receiving too many meta events from the SDK, which is contributing to some rrweb scrubbing bugs. To fix this, the SDK should reduce the meta events being sent to be:

  1. only at the very beginning of the replay (once per replay)
  2. only when the orientation changes

(note: the meta events being sent now are not causing bugs, but reducing the number will reduce the amount of data and reduce frontend computation. -- not a blocker, doesn't need to be high priority)

michellewzhang avatar May 07 '24 19:05 michellewzhang

I didn't get this. What are meta events?

brustolin avatar Aug 12 '24 13:08 brustolin

@brustolin they are type 4 events. usually, in web replays, they are only sent once at the beginning of the replay.

Image Image

they provide meta info like height/width of the display.

michellewzhang avatar Aug 12 '24 17:08 michellewzhang

@michellewzhang @brustolin Still relevant?

cmanallen avatar Dec 09 '24 15:12 cmanallen

I suspect this is not actually a bug, but rather is just the current intended behavior. Marking as feature request.

DaveRosenthalSentry avatar Dec 09 '24 17:12 DaveRosenthalSentry