This message was deleted.
# cloud
s
This message was deleted.
n
The api is not returning any error for us.
we are trying to send payload to a targeted 1 participant sid. tested on chrome & brave & firefox
client to client room.localParticipant.publishData works.
receiver is connected via
gapsoutha
even broadcast data is not being received, same api as above without destination sids specified
published following json encoded as string to room
2c7be275-d860-4dd9-929c-6b5032aa90de
Copy code
{
  "type": "room",
  "subType": "participant:spotlight",
  "payload": {
    "action": {
      "spotlight": true
    },
    "participant": {
      "identity": "e8dfe543-6eb8-4297-afc9-7f7f27c84e37:student:0",
      "sid": "PA_gGV6mXU5QZCn"
    }
  }
}
no destination sids/broadcast to all
d
is the target participant fully connected (status=ACTIVE) at when you are trying to send it data?
n
yes, participant is fully connected. both audio& video are streaming between both participants.
d
I see. are there any differences between what you do in dev vs prod?
n
just the api key for the livekit cloud.
d
we have continuous integration tests that does this exact scenario, and that looks to be working fine. trying to understand what's different about your use cases here
n
I can run the call now, if it will help to debug.
d
we would need to figure out how to reproduce on our end.
where is the SendData being ran from? (in terms of geographic location of the caller)