summaryrefslogtreecommitdiff
path: root/scripts/messages
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-10-16 16:21:20 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-10-16 16:25:23 -0500
commitf635fe087089cd6ef420ce37d8f639209efd7e69 (patch)
treed0954e3939fd4ed4740b8d8777e79baa62b2f23d /scripts/messages
parent8d27c7db426f9a1b5d994d93247318100865c368 (diff)
SL-20473 Add GenericStreamingMessage and dummy handler to suppress packet loss and log spam noise when visiting GLTF enabled regions.
Diffstat (limited to 'scripts/messages')
-rwxr-xr-xscripts/messages/message_template.msg19
-rwxr-xr-xscripts/messages/message_template.msg.sha12
2 files changed, 20 insertions, 1 deletions
diff --git a/scripts/messages/message_template.msg b/scripts/messages/message_template.msg
index a3ddc6d336..c019a76793 100755
--- a/scripts/messages/message_template.msg
+++ b/scripts/messages/message_template.msg
@@ -5790,6 +5790,25 @@ version 2.0
}
}
+// GenericStreamingMessage
+// Optimized generic message for streaming arbitrary data to viewer
+// Avoid payloads over 7KB (8KB ceiling)
+// Method -- magic number indicating method to use to decode payload:
+// 0x4175 - GLTF material override data
+// Payload -- data to be decoded
+{
+ GenericStreamingMessage High 31 Trusted Unencoded
+ {
+ MethodData Single
+ { Method U16 }
+ }
+
+ {
+ DataBlock Single
+ { Data Variable 2 }
+ }
+}
+
// LargeGenericMessage
// Similar to the above messages, but can handle larger payloads and serialized
// LLSD. Uses HTTP transport
diff --git a/scripts/messages/message_template.msg.sha1 b/scripts/messages/message_template.msg.sha1
index 4712a03e8d..5ad85458e9 100755
--- a/scripts/messages/message_template.msg.sha1
+++ b/scripts/messages/message_template.msg.sha1
@@ -1 +1 @@
-dddb11f7e45f1779ff536819f36a20e63d572ba8 \ No newline at end of file
+e3bd0529a647d938ab6d48f26d21dd52c07ebc6e \ No newline at end of file