media server logo
产品用户指南

流和连接访问

Create named publisher or receiver access on an existing SRT or RTMP server without opening the entire server to unknown connections.

在 Callaba 中找到Quick start → Streams
此模块的作用

A Stream is an access object: it binds a protocol server, connection role and identity rule. Create it before handing URLs or stream keys to encoders and receivers.

开始之前

  • A running SRT or RTMP server.

  • The intended role: publisher sends media; receiver consumes it.

  • A planned stream ID, stream key or allowed host that does not collide with another connection.

设置说明

仅解释操作员需要的控件;内部字段名和实现事件不会显示。

Identity

Name the connection and choose its server.

Name

Operator-facing name for the encoder, feed or receiver.

Active

Allow the connection object to be used after it is saved.

Protocol

Choose SRT or RTMP to match the owning server and client.

Streaming server

Select the existing server that accepts this connection.

Access

Grant only the role and identity the client needs.

Role

Publisher sends a feed; receiver reads a feed.

Stream ID or stream key

Stable media identifier used by the client connection.

Allowed host

Optional IP-based restriction for the connecting client.

安全的首次工作流

  1. 01

    Open Streams and choose the same protocol as the target server.

  2. 02

    Select the running server and choose Publisher or Receiver.

  3. 03

    Set the stream identity or permitted host required by the server access policy.

  4. 04

    Save and start the Stream.

  5. 05

    Use the generated connection details in one real encoder or receiver and verify media.

工作流示例

适用场景

Give a remote encoder publisher-only access

An external operator should send one feed but must not receive other feeds.

EncoderPublisher
Stream accessOne identity
SRT or RTMP serverIngest
DownstreamAuthorized workflow
动画工作流图: Give a remote encoder publisher-only access

构建方法

  1. 1

    Create a Publisher Stream on the selected server.

  2. 2

    Assign a unique stream ID/key or restrict the known encoder host.

  3. 3

    Send only that connection detail to the encoder operator.

  4. 4

    Start the encoder and verify that a different identity is rejected.

适用场景

Create a receiver for a monitored output

A decoder or confidence monitor should read one named stream.

Live serverAvailable feed
Receiver accessRead role
DecoderConnect
MonitorPlayback
动画工作流图: Create a receiver for a monitored output

构建方法

  1. 1

    Create a Receiver Stream on the server that owns the live feed.

  2. 2

    Use the expected stream identity and optional receiver host restriction.

  3. 3

    Connect the decoder with the generated receiver details.

  4. 4

    Confirm playback and server-side connection state.

验证结果

  • The intended publisher or receiver connects with its assigned role.
  • An incorrect stream identity is rejected when explicit access is enabled.
  • The owning server and live statistics show the expected connection.

故障排除

A valid client is rejected

检查
  • Compare protocol and selected server.
  • Check role, stream identity and host restriction exactly.
然后执行

Correct the single mismatched access value; do not enable allow-all as a diagnostic shortcut.