Time for a Google search. "signalr maximum text length" which found
"There's no maximum message size but we recommend < 32K per message" on the Github home site. ref: https://github.com/SignalR/SignalR/issues/1205
That got us trialling different sizes of messages on XMRemoteRobot with the finding that our maximum reliable message string length is 32700 characters.
We process the still images from our robots into 'base64' encoded strings of about 640K in length so that is not going to work as a single chunk. Next steps in this development:
- For stills to store on a server for a security camera application we will roll back to HTTPS and AJAX.
- For video streaming the most promising technology from our Internet readings is "WebRTC" which is direct peer-to-peer communication with the need for an initial protocol setup step which requires a server. Various sources are reporting that SignalR is good value for that initial setup step. Ref:
https://www.skylinetechnologies.com/Blog/Skyline-Blog/February-2013/Peer-to-Peer-Media-Streaming-with-WebRTC-and-Signa
A possible alternative. "Ricardo" writes about achieving video streaming without audio over SignalR:
https://weblogs.asp.net/ricardoperes/video-streaming-with-asp-net-signalr-and-html5
No comments:
Post a Comment