{"action":"created","issue":{"url":"https://api.github.com/repos/cargomedia/cm/issues/2029","labels_url":"https://api.github.com/repos/cargomedia/cm/issues/2029/labels{/name}","comments_url":"https://api.github.com/repos/cargomedia/cm/issues/2029/comments","events_url":"https://api.github.com/repos/cargomedia/cm/issues/2029/events","html_url":"https://github.com/cargomedia/cm/pull/2029","id":122957395,"number":2029,"title":"Create streamchannel when subscribing in Janus","user":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cargomedia/cm/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"fvovan","id":2360687,"avatar_url":"https://avatars.githubusercontent.com/u/2360687?v=3","gravatar_id":"","url":"https://api.github.com/users/fvovan","html_url":"https://github.com/fvovan","followers_url":"https://api.github.com/users/fvovan/followers","following_url":"https://api.github.com/users/fvovan/following{/other_user}","gists_url":"https://api.github.com/users/fvovan/gists{/gist_id}","starred_url":"https://api.github.com/users/fvovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvovan/subscriptions","organizations_url":"https://api.github.com/users/fvovan/orgs","repos_url":"https://api.github.com/users/fvovan/repos","events_url":"https://api.github.com/users/fvovan/events{/privacy}","received_events_url":"https://api.github.com/users/fvovan/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-12-18T14:25:07Z","updated_at":"2015-12-28T13:05:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cargomedia/cm/pulls/2029","html_url":"https://github.com/cargomedia/cm/pull/2029","diff_url":"https://github.com/cargomedia/cm/pull/2029.diff","patch_url":"https://github.com/cargomedia/cm/pull/2029.patch"},"body":"Do not throw, but rather crete stream-channel:\r\nhttps://github.com/cargomedia/cm/blob/master/library/CM/Janus/RpcEndpoints.php#L61\r\n\r\nShould we create stream-channel here only if it doesn't exist then?\r\nhttps://github.com/cargomedia/cm/blob/master/library/CM/Janus/RpcEndpoints.php#L30"},"comment":{"url":"https://api.github.com/repos/cargomedia/cm/issues/comments/167565142","html_url":"https://github.com/cargomedia/cm/pull/2029#issuecomment-167565142","issue_url":"https://api.github.com/repos/cargomedia/cm/issues/2029","id":167565142,"user":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T13:05:03Z","updated_at":"2015-12-28T13:05:03Z","body":"What about storing channel_data on Stream in cm-janus? I don't like this solution though."}}