Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by Shrikky23 · Jun 14, 2017 at 07:07 PM · networkingtexture2drendertexturevideo streamingscreencapture

Live screen share Unity3D

Hello,

I have a networked game, My server is a VR player who has all the gameplay scenes. He does basic things like moving around, picking up stuff etc.

My client is an UI player with a handheld device that has Radar and other information to help the player in the server.

Server : - I need to screen capture and stream it to my Client.

Client - Has UI and also has a video feed box of size 640x480 where I want to feed in what my Player is seeing in his camera, a pure gameplay feed live streamed.

Please tell me a good way to do it and any reference link.

My thought process : 1. I tried using Render texture, but I can't sync it or send it using command/RPC 2. I believe I need to somehow capture all the bytes from the render texture and compress it to 640x480 before I can send the byte array over network.

Thank you in advance for your help !

Comment
Add comment · Show 3
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 landon912 · Jun 14, 2017 at 08:40 PM 0
Share

Here is an older answer that will work with RenderTextures.

avatar image Shrikky23 landon912 · Jun 17, 2017 at 05:52 PM 0
Share

I did go through that when browsing, I am think how bad the latency will be? Will it lag if I capture every other frame and send it over network?

avatar image virendravishth · Nov 29, 2019 at 10:13 AM 0
Share

Hi @Shrikky23, Sorry for posting on an old thread.

Have you found a way to implement as intended by you?? If yes, how. I am also struggling to find the same.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by thelghome · Jun 09, 2020 at 10:11 AM

FMETP STREAM is low latency Game View Sharing solution.

http://u3d.as/1uHj

It’s also cross platforms.

Comment
Add comment · 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
-1

Answer by WheresMommy · Nov 29, 2019 at 11:11 AM

Did you think about not using Unity for this? So if you have a server, cant you just use software like OBS to capture your screen and then use your client and a webfeed to get the image back?

Comment
Add comment · 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

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

98 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Efficient way of handling Point Clouds 1 Answer

All pixels drawn on my RenderTexture with a Sprite Diffuse material are shown as black instead of the intended texture colour 1 Answer

Sending image data through SyncVar doesn't work (Mirror Networking) 0 Answers

How to save a RenderTexture to a png from a different camera? 1 Answer

Why is ReadPixels on my RenderTexture creating a pure gray texture? 1 Answer


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