Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Filename: The name/path of a file to be used for playback
  • Url: The URL of a video stream to be used for playback
  • EncryptionAlgorithm: The encryption algorithm to use for encrypted playback
  • EncryptionKey: The encryption key to use for encrypted playback
  • FadeInLength: The length (in milliseconds) of fade-in at the beginning of the media
  • FadOutLength: The length (in milliseconds) of fade-out at the end of the media
  • Transform: The rotation of the video. See the SetTransform() entry for a list of applicable values.
  • Decoder: The friendly_name of the decoder that you wish to use to play the video.
  • LoopMode: The looping mode for media playback. See the SetLoopMode() entry for a list of applicable values.
  • ViewMode: The view mode of the video window. See the SetViewMode() entry for a list of applicable values.
  • StreamLatency: The amount of deviation (in milliseconds) from the default latency value: For example, a value of -500 will reduce the latency by half a second; a 500 value will increase the latency by half a second; and a 0 value will specify the default latency. Specifying a negative value will not change the buffer size; instead, it will give the buffer less time to fill up before playback begins. Usable values extend to approximately -750, though this value may differ depending on the network environment. Reducing the latency too much will result in obvious playback stutter.
  • StreamFadeIn: The length (in milliseconds) of audio/video fade-in for streams.
  • StreamLowLatency: Low-latency mode for RTSP streams. Setting this parameter to True will achieve the lowest possible latency for a stream, but at a reduced maximum bitrate.
  • StreamProbe: The stream probe type. This parameter can be set to "deep" (to include video dimensions, audio sample rate, etc.) or "shallow".
  • StreamMaxBitrate: The maximum initial bitrate (in bytes) for adaptive streaming.

...

  • EncryptionAlgorithm: The file-encryption algorithm. The following are the current options:
    • "AesCtr": The AES algorithm in CTR mode.
    • "AesCtrHmac": The AES algorithm in CTR mode with HMAC. 
    • "TsAesEcb": The AES algorithm in ECB mode (e.g. with a Harmonic Prostream). This algorithm is currently used for streaming encryption/decryption.
    • "TsAesCbcRbt": The AES algorithm in CBC mode with residual block termination. This algorithm is used for streaming encryption/decryption.
  • EncryptionKey: A byte array consisting of 128 bits of key. If the encryption algorithm is AES-CTR or AES-CTR-HMAC, this is followed by 128 bits of IV.

...