{"action":"created","issue":{"url":"https://api.github.com/repos/openpeer/ortc/issues/194","labels_url":"https://api.github.com/repos/openpeer/ortc/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/openpeer/ortc/issues/194/comments","events_url":"https://api.github.com/repos/openpeer/ortc/issues/194/events","html_url":"https://github.com/openpeer/ortc/issues/194","id":69917234,"number":194,"title":"RTCDtlsTransport.start needs to return a promise","user":{"login":"robin-raymond","id":2962646,"avatar_url":"https://avatars.githubusercontent.com/u/2962646?v=3","gravatar_id":"","url":"https://api.github.com/users/robin-raymond","html_url":"https://github.com/robin-raymond","followers_url":"https://api.github.com/users/robin-raymond/followers","following_url":"https://api.github.com/users/robin-raymond/following{/other_user}","gists_url":"https://api.github.com/users/robin-raymond/gists{/gist_id}","starred_url":"https://api.github.com/users/robin-raymond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin-raymond/subscriptions","organizations_url":"https://api.github.com/users/robin-raymond/orgs","repos_url":"https://api.github.com/users/robin-raymond/repos","events_url":"https://api.github.com/users/robin-raymond/events{/privacy}","received_events_url":"https://api.github.com/users/robin-raymond/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openpeer/ortc/labels/1.1","name":"1.1","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-21T18:25:28Z","updated_at":"2015-04-29T14:06:39Z","closed_at":null,"body":"`RTCDtlsTransport.start()` needs to return a promise so the programmer is aware when either the remote fingerprints become verified or it fails to verify (to avoid busy polling)."},"comment":{"url":"https://api.github.com/repos/openpeer/ortc/issues/comments/97438400","html_url":"https://github.com/openpeer/ortc/issues/194#issuecomment-97438400","issue_url":"https://api.github.com/repos/openpeer/ortc/issues/194","id":97438400,"user":{"login":"aboba","id":808811,"avatar_url":"https://avatars.githubusercontent.com/u/808811?v=3","gravatar_id":"","url":"https://api.github.com/users/aboba","html_url":"https://github.com/aboba","followers_url":"https://api.github.com/users/aboba/followers","following_url":"https://api.github.com/users/aboba/following{/other_user}","gists_url":"https://api.github.com/users/aboba/gists{/gist_id}","starred_url":"https://api.github.com/users/aboba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboba/subscriptions","organizations_url":"https://api.github.com/users/aboba/orgs","repos_url":"https://api.github.com/users/aboba/repos","events_url":"https://api.github.com/users/aboba/events{/privacy}","received_events_url":"https://api.github.com/users/aboba/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T14:06:39Z","updated_at":"2015-04-29T14:06:39Z","body":"Here is a potential update to DtlsTransportState: \r\n\r\n      new\r\n      The RTCDtlsTransport object has been created and has not started negotiating yet.\r\n\r\n      connecting\r\n      DTLS is in the process of negotiating a secure connection.  Once a secure connection is negotiated and DTLS-SRTP has derived keys (but prior to verification of the remote fingerprint, enabled by calling start(), incoming media can flow through.\r\n\r\n      connected\r\n      DTLS has completed negotiation of a secure connection (including DTLS-SRTP and remote fingerprint verification). Outgoing media can now flow through.\r\n\r\n      closed\r\n      The DTLS connection has been closed intentionally or as the result of an error (such as a failure to validate the remote fingerprint).\r\n"}}