-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report RTMP client connection error (#42)
* progress * tweak * allow disconnect event * Revert "allow disconnect event" This reverts commit cf1f143. * add swig file * update cxx file * Review changes * Return value * tweak * Revert * tweak * Add unit tests * minor type info change
- Loading branch information
1 parent
1400231
commit 9065d8d
Showing
7 changed files
with
360 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
const RtmpClientConnectionErrorCode = Object.freeze({ | ||
NoError: 0, | ||
Generic : 1, | ||
FailedToResolveURL : 2, | ||
GetSockOptError : 3, | ||
FailedToConnectSocket : 4, | ||
ConnectCommandFailed : 5, | ||
FailedToParseData : 6, | ||
PeerClosed : 7, | ||
ReadError : 8, | ||
PollError : 9 | ||
}); | ||
|
||
module.exports = RtmpClientConnectionErrorCode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.