Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated language

...

...


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Posts messages of type roVideoEvent to the attached message port.

ifUserData

SetUserData(user_data As Object)

...

  • Filename: The name of the image file
  • EncryptionAlgorithm: The file-encryption algorithm. Currently the options are "AesCtr" and "AesCtrHmac".
  • EncryptionKey: The key to decrypt the image file. This is a byte array consisting of 128 bits of key, followed by 128 bits of IV.

See the Image Decryption section in the roImagePlayer entry for details on displaying encrypted images.

...

Chooses a video stream from the video input based on the parameters in the passed string.

SetPreferredAudio(description As String) As Boolean

Chooses an audio stream from the video input based on the parameters in the passed string.

SetPreferredCaptions(description As String) As Boolean

Chooses a data stream from the video input based on the parameters in the passed string.

ifMediaTransport

...

Plays video using the parameters passed as an associative array. This method has several uses: Playing synchronized (and multiscreen) video using the parameters provided by the roSyncManager object; playing streaming video from a URL; playing encrypted files; or playing RF Input using the associative array provided by the CreateChannelDescriptor() method on the roChannelManager object. The associative array can contain the following parameters for audio/video playback:

...

Specifies the looping mode for media playback. If this method is passed True, a single media file will loop seamlessly if possible. If the video file cannot be looped seamlessly, then the video will loop with seams. Setting this method to False, which is the default behavior, allows for playback of multiple files in a playlist—with noticeable gaps between the end and beginning of the file. Alternatively, this method can accept an associative array with three Boolean parameters: enableenable_if_seamlessallow_seamless. The following table describes how these parameters interact:

enableenable_if_seamlessallow_seamlessBehavior
FalseXXLooping is disabled in all cases (the enable_if_seamless and allow_seamless parameters are ignored).
TrueFalse*True*The video is looped seamlessly if possible; otherwise, it is looped with seams.
True*TrueTrue*The video is looped seamlessly if possible; otherwise, it is not looped at all.
True*TrueFalseLooping is disabled in all cases.
TrueFalse*FalseThe video is looped with seams.

*or not specified.

Note
titleNote

Media End events are only sent if seamless looping is disabled, or if enable_if_seamless is enabled and the file cannot be looped seamlessly.

...

Adds a trigger that will generate an roVideoEvent when it reaches the specified time. The user data will be passed with the event and can be retrieved using the roVideoEvent.GetData() method. See the Video Timecode Events section below for more details.

...

  • SyncIsoTimeStamp: The time stamp for pausing synchronized video. This value is provided by the roSyncManager.Synchronize() method on the master leader unit and the roSyncManagerEvent.GetIsoTimeStamp() method on slave follower unit(s).
Resume(parameters As roAssociativeArray) As Boolean

...

  • SyncIsoTimeStamp: The time stamp for resuming synchronized video. This value is provided by the roSyncManager.Synchronize() method on the master leader unit and the roSyncManagerEvent.GetIsoTimeStamp() method on slave follower unit(s).
PlayEx(a As Object) As Boolean

...

Code Block
v=CreateObject("roVideoPlayer")
a=CreateObject("roAssociativeArray")
a["Filename"] = "test.ts"
a["SourceX"] = 100
a["SourceY"] = 100
a["SourceWidth"] = 1000
a["SourceHeight"] = 500
v.PlayFile(a)

 


To create a multiple-screen matrix in portrait mode, call SetViewMode(0) and SetTransform("rot90") before calling PlayFile().

...

  • EncryptionAlgorithm: The file-encryption algorithm. Currently the options are "AesCtr" and "AesCtrHmac".
  • EncryptionKey: A byte array consisting of 128 bits of key, followed by 128 bits of IV.

...


Note
titleNote

File decryption is only supported on the 4Kx42, XDx32, XDx30, and HDx22 platforms. Contact support@brightsign.biz to learn more about generating a key for obfuscation and storing it on the player.

...

Code Block
SetPreferredAudio("codec=aac,lang=eng;codec=mp3,lang=eng;;")

 

...