FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

New option to control the stream id generation by erlichmen · Pull Request #40 · binaryjs/binaryjs · GitHub

Repository navigation

New option to control the stream id generation - #40

Open
erlichmen wants to merge 1 commit into
binaryjs:masterfrom
sambame:patch-2
Open

erlichmen wants to merge 1 commit into
binaryjs:masterfrom
sambame:patch-2

Conversation

Copy link
Copy Markdown

New server option to control the generation of the stream id, the default behaviour is incrementing numbers (odds for server side stream, even for client side stream) but for all kinds of proposes you might want to control how those ids are generated.

New server option to control the generation of the stream id, the default behaviour is incrementing numbers (odds for server side stream, even for client side stream) but for all kinds of proposes you might want to control how those ids are generated.

Copy link
Copy Markdown

On my side, I created a custom ID, server side because when 2 clients connects they always get the same ID which leads to errors.

Stream ID should be returned by the server when connection is opened.

Copy link
Copy Markdown
Author

@arnaudbreton interesting can you post the changes?

Copy link
Copy Markdown

It's not integrated in BinaryJS at the moment, fully handled in my code.

This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL