{"action":"opened","number":123,"pull_request":{"url":"https://api.github.com/repos/cisco/libsrtp/pulls/123","id":49995031,"html_url":"https://github.com/cisco/libsrtp/pull/123","diff_url":"https://github.com/cisco/libsrtp/pull/123.diff","patch_url":"https://github.com/cisco/libsrtp/pull/123.patch","issue_url":"https://api.github.com/repos/cisco/libsrtp/issues/123","number":123,"state":"open","locked":false,"title":"Add srtp_update functions","user":{"login":"pabuhler","id":15016732,"avatar_url":"https://avatars.githubusercontent.com/u/15016732?v=3","gravatar_id":"","url":"https://api.github.com/users/pabuhler","html_url":"https://github.com/pabuhler","followers_url":"https://api.github.com/users/pabuhler/followers","following_url":"https://api.github.com/users/pabuhler/following{/other_user}","gists_url":"https://api.github.com/users/pabuhler/gists{/gist_id}","starred_url":"https://api.github.com/users/pabuhler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabuhler/subscriptions","organizations_url":"https://api.github.com/users/pabuhler/orgs","repos_url":"https://api.github.com/users/pabuhler/repos","events_url":"https://api.github.com/users/pabuhler/events{/privacy}","received_events_url":"https://api.github.com/users/pabuhler/received_events","type":"User","site_admin":false},"body":"The srtp_update and srtp_update_stream functions are provided\r\nas a way to rekey or update the policy of an existing stream while\r\npreserving the ROC as required by\r\nhttps://tools.ietf.org/html/rfc3711#section-3.3.1 .\r\n\r\nThe current implementation only preserves the ROC. It does not\r\npreserve the replay database for RTP or RTCP, that is a possible\r\nimprovement.\r\n\r\nI also have same patch for 1_5_X branch if interested.","created_at":"2015-11-06T19:34:34Z","updated_at":"2015-11-06T19:34:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cisco/libsrtp/pulls/123/commits","review_comments_url":"https://api.github.com/repos/cisco/libsrtp/pulls/123/comments","review_comment_url":"https://api.github.com/repos/cisco/libsrtp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cisco/libsrtp/issues/123/comments","statuses_url":"https://api.github.com/repos/cisco/libsrtp/statuses/bd3112ad04cc8aa1d4b37a46fecb2ec356580a86","head":{"label":"pabuhler:srtp_rekey","ref":"srtp_rekey","sha":"bd3112ad04cc8aa1d4b37a46fecb2ec356580a86","user":{"login":"pabuhler","id":15016732,"avatar_url":"https://avatars.githubusercontent.com/u/15016732?v=3","gravatar_id":"","url":"https://api.github.com/users/pabuhler","html_url":"https://github.com/pabuhler","followers_url":"https://api.github.com/users/pabuhler/followers","following_url":"https://api.github.com/users/pabuhler/following{/other_user}","gists_url":"https://api.github.com/users/pabuhler/gists{/gist_id}","starred_url":"https://api.github.com/users/pabuhler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabuhler/subscriptions","organizations_url":"https://api.github.com/users/pabuhler/orgs","repos_url":"https://api.github.com/users/pabuhler/repos","events_url":"https://api.github.com/users/pabuhler/events{/privacy}","received_events_url":"https://api.github.com/users/pabuhler/received_events","type":"User","site_admin":false},"repo":{"id":43822887,"name":"libsrtp","full_name":"pabuhler/libsrtp","owner":{"login":"pabuhler","id":15016732,"avatar_url":"https://avatars.githubusercontent.com/u/15016732?v=3","gravatar_id":"","url":"https://api.github.com/users/pabuhler","html_url":"https://github.com/pabuhler","followers_url":"https://api.github.com/users/pabuhler/followers","following_url":"https://api.github.com/users/pabuhler/following{/other_user}","gists_url":"https://api.github.com/users/pabuhler/gists{/gist_id}","starred_url":"https://api.github.com/users/pabuhler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabuhler/subscriptions","organizations_url":"https://api.github.com/users/pabuhler/orgs","repos_url":"https://api.github.com/users/pabuhler/repos","events_url":"https://api.github.com/users/pabuhler/events{/privacy}","received_events_url":"https://api.github.com/users/pabuhler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pabuhler/libsrtp","description":"Library for SRTP (Secure Realtime Transport Protocol) ","fork":true,"url":"https://api.github.com/repos/pabuhler/libsrtp","forks_url":"https://api.github.com/repos/pabuhler/libsrtp/forks","keys_url":"https://api.github.com/repos/pabuhler/libsrtp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pabuhler/libsrtp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pabuhler/libsrtp/teams","hooks_url":"https://api.github.com/repos/pabuhler/libsrtp/hooks","issue_events_url":"https://api.github.com/repos/pabuhler/libsrtp/issues/events{/number}","events_url":"https://api.github.com/repos/pabuhler/libsrtp/events","assignees_url":"https://api.github.com/repos/pabuhler/libsrtp/assignees{/user}","branches_url":"https://api.github.com/repos/pabuhler/libsrtp/branches{/branch}","tags_url":"https://api.github.com/repos/pabuhler/libsrtp/tags","blobs_url":"https://api.github.com/repos/pabuhler/libsrtp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pabuhler/libsrtp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pabuhler/libsrtp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pabuhler/libsrtp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pabuhler/libsrtp/statuses/{sha}","languages_url":"https://api.github.com/repos/pabuhler/libsrtp/languages","stargazers_url":"https://api.github.com/repos/pabuhler/libsrtp/stargazers","contributors_url":"https://api.github.com/repos/pabuhler/libsrtp/contributors","subscribers_url":"https://api.github.com/repos/pabuhler/libsrtp/subscribers","subscription_url":"https://api.github.com/repos/pabuhler/libsrtp/subscription","commits_url":"https://api.github.com/repos/pabuhler/libsrtp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pabuhler/libsrtp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pabuhler/libsrtp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pabuhler/libsrtp/issues/comments{/number}","contents_url":"https://api.github.com/repos/pabuhler/libsrtp/contents/{+path}","compare_url":"https://api.github.com/repos/pabuhler/libsrtp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pabuhler/libsrtp/merges","archive_url":"https://api.github.com/repos/pabuhler/libsrtp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pabuhler/libsrtp/downloads","issues_url":"https://api.github.com/repos/pabuhler/libsrtp/issues{/number}","pulls_url":"https://api.github.com/repos/pabuhler/libsrtp/pulls{/number}","milestones_url":"https://api.github.com/repos/pabuhler/libsrtp/milestones{/number}","notifications_url":"https://api.github.com/repos/pabuhler/libsrtp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pabuhler/libsrtp/labels{/name}","releases_url":"https://api.github.com/repos/pabuhler/libsrtp/releases{/id}","created_at":"2015-10-07T14:50:02Z","updated_at":"2015-10-07T14:50:04Z","pushed_at":"2015-11-06T19:32:10Z","git_url":"git://github.com/pabuhler/libsrtp.git","ssh_url":"git@github.com:pabuhler/libsrtp.git","clone_url":"https://github.com/pabuhler/libsrtp.git","svn_url":"https://github.com/pabuhler/libsrtp","homepage":null,"size":3871,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cisco:master","ref":"master","sha":"2583150aa9729fccfdcd58e9811cc7ed161b1ccd","user":{"login":"cisco","id":1376999,"avatar_url":"https://avatars.githubusercontent.com/u/1376999?v=3","gravatar_id":"","url":"https://api.github.com/users/cisco","html_url":"https://github.com/cisco","followers_url":"https://api.github.com/users/cisco/followers","following_url":"https://api.github.com/users/cisco/following{/other_user}","gists_url":"https://api.github.com/users/cisco/gists{/gist_id}","starred_url":"https://api.github.com/users/cisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cisco/subscriptions","organizations_url":"https://api.github.com/users/cisco/orgs","repos_url":"https://api.github.com/users/cisco/repos","events_url":"https://api.github.com/users/cisco/events{/privacy}","received_events_url":"https://api.github.com/users/cisco/received_events","type":"Organization","site_admin":false},"repo":{"id":9087423,"name":"libsrtp","full_name":"cisco/libsrtp","owner":{"login":"cisco","id":1376999,"avatar_url":"https://avatars.githubusercontent.com/u/1376999?v=3","gravatar_id":"","url":"https://api.github.com/users/cisco","html_url":"https://github.com/cisco","followers_url":"https://api.github.com/users/cisco/followers","following_url":"https://api.github.com/users/cisco/following{/other_user}","gists_url":"https://api.github.com/users/cisco/gists{/gist_id}","starred_url":"https://api.github.com/users/cisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cisco/subscriptions","organizations_url":"https://api.github.com/users/cisco/orgs","repos_url":"https://api.github.com/users/cisco/repos","events_url":"https://api.github.com/users/cisco/events{/privacy}","received_events_url":"https://api.github.com/users/cisco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cisco/libsrtp","description":"Library for SRTP (Secure Realtime Transport Protocol) ","fork":false,"url":"https://api.github.com/repos/cisco/libsrtp","forks_url":"https://api.github.com/repos/cisco/libsrtp/forks","keys_url":"https://api.github.com/repos/cisco/libsrtp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cisco/libsrtp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cisco/libsrtp/teams","hooks_url":"https://api.github.com/repos/cisco/libsrtp/hooks","issue_events_url":"https://api.github.com/repos/cisco/libsrtp/issues/events{/number}","events_url":"https://api.github.com/repos/cisco/libsrtp/events","assignees_url":"https://api.github.com/repos/cisco/libsrtp/assignees{/user}","branches_url":"https://api.github.com/repos/cisco/libsrtp/branches{/branch}","tags_url":"https://api.github.com/repos/cisco/libsrtp/tags","blobs_url":"https://api.github.com/repos/cisco/libsrtp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cisco/libsrtp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cisco/libsrtp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cisco/libsrtp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cisco/libsrtp/statuses/{sha}","languages_url":"https://api.github.com/repos/cisco/libsrtp/languages","stargazers_url":"https://api.github.com/repos/cisco/libsrtp/stargazers","contributors_url":"https://api.github.com/repos/cisco/libsrtp/contributors","subscribers_url":"https://api.github.com/repos/cisco/libsrtp/subscribers","subscription_url":"https://api.github.com/repos/cisco/libsrtp/subscription","commits_url":"https://api.github.com/repos/cisco/libsrtp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cisco/libsrtp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cisco/libsrtp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cisco/libsrtp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cisco/libsrtp/contents/{+path}","compare_url":"https://api.github.com/repos/cisco/libsrtp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cisco/libsrtp/merges","archive_url":"https://api.github.com/repos/cisco/libsrtp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cisco/libsrtp/downloads","issues_url":"https://api.github.com/repos/cisco/libsrtp/issues{/number}","pulls_url":"https://api.github.com/repos/cisco/libsrtp/pulls{/number}","milestones_url":"https://api.github.com/repos/cisco/libsrtp/milestones{/number}","notifications_url":"https://api.github.com/repos/cisco/libsrtp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cisco/libsrtp/labels{/name}","releases_url":"https://api.github.com/repos/cisco/libsrtp/releases{/id}","created_at":"2013-03-28T22:08:25Z","updated_at":"2015-10-22T07:22:57Z","pushed_at":"2015-11-02T17:57:46Z","git_url":"git://github.com/cisco/libsrtp.git","ssh_url":"git@github.com:cisco/libsrtp.git","clone_url":"https://github.com/cisco/libsrtp.git","svn_url":"https://github.com/cisco/libsrtp","homepage":null,"size":5346,"stargazers_count":163,"watchers_count":163,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":10,"forks":85,"open_issues":10,"watchers":163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cisco/libsrtp/pulls/123"},"html":{"href":"https://github.com/cisco/libsrtp/pull/123"},"issue":{"href":"https://api.github.com/repos/cisco/libsrtp/issues/123"},"comments":{"href":"https://api.github.com/repos/cisco/libsrtp/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/cisco/libsrtp/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/cisco/libsrtp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cisco/libsrtp/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/cisco/libsrtp/statuses/bd3112ad04cc8aa1d4b37a46fecb2ec356580a86"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":375,"deletions":28,"changed_files":3}}