Mark Sergienko Posted April 29, 2020 Share Posted April 29, 2020 We're trying out the upcoming version with data channels SNAPSHOT-20200422_0813 and receiving some data that is truncated: Swift using print(String.init(data: data, encoding: .utf8)): nil Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.48596491228070177,\"y\":0.5753086419753086}") Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.3900584795321637,\"y\":0.5857050032488629}") nil Optional(" \u{14}=܌\u{7F}\0\0:\"reaction\",\"positive\":true}") Optional("\u{10}KH܌\u{7F}\0\0:\"click\",\"x\":0.49298245614035086,\"y\":0.5254061078622482}") Part of the time messages received as nil Javascipt (see attached screenshot) Any idea what might be the problem? Link to comment Share on other sites More sharing options...
0 Logan McDonald Posted May 1, 2020 Share Posted May 1, 2020 Same issue here, on 2.0. Even when closing a published stream when data channels are enabled, an RTCErrorEvent is raised... is this intended behavior? On Wednesday, April 29, 2020 at 10:05:18 AM UTC-4, Mark Sergienko wrote:We're trying out the upcoming version with data channels SNAPSHOT-20200422_0813 and receiving some data that is truncated: Swift using print(String.init(data: data, encoding: .utf8)): nil Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.48596491228070177,\"y\":0.5753086419753086}") Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.3900584795321637,\"y\":0.5857050032488629}") nil Optional(" \u{14}=܌\u{7F}\0\0:\"reaction\",\"positive\":true}") Optional("\u{10}KH܌\u{7F}\0\0:\"click\",\"x\":0.49298245614035086,\"y\":0.5254061078622482}") Part of the time messages received as nil Javascipt (see attached screenshot) Any idea what might be the problem? Link to comment Share on other sites More sharing options...
0 mekya Posted May 4, 2020 Share Posted May 4, 2020 In the latest 2.0 SNAPSHOT, this issue has been fixed. We're about to release 2.0 soon. On Friday, May 1, 2020 at 6:58:45 PM UTC+3, Logan McDonald wrote:Same issue here, on 2.0. Even when closing a published stream when data channels are enabled, an RTCErrorEvent is raised... is this intended behavior? On Wednesday, April 29, 2020 at 10:05:18 AM UTC-4, Mark Sergienko wrote:We're trying out the upcoming version with data channels SNAPSHOT-20200422_0813 and receiving some data that is truncated: Swift using print(String.init(data: data, encoding: .utf8)): nil Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.48596491228070177,\"y\":0.5753086419753086}") Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.3900584795321637,\"y\":0.5857050032488629}") nil Optional(" \u{14}=܌\u{7F}\0\0:\"reaction\",\"positive\":true}") Optional("\u{10}KH܌\u{7F}\0\0:\"click\",\"x\":0.49298245614035086,\"y\":0.5254061078622482}") Part of the time messages received as nil Javascipt (see attached screenshot) Any idea what might be the problem? Link to comment Share on other sites More sharing options...
Question
Mark Sergienko
Swift using print(String.init(data: data, encoding: .utf8)):
nil
Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.48596491228070177,\"y\":0.5753086419753086}")
Optional("\0\0\0\0\0\0\0\0:\"click\",\"x\":0.3900584795321637,\"y\":0.5857050032488629}")
nil
Optional(" \u{14}=܌\u{7F}\0\0:\"reaction\",\"positive\":true}")
Optional("\u{10}KH܌\u{7F}\0\0:\"click\",\"x\":0.49298245614035086,\"y\":0.5254061078622482}")
Part of the time messages received as nil
Javascipt (see attached screenshot)
Any idea what might be the problem?
Link to comment
Share on other sites
Top Posters For This Question
1
1
1
Popular Days
Apr 29
1
May 1
1
May 4
1
Top Posters For This Question
mekya 1 post
Mark Sergienko 1 post
Logan McDonald 1 post
Popular Days
Apr 29 2020
1 post
May 1 2020
1 post
May 4 2020
1 post
Posted Images
2 answers to this question
Recommended Posts