Click or drag to resize

VideoStream Class

Allows video streaming between a single Android device and a single Desktop. FPS and resolution can be adjusted. By default, streaming must be enabled by the Android device to protect the user's privacy. ALLOW_REMOTE_CAMERA_ACTIVATION will allow camera settings to be adjusted from the desktop. Only enable this flag for debug purposes, or if both users have been informed and consented. The object contains VideoStream should also have an ASLObject!
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          ASLVideoStream

Namespace:  ASL
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class VideoStream : MonoBehaviour

The VideoStream type exposes the following members.

Constructors
  NameDescription
Public methodVideoStream
Initializes a new instance of the VideoStream class
Top
Properties
Methods
  NameDescription
Private methodAwake
Private methodForceGarbageCollection
Private methodStatic memberOnFloatsReceived
Private methodStatic memberOnFrameDelivered
Private methodRequestFrame
Public methodSendFrame
Send a single frame. Can be called from either client if ALLOW_REMOTE_CAMERA_ACTIVATION is true.
Private methodSendScreenCapture
Public methodStartStream
Start video streaming. Can be called from either client if ALLOW_REMOTE_CAMERA_ACTIVATION is true.
Private methodStartStreamingCoroutine
Public methodStopStream
Stop video streaming. Can be called from either client if ALLOW_REMOTE_CAMERA_ACTIVATION is true.
Private methodStreamVideo
Private methodSynchronizePeers
Top
Fields
See Also

Reference