Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: modules/mediastream/RTCPeerConnection.idl

Issue 37053003: Roll IDL to multivm@1467 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « modules/mediastream/NavigatorMediaStream.idl ('k') | modules/notifications/Notification.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 [RaisesException] void setLocalDescription(RTCSessionDescription description , [Default=Undefined] optional VoidCallback successCallback, [Default=Undefined] optional RTCErrorCallback failureCallback); 42 [RaisesException] void setLocalDescription(RTCSessionDescription description , [Default=Undefined] optional VoidCallback successCallback, [Default=Undefined] optional RTCErrorCallback failureCallback);
43 [GetterRaisesException] readonly attribute RTCSessionDescription localDescri ption; 43 [GetterRaisesException] readonly attribute RTCSessionDescription localDescri ption;
44 44
45 [RaisesException] void setRemoteDescription(RTCSessionDescription descriptio n, [Default=Undefined] optional VoidCallback successCallback, [Default=Undefined ] optional RTCErrorCallback failureCallback); 45 [RaisesException] void setRemoteDescription(RTCSessionDescription descriptio n, [Default=Undefined] optional VoidCallback successCallback, [Default=Undefined ] optional RTCErrorCallback failureCallback);
46 [GetterRaisesException] readonly attribute RTCSessionDescription remoteDescr iption; 46 [GetterRaisesException] readonly attribute RTCSessionDescription remoteDescr iption;
47 47
48 readonly attribute DOMString signalingState; 48 readonly attribute DOMString signalingState;
49 49
50 [RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints); 50 [RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints);
51 51
52 // DEPRECATED
52 [RaisesException] void addIceCandidate(RTCIceCandidate candidate); 53 [RaisesException] void addIceCandidate(RTCIceCandidate candidate);
53 54
55 [RaisesException] void addIceCandidate(RTCIceCandidate candidate, VoidCallba ck successCallback, RTCErrorCallback failureCallback);
56
54 readonly attribute DOMString iceGatheringState; 57 readonly attribute DOMString iceGatheringState;
55 readonly attribute DOMString iceConnectionState; 58 readonly attribute DOMString iceConnectionState;
56 59
57 sequence<MediaStream> getLocalStreams(); 60 sequence<MediaStream> getLocalStreams();
58 sequence<MediaStream> getRemoteStreams(); 61 sequence<MediaStream> getRemoteStreams();
59 MediaStream getStreamById(DOMString streamId); 62 MediaStream getStreamById(DOMString streamId);
60 63
61 [StrictTypeChecking, RaisesException] void addStream(MediaStream stream, opt ional Dictionary mediaConstraints); 64 [StrictTypeChecking, RaisesException] void addStream(MediaStream stream, opt ional Dictionary mediaConstraints);
62 [StrictTypeChecking, RaisesException] void removeStream(MediaStream stream); 65 [StrictTypeChecking, RaisesException] void removeStream(MediaStream stream);
63 66
64 void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional MediaStreamTrack selector); 67 void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional MediaStreamTrack selector);
65 68
66 [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString label, optional Dictionary options); 69 [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString label, optional Dictionary options);
67 70
68 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); 71 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track);
69 72
70 [RaisesException] void close(); 73 [RaisesException] void close();
71 74
72 attribute EventHandler onnegotiationneeded; 75 attribute EventHandler onnegotiationneeded;
73 attribute EventHandler onicecandidate; 76 attribute EventHandler onicecandidate;
74 attribute EventHandler onsignalingstatechange; 77 attribute EventHandler onsignalingstatechange;
75 attribute EventHandler onaddstream; 78 attribute EventHandler onaddstream;
76 attribute EventHandler onremovestream; 79 attribute EventHandler onremovestream;
77 attribute EventHandler oniceconnectionstatechange; 80 attribute EventHandler oniceconnectionstatechange;
78 attribute EventHandler ondatachannel; 81 attribute EventHandler ondatachannel;
79 }; 82 };
80 83
OLDNEW
« no previous file with comments | « modules/mediastream/NavigatorMediaStream.idl ('k') | modules/notifications/Notification.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698