<rtmpstatus>
An indicator "light" that shows status of connection to a media server.

JavaScript: lz.rtmpstatus
extends <view> » <node> » lz.Eventable »

This element causes a small indicator "light" to show the status of the connection:

  • red: no connection

  • green: working connection

The following example shows a trivial rtmpstatus example.

<canvas height="40">
    <simplelayout spacing="5"/>
    <text text="The indicator light is red because there is no rtmp connection."/>
    <rtmpstatus/>
</canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
rtmpc expression any null read/write
  rtmpconnection to monitor
_updateStageDelegate expression any null read/write
   

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy