Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by MaynardJ4193 · Jul 03, 2014 at 03:24 PM · kinectcompressionsocketssending

how to send and receive data

I am very new to unity, and programming in general. I am working on a game, and I would like some help/advice. I am using a kinect, and I have a set of data points for the joints. I can store them in a file, but I would like to send them to another computer / server to store for later use. I would also like to be able to get the data back through the game and use the data in the game over and over.

I have tried to send the data as a string using udp socket, but I was losing way too much data. I decided to try to compress the data, but I can't do it using System.IO.Compression. I am stuck, and I was hoping someone could give me some advice. Thank you very much.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Graham-Dunnett ♦♦ · Jul 03, 2014 at 03:24 PM 0
Share

Use tcp ins$$anonymous$$d of udp?

avatar image MaynardJ4193 · Jul 03, 2014 at 03:27 PM 0
Share

Thank you for the suggestion, I will try that really quick. I was thinking it would slow everything down quite a bit, but it is worth a shot. Any other suggestions?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Entwicklerpages · Jul 03, 2014 at 06:17 PM

I don't know much about kinect, so I don't know how much data you have. Because you say udp have a too great loss-rate, I think you have MUCH data. My idea would be to save them to a file and upload it at some point. (For example if it gets to big or if the user is in the main menu, a loading screen, what ever). You also could split the file and upload them one after one. If the user leave the menu, etc. you abort the uploading process and continue if the user come back.

For what specific use you want to upload the data? Multiplayer? This could change the way you send the data completly.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MaynardJ4193 · Jul 09, 2014 at 05:14 PM 0
Share

I am just sending the data points of joint locations to a server to store for later use.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to get Kinect skeleton joint data(x,y,z) 1 Answer

Implementing movements into kinect 0 Answers

Kinect application released in webplayer 0 Answers

Hi guys. How do i make a script to my avatar controller using kinect 2.0. Unfortunately the example of unity isnt for free. 0 Answers

how to convert a mouse input to a swipe forward input using kinect xbox360 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges