From 9e1f159d24d9e767fe189fd75d2f9dda8a8ab35c Mon Sep 17 00:00:00 2001 From: Sven Paulsen Date: Thu, 5 Oct 2023 17:33:16 +0200 Subject: [PATCH] update to version 1.6.0 --- bin/android-aarch64/libodin.so | 4 ++-- bin/android-x86_64/libodin.so | 4 ++-- bin/ios-aarch64/libodin.dylib | 4 ++-- bin/ios-x86_64/libodin.dylib | 2 +- bin/linux-aarch64/libodin.so | 4 ++-- bin/linux-x86_64/libodin.so | 4 ++-- bin/macos-aarch64/libodin.dylib | 4 ++-- bin/macos-x86_64/libodin.dylib | 4 ++-- bin/windows-aarch64/odin.dll | 4 ++-- bin/windows-aarch64/odin.lib | 4 ++-- bin/windows-x86_64/odin.dll | 4 ++-- bin/windows-x86_64/odin.lib | 4 ++-- include/odin.h | 26 +++++--------------------- 13 files changed, 28 insertions(+), 44 deletions(-) diff --git a/bin/android-aarch64/libodin.so b/bin/android-aarch64/libodin.so index a074fe1..3bae6fc 100755 --- a/bin/android-aarch64/libodin.so +++ b/bin/android-aarch64/libodin.so @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f684ba448f5be2be8e6da1d2e7c85e3d155368ca707e124aeecc25249dabf14d -size 10392072 +oid sha256:110e4a24126c6250bfdbc712588392d50e8f8d5d031f0bc1ae512203ed80ad91 +size 10387464 diff --git a/bin/android-x86_64/libodin.so b/bin/android-x86_64/libodin.so index 9652178..a899f42 100755 --- a/bin/android-x86_64/libodin.so +++ b/bin/android-x86_64/libodin.so @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba1a0303502ccdebc33cec1f3095c2d6a5855a7b883d865abca3add598fb5420 -size 11944256 +oid sha256:55fab71b131ec1f129099fa65cb031327b645107059ce77120e6503e5588442b +size 11939992 diff --git a/bin/ios-aarch64/libodin.dylib b/bin/ios-aarch64/libodin.dylib index 8ef8521..aed07d3 100755 --- a/bin/ios-aarch64/libodin.dylib +++ b/bin/ios-aarch64/libodin.dylib @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a27c7e97e578cd4179a4ff56d7e2c1815035a48dcfb8736e79621ae69a1797c1 -size 9771776 +oid sha256:a661e268f9e0f5ae8f1ef5803f52db3e3fc7414028cb6486ac541d19c773dbe8 +size 9771760 diff --git a/bin/ios-x86_64/libodin.dylib b/bin/ios-x86_64/libodin.dylib index 02d9e6e..c697ce2 100755 --- a/bin/ios-x86_64/libodin.dylib +++ b/bin/ios-x86_64/libodin.dylib @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bab711f3b21cca287436c0bcfcd58fdb805557db19fa96e8fb69c11d8dd1d848 +oid sha256:e34539dbfb17e863f04ecd80e1845451d8bf97b8b5c9fac1b0c1ef00e1ce19e9 size 10818528 diff --git a/bin/linux-aarch64/libodin.so b/bin/linux-aarch64/libodin.so index 8597a2e..1f18273 100755 --- a/bin/linux-aarch64/libodin.so +++ b/bin/linux-aarch64/libodin.so @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cc0248acc9d1ee1ebeb21985b8e0e97d7023c4fe0985d246079b2e515dd9b4a9 -size 10390040 +oid sha256:877f514382a06ed5e316080b691ed9698f42790d1484c43c15f02c2dc58e11bf +size 10385920 diff --git a/bin/linux-x86_64/libodin.so b/bin/linux-x86_64/libodin.so index 8d77355..bdadfb5 100755 --- a/bin/linux-x86_64/libodin.so +++ b/bin/linux-x86_64/libodin.so @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:770e66af95c2fc143cfec583eaa0d3b73825e43df9f0bcfb729e13e7b06d7b09 -size 11889176 +oid sha256:058cc8b3bf0448d7036b3076417d2d5d7ddd96e5253fbd630083001dc4327bf4 +size 11885048 diff --git a/bin/macos-aarch64/libodin.dylib b/bin/macos-aarch64/libodin.dylib index cecb07e..b97dca6 100755 --- a/bin/macos-aarch64/libodin.dylib +++ b/bin/macos-aarch64/libodin.dylib @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6a1a89ad9b61214740393ab98e4bd76a7e96c6411d2027625e2d3cbe89874b2b -size 9759520 +oid sha256:bb5643b9a4e9f927b0bb34e2097d00aacd668fbb36a89e959cc78b65796383ee +size 9759504 diff --git a/bin/macos-x86_64/libodin.dylib b/bin/macos-x86_64/libodin.dylib index c629a0c..db10882 100755 --- a/bin/macos-x86_64/libodin.dylib +++ b/bin/macos-x86_64/libodin.dylib @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5c8b8155528ef9f0ca7a84378880681631881d272a6539cdedc12f914a6f6547 -size 10817808 +oid sha256:7af68c414698c01ee4a91d02170f16b259ea3fcf0296b40d883a38f1891762cc +size 10817792 diff --git a/bin/windows-aarch64/odin.dll b/bin/windows-aarch64/odin.dll index 8b08804..9115f37 100644 --- a/bin/windows-aarch64/odin.dll +++ b/bin/windows-aarch64/odin.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:40228a06678117de676ab822448118a13b15d71bee1c8244a9c5424ee4e22303 -size 10610952 +oid sha256:32e582b4d7a48dbf14faae2657d89a67798208fce2d2f126976139d4d128a770 +size 10599688 diff --git a/bin/windows-aarch64/odin.lib b/bin/windows-aarch64/odin.lib index 8e093ed..0b0971d 100644 --- a/bin/windows-aarch64/odin.lib +++ b/bin/windows-aarch64/odin.lib @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4883e6c2ba2afc36627461a4555528d71a2b2f0078dd04af73c75e7f1959b746 -size 18116 +oid sha256:36f4b8d2f2381683a246e758f9c34d75675f61aa7c608f5435bad3f5dd4c256e +size 18142 diff --git a/bin/windows-x86_64/odin.dll b/bin/windows-x86_64/odin.dll index 4c3f2a6..8602f60 100644 --- a/bin/windows-x86_64/odin.dll +++ b/bin/windows-x86_64/odin.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2558b478c62f7dfb9c6a7201a04cb18147169e8ff47fc6a9ebf57f0f8b8c31f4 -size 12390664 +oid sha256:e9f9555ce7ec561e6a08ba5fa3adebc32a68b11191af47043fb07dab9bac7d24 +size 12379912 diff --git a/bin/windows-x86_64/odin.lib b/bin/windows-x86_64/odin.lib index 82352c5..6493e95 100644 --- a/bin/windows-x86_64/odin.lib +++ b/bin/windows-x86_64/odin.lib @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:44969d82f3b6a24560728aa88e3e01c78ce37ad83a2d5a5a5d85e4b418dc157b -size 17934 +oid sha256:1a5f7fbf024f662a20351f7afa65de7aa6e27bb701bb9f02d646f272cda32fb5 +size 17960 diff --git a/include/odin.h b/include/odin.h index 50a55f1..97310bf 100644 --- a/include/odin.h +++ b/include/odin.h @@ -117,20 +117,6 @@ typedef enum OdinTokenAudience { OdinTokenAudience_Sfu, } OdinTokenAudience; -/** - * Supported targets for user data updates. - */ -typedef enum OdinUserDataTarget { - /** - * Individual user data for your own peer - */ - OdinUserDataTarget_Peer, - /** - * Global user data for the room - */ - OdinUserDataTarget_Room, -} OdinUserDataTarget; - /** * A pointer to a local ODIN token generator, employed for generating signed room tokens predicated * on an access key. Be aware that access keys serve as your unique authentication keys, requisite @@ -663,16 +649,14 @@ OdinReturnCode odin_room_peer_id(OdinRoomHandle room, uint64_t *out_peer_id); OdinReturnCode odin_room_connection_stats(OdinRoomHandle room, struct OdinConnectionStats *stats); /** - * Updates the custom user data for either your own peer or the specified `OdinRoomHandle` itself. - * All user data is synced automatically, which allows storing of arbitrary information for each - * individual peer and even globally for the room if needed. + * Updates the custom user data for your own peer. All user data is synced automatically, which + * allows storing of arbitrary information for each individual peer. * * Note: Use this before calling `odin_room_join` to set initial peer user data upon connect. */ -OdinReturnCode odin_room_update_user_data(OdinRoomHandle room, - enum OdinUserDataTarget target, - const uint8_t *user_data, - size_t user_data_length); +OdinReturnCode odin_room_update_peer_user_data(OdinRoomHandle room, + const uint8_t *user_data, + size_t user_data_length); /** * Updates the three-dimensional position of the current peer within the specified `OdinRoomHandle`.