Open mulundapm opened 1 month ago
@KillerX There is a way to hook into the different events sent to npaw, but I cannot see any unique identifier per event. I think there is a way to inject custom data into the request before it is sent to npaw, but I haven't found the specific API to do that yet
If I find a way to inject custom properties into the request, we could generate a UUID or something for each event, and then both inject and also bubble up to Flutter
EDIT: it seems like the hook to change the request before the event is sent out only allows to change already defined properties, not add custom ones
The goal is to have a RS event where we can add arbitrary metadata to the NPAW play session.
We should hook into either NPAW even or some kind of "playback started" event. We should make sure that every NPAW playback session has at least one corresponding RS event, but can have more than one (just don't send them like every second).