Expand description
This endpoint acts as a server for RTMP clients that want to publish or watch RTMP live streams. Workflow steps send a message requesting to allow RTMP publishers or watchers for specific port, RTMP application and stream key combinations. The RTMP server endpoint will register the specified port with the networking infrastructure for listening for connections, and any networked traffic over that port will be forwarded to this endpoint.
It will then perform handshaking and all other RTMP protocol actions, disconnecting clients if they don’t conform to the RTMP protocol correctly, or if they attempt to publish or watch an application name and stream key combination that isn’t actively registered.
Incoming publish actions (such as new metadata, media packets, etc…) are passed to the workflow steps that were registered for that application/stream key combination. Likewise, when the endpoint receives media from workflow steps it will route that media to the correct RTMP watcher clients
Structs§
- Rtmp
Endpoint Media Message - Message watcher registrants send to announce new media data that should be sent to watchers
Enums§
- IpRestriction
- Specifies if there are any IP address restrictions as part of an RTMP server registration
- Registration
Type - Type of registration the request is related to
- Rtmp
Endpoint Media Data - New media data that should be sent to watchers
- Rtmp
Endpoint Publisher Message - Messages the rtmp server endpoint will send to publisher registrants.
- Rtmp
Endpoint Request - Operations the rtmp server endpoint is being requested to make
- Rtmp
Endpoint Watcher Notification - Messages the rtmp server endpoint will send to watcher registrants
- Stream
KeyRegistration - Specifies how a stream key should be registered for playback or publishing
- Validation
Response - Response to approval/validation requests
Functions§
- start_
rtmp_ server_ endpoint - Starts a new RTMP server endpoint, returning a channel that can be used to send notifications and requests to it.