{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/2158","repository_url":"https://api.github.com/repos/w3c/webrtc-pc","labels_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/2158/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/2158/comments","events_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/2158/events","html_url":"https://github.com/w3c/webrtc-pc/issues/2158","id":428098928,"node_id":"MDU6SXNzdWU0MjgwOTg5Mjg=","number":2158,"title":"DataChannel max value for \"id\" before connecting?","user":{"login":"alvestrand","id":480893,"node_id":"MDQ6VXNlcjQ4MDg5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/480893?v=4","gravatar_id":"","url":"https://api.github.com/users/alvestrand","html_url":"https://github.com/alvestrand","followers_url":"https://api.github.com/users/alvestrand/followers","following_url":"https://api.github.com/users/alvestrand/following{/other_user}","gists_url":"https://api.github.com/users/alvestrand/gists{/gist_id}","starred_url":"https://api.github.com/users/alvestrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvestrand/subscriptions","organizations_url":"https://api.github.com/users/alvestrand/orgs","repos_url":"https://api.github.com/users/alvestrand/repos","events_url":"https://api.github.com/users/alvestrand/events{/privacy}","received_events_url":"https://api.github.com/users/alvestrand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"alvestrand","id":480893,"node_id":"MDQ6VXNlcjQ4MDg5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/480893?v=4","gravatar_id":"","url":"https://api.github.com/users/alvestrand","html_url":"https://github.com/alvestrand","followers_url":"https://api.github.com/users/alvestrand/followers","following_url":"https://api.github.com/users/alvestrand/following{/other_user}","gists_url":"https://api.github.com/users/alvestrand/gists{/gist_id}","starred_url":"https://api.github.com/users/alvestrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvestrand/subscriptions","organizations_url":"https://api.github.com/users/alvestrand/orgs","repos_url":"https://api.github.com/users/alvestrand/repos","events_url":"https://api.github.com/users/alvestrand/events{/privacy}","received_events_url":"https://api.github.com/users/alvestrand/received_events","type":"User","site_admin":false},"assignees":[{"login":"alvestrand","id":480893,"node_id":"MDQ6VXNlcjQ4MDg5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/480893?v=4","gravatar_id":"","url":"https://api.github.com/users/alvestrand","html_url":"https://github.com/alvestrand","followers_url":"https://api.github.com/users/alvestrand/followers","following_url":"https://api.github.com/users/alvestrand/following{/other_user}","gists_url":"https://api.github.com/users/alvestrand/gists{/gist_id}","starred_url":"https://api.github.com/users/alvestrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvestrand/subscriptions","organizations_url":"https://api.github.com/users/alvestrand/orgs","repos_url":"https://api.github.com/users/alvestrand/repos","events_url":"https://api.github.com/users/alvestrand/events{/privacy}","received_events_url":"https://api.github.com/users/alvestrand/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2019-04-02T08:49:18Z","updated_at":"2019-06-06T13:24:08Z","closed_at":"2019-06-06T13:24:08Z","author_association":"CONTRIBUTOR","body":"Current spec says:\r\n\r\n18. If [[DataChannelId]] is equal to 65535, which is greater than the maximum allowed ID of 65534 but still qualifies as an unsigned short, throw a TypeError.\r\n\r\n20. Let transport be the connection's [[SctpTransport]] slot.\r\n\r\nIf the [[DataChannelId]] slot is not null, transport is in the connected state and [[DataChannelId]] is greater or equal to the transport's [[MaxChannels]] slot, throw an OperationError.\r\n\r\nIf the implementation knows that it will propose a max channels smaller than 65535 in negotiation, this seems like a somewhat strange decision - even though we know that the number will be rejected, we're accepting it on channel creation.\r\n\r\nShould this be changed?\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/comments/499491999","html_url":"https://github.com/w3c/webrtc-pc/issues/2158#issuecomment-499491999","issue_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/2158","id":499491999,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5OTQ5MTk5OQ==","user":{"login":"alvestrand","id":480893,"node_id":"MDQ6VXNlcjQ4MDg5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/480893?v=4","gravatar_id":"","url":"https://api.github.com/users/alvestrand","html_url":"https://github.com/alvestrand","followers_url":"https://api.github.com/users/alvestrand/followers","following_url":"https://api.github.com/users/alvestrand/following{/other_user}","gists_url":"https://api.github.com/users/alvestrand/gists{/gist_id}","starred_url":"https://api.github.com/users/alvestrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvestrand/subscriptions","organizations_url":"https://api.github.com/users/alvestrand/orgs","repos_url":"https://api.github.com/users/alvestrand/repos","events_url":"https://api.github.com/users/alvestrand/events{/privacy}","received_events_url":"https://api.github.com/users/alvestrand/received_events","type":"User","site_admin":false},"created_at":"2019-06-06T13:24:08Z","updated_at":"2019-06-06T13:24:08Z","author_association":"CONTRIBUTOR","body":"I'm closing this as \"no change needed\". There doesn't seem to be a compelling reason to change the spec; the code will have to deal with negotiating down the number of channels anyway, and we can hope that the present case (where Chrome supports 1024 channels) is not permanent.\r\n\r\n"}}
{"actor":{"display_login":"alvestrand"}}