{"json_modified": "2016-05-20T10:24:31.421681", "uuid": "dd07fb45-dd54-44d1-8e84-42d4a76ef3f1", "title": "RTCPeerConnection.onaddstream", "url": "/en-US/docs/Web/API/RTCPeerConnection/onaddstream", "tags": ["Event Handler", "Property", "WebRTC", "Streams", "RTCPeerConnection", "Experimental", "onaddstream", "Deprecated"], "translations": [{"uuid": "175a1ac0-4a80-4a48-b2e5-4dae5b7d7457", "title": "RTCPeerConnection.onaddstream", "url": "/zh-CN/docs/Web/API/RTCPeerConnection/onaddstream", "tags": [], "summary": "\u5f53\u7c7b\u578b\u4e3aMediaStreamEvent\u7684addstream \u4e8b\u4ef6\u53d1\u751f\u65f6\uff0c\u901a\u8fc7RTCPeerConnection\u89e6\u53d1RTCPeerConnection.onaddstream\u00a0\u4e8b\u4ef6\u5904\u7406\u51fd\u6570\u3002\u5f53\u8fdc\u7a0b\u5a92\u4f53\u6d41MediaStream \u6dfb\u52a0\u5230\u8fde\u63a5\u540e\u53d1\u9001\u4e8b\u4ef6\u3002\u5f53RTCPeerConnection.setRemoteDescription() \u540e\u6b64\u4e8b\u4ef6\u7acb\u5373\u88ab\u8c03\u7528\u800c\u4e0d\u9700\u8981\u7b49\u5f85SDP\u4ea4\u6362\u5b8c\u6210\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-04-21T04:27:24", "review_tags": []}], "modified": "2016-05-20T10:24:31", "label": "RTCPeerConnection.onaddstream", "localization_tags": [], "locale": "en-US", "id": 124465, "last_edit": "2016-05-13T15:32:41", "summary": "The RTCPeerConnection.onaddstream event handler is a property containing the code to execute when\u00a0the addstream event, of type MediaStreamEvent, is received by this RTCPeerConnection. Such an event is sent when a MediaStream is added to this connection by the remote peer. The event is sent immediately after the call setRemoteDescription() and doesn't wait for the result of the SDP negotiation.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/RTCPeerConnection/onaddstream", "review_tags": []}