RtmpPublishingElement

  • array<RtmpPublishingElementDataSpec> rtmp_data_
    • Note: Additional rtmp publishing specs can be added via RPC commands to the element.
  • optional string authorizer_name_ = if this is specified we use it to authorize publishing

RtmpPublishingElementDataSpec:

  • string name_
    • name of the media
  • string media_type_
    • Expected media type to be received.

  • optional string save_dir_
    • if this is on we accept 'save' and 'append' commands and we put saved files here, under server's media directory
  • optional bool append_only_
    • only append to the same stream of data (do not create a new save instance even when required)
  • optional int buildup_interval_sec_
    • accumulate data in post processing in intervals this long (longer intervals are more efficient, shorter, makes historical data faster available for serving
  • optional int buildup_delay_sec_
    • extra-delay post-processing by this interval
  • optional int prefill_buffer_ms_
    • set this to 0 for real-time stuff
  • optional int avance_media_ms_
    • set this to 0 for real-time stuff