Petro O. Bochan
Member
Hello, when using a built-in roomApp (http://localhost:8081/apps/RoomApp) sending messages using the provided FPWCSApi2RoomManager class works just fine (onMessageCallback is invoked on the appropriate client/participant). However, when making a rest call using the following
{
"nodeId":"UCybjxNUIiJdSgV8YgaTZanb5gD7zk3V@255.255.255.255",
"operationId":"0D2FED0B-18EC-4321-A22F-E6743C918F44",
"sessionId":"/176.120.53.198:60309/10.0.0.6:8443-a5d730f6-b64f-4598-8a0f-172170f08c43",
"payload":{
"message":"hello"
}
}
I'm getting this weird response in console "Can not find room with name id (null)", "onMessageCallback" is not invoked either. This leads me to thinking that in "payload" I need to specify room name. How do I go about it?
{
"nodeId":"UCybjxNUIiJdSgV8YgaTZanb5gD7zk3V@255.255.255.255",
"operationId":"0D2FED0B-18EC-4321-A22F-E6743C918F44",
"sessionId":"/176.120.53.198:60309/10.0.0.6:8443-a5d730f6-b64f-4598-8a0f-172170f08c43",
"payload":{
"message":"hello"
}
}
I'm getting this weird response in console "Can not find room with name id (null)", "onMessageCallback" is not invoked either. This leads me to thinking that in "payload" I need to specify room name. How do I go about it?