Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration RTMP_STREAM_PUBLISH_ERROR

Error codes of the RTMP streaming.

Index

Enumeration members

RTMP_STREAM_PUBLISH_ERROR_CONNECTION_TIMEOUT

RTMP_STREAM_PUBLISH_ERROR_CONNECTION_TIMEOUT: = 3

Timeout for the RTMP streaming. Call the addPublishStreamUrl method to publish the streaming again.

RTMP_STREAM_PUBLISH_ERROR_ENCRYPTED_STREAM_NOT_ALLOWED

RTMP_STREAM_PUBLISH_ERROR_ENCRYPTED_STREAM_NOT_ALLOWED: = 2

The RTMP streaming is encrypted and cannot be published.

RTMP_STREAM_PUBLISH_ERROR_FORMAT_NOT_SUPPORTED

RTMP_STREAM_PUBLISH_ERROR_FORMAT_NOT_SUPPORTED: = 10

The format of the RTMP streaming URL is not supported. Check whether the URL format is correct.

RTMP_STREAM_PUBLISH_ERROR_INTERNAL_SERVER_ERROR

RTMP_STREAM_PUBLISH_ERROR_INTERNAL_SERVER_ERROR: = 4

An error occurs in Agora's streaming server. Call the addPublishStreamUrl method to publish the streaming again.

RTMP_STREAM_PUBLISH_ERROR_INVALID_ARGUMENT

RTMP_STREAM_PUBLISH_ERROR_INVALID_ARGUMENT: = 1

Invalid argument used. If, for example, you do not call the setLiveTranscoding method to configure the LiveTranscoding parameters before calling the addPublishStreamUrl method, the SDK returns this error. Check whether you set the parameters in the setLiveTranscoding method properly.

RTMP_STREAM_PUBLISH_ERROR_NOT_AUTHORIZED

RTMP_STREAM_PUBLISH_ERROR_NOT_AUTHORIZED: = 8

The host manipulates other hosts' URLs. Check your app logic.

RTMP_STREAM_PUBLISH_ERROR_OK

RTMP_STREAM_PUBLISH_ERROR_OK: = 0

The RTMP streaming publishes successfully.

RTMP_STREAM_PUBLISH_ERROR_REACH_LIMIT

RTMP_STREAM_PUBLISH_ERROR_REACH_LIMIT: = 7

The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.

RTMP_STREAM_PUBLISH_ERROR_RTMP_SERVER_ERROR

RTMP_STREAM_PUBLISH_ERROR_RTMP_SERVER_ERROR: = 5

An error occurs in the RTMP server.

RTMP_STREAM_PUBLISH_ERROR_STREAM_NOT_FOUND

RTMP_STREAM_PUBLISH_ERROR_STREAM_NOT_FOUND: = 9

Agora's server fails to find the RTMP streaming.

RTMP_STREAM_PUBLISH_ERROR_TOO_OFTEN

RTMP_STREAM_PUBLISH_ERROR_TOO_OFTEN: = 6

The RTMP streaming publishes too frequently.

Generated using TypeDoc