Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 207

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 206
199
roMediaStreamer
The current implementation of this object allows an XD player to stream .ts files over UDP and RTP. Additional streaming
protocols and media file formats will be added as streaming functionality is developed. For more information, see the
Media Server tech note on the documentation page.
Object Creation: The roMediaStreamer object is created with no parameters.
CreateObject("roMediaStreamer")
Interfaces: ifMediaStreamer, ifIdentity, ifMessagePort
The ifMediaStreamer interface provides the following:
GetFailureReason() As String
SetPipeline(pipeline As String) As Boolean: Specifies a streaming pipeline. The source (a file URI)
and destination (an IP address) of the stream are specified in the passed stream. This method replaces the
SetSource() and SetDestination() methods from firmware version 4.7. To stream media as before, use the
filesimple source designation and the udpsimple/rtpsimple destination designations:
m = CreateObject("roMediaStreamer")
m.SetPipeline("filesimple:///data/clip.ts, udpsimple://239.192.0.0:1234/")
m.Start()
Initialize() As Boolean: Progresses the pipeline into the INITIALIZED state. This allocates some resources
for the pipeline, but does not begin a stream.
Connect() As Boolean: Progresses the pipeline into the CONNECTED state. This allows the script to create a
memory stream without starting it.
Start() As Boolean: Begins streaming.
Zobrazit stránku 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 340 341

Komentáře k této Příručce

Žádné komentáře