Skip to content

thinkuldeep/MJPEGServerUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a sample Unity3D Project to Mjpg streaming it runs a server at given port.

To use:

  1. Open "/Assets/Scenes/SampleScene.unity" in Unity3D.

  2. Change the port in GameObject "StreamingServer".

  3. Play the scene and wait a few seconds.

  4. Access the mjpeg stream of the game at http://localhost:8080

Instructions

  1. Create sterming server instance in the Start()
  2. Push the texture2d to as stream in the update method using _server.WriteToStream(_jpgTexture);

You may also download StreamingServer.unitypackage and use it.

Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages