| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 [RaisesException] void addTrack(MediaStreamTrack track); | 41 [RaisesException] void addTrack(MediaStreamTrack track); |
| 42 [RaisesException] void removeTrack(MediaStreamTrack track); | 42 [RaisesException] void removeTrack(MediaStreamTrack track); |
| 43 MediaStreamTrack getTrackById(DOMString trackId); | 43 MediaStreamTrack getTrackById(DOMString trackId); |
| 44 [CallWith=ExecutionContext] MediaStream clone(); | 44 [CallWith=ExecutionContext] MediaStream clone(); |
| 45 | 45 |
| 46 readonly attribute boolean active; | 46 readonly attribute boolean active; |
| 47 | 47 |
| 48 attribute EventHandler onactive; | 48 attribute EventHandler onactive; |
| 49 attribute EventHandler oninactive; | 49 attribute EventHandler oninactive; |
| 50 // DEPRECATED | 50 // DEPRECATED |
| 51 [DeprecateAs=MediaStreamOnEnded] attribute EventHandler onended; | 51 attribute EventHandler onended; |
| 52 | 52 |
| 53 attribute EventHandler onaddtrack; | 53 attribute EventHandler onaddtrack; |
| 54 attribute EventHandler onremovetrack; | 54 attribute EventHandler onremovetrack; |
| 55 }; | 55 }; |
| OLD | NEW |