{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/466","repository_url":"https://api.github.com/repos/w3c/webrtc-pc","labels_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/466/comments","events_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/466/events","html_url":"https://github.com/w3c/webrtc-pc/pull/466","id":126896069,"number":466,"title":"Use an enum to describe directionality of RTP Stream","user":{"login":"dontcallmedom","id":216410,"avatar_url":"https://avatars.githubusercontent.com/u/216410?v=3","gravatar_id":"","url":"https://api.github.com/users/dontcallmedom","html_url":"https://github.com/dontcallmedom","followers_url":"https://api.github.com/users/dontcallmedom/followers","following_url":"https://api.github.com/users/dontcallmedom/following{/other_user}","gists_url":"https://api.github.com/users/dontcallmedom/gists{/gist_id}","starred_url":"https://api.github.com/users/dontcallmedom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dontcallmedom/subscriptions","organizations_url":"https://api.github.com/users/dontcallmedom/orgs","repos_url":"https://api.github.com/users/dontcallmedom/repos","events_url":"https://api.github.com/users/dontcallmedom/events{/privacy}","received_events_url":"https://api.github.com/users/dontcallmedom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/webrtc-pc/labels/List%20discussion%20needed","name":"List discussion needed","color":"fbca04"},{"url":"https://api.github.com/repos/w3c/webrtc-pc/labels/Needs%20assignee%20action","name":"Needs assignee action","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"alvestrand","id":480893,"avatar_url":"https://avatars.githubusercontent.com/u/480893?v=3","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":10,"created_at":"2016-01-15T15:35:16Z","updated_at":"2016-05-03T17:18:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/w3c/webrtc-pc/pulls/466","html_url":"https://github.com/w3c/webrtc-pc/pull/466","diff_url":"https://github.com/w3c/webrtc-pc/pull/466.diff","patch_url":"https://github.com/w3c/webrtc-pc/pull/466.patch"},"body":"part of #375, basd on @martinthomson's [suggestion](https://github.com/w3c/webrtc-pc/issues/375#issuecomment-163433990)"},"comment":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/comments/216601385","html_url":"https://github.com/w3c/webrtc-pc/pull/466#issuecomment-216601385","issue_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/466","id":216601385,"user":{"login":"pthatcherg","id":7774202,"avatar_url":"https://avatars.githubusercontent.com/u/7774202?v=3","gravatar_id":"","url":"https://api.github.com/users/pthatcherg","html_url":"https://github.com/pthatcherg","followers_url":"https://api.github.com/users/pthatcherg/followers","following_url":"https://api.github.com/users/pthatcherg/following{/other_user}","gists_url":"https://api.github.com/users/pthatcherg/gists{/gist_id}","starred_url":"https://api.github.com/users/pthatcherg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pthatcherg/subscriptions","organizations_url":"https://api.github.com/users/pthatcherg/orgs","repos_url":"https://api.github.com/users/pthatcherg/repos","events_url":"https://api.github.com/users/pthatcherg/events{/privacy}","received_events_url":"https://api.github.com/users/pthatcherg/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T17:18:53Z","updated_at":"2016-05-03T17:18:53Z","body":"I thought about this some more, and I think that if we have {direction: \"sendrecv\"} in the construction of an RtpTransceiver, we probably ought to have .setDirection instead of .activateSender.  That would be easier to specify and would allow the application to change direction in any way (sender/receiver active/inactive).  \r\n\r\nBut we can't just change that in this PR.  We'd have to propose the idea on the mailing list.  Perhaps in this PR, we should just go with what we have (not mention activateSender).\r\n\r\nBut I did notice some wording issues (in particular the use of \"RTP stream\")."}}