Skip to content

Get RTMP Status updates in realtime (v2.0.0.beta-3) #1584

Discussion options

You must be logged in to vote
  1. In this log, it is normal behavior that '1' does not appear. In this case, the publishing succeeded, but later it was treated as disconnected by the server.

    • RTMPStream.Error.requestFailed is returned when a value other than NetStream.Publish.Start is received. For example, NetStream.Publish.BadName, etc.
    • In this case, the handling assumes the following:
      • RTMPConnection.Code.ConnectClosed in connection.status.
      • RTMPConnection.$connected as true/false using Combine.
  2. I mistakenly referred to the wrong code. It should be caught in RTMPConnection.status, not RTMPStream.status."

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@shogo4405
Comment options

@abhinandan-chakraborty
Comment options

@shogo4405
Comment options

Answer selected by abhinandan-chakraborty
@abhinandan-chakraborty
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants