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

Unified Diff: chrome/common/extensions/api/webrtc_cast_send_transport.idl

Issue 90083002: Cast Extensions API: Major namespace and object renaming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_tests Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/webrtc_cast_send_transport.idl
diff --git a/chrome/common/extensions/api/webrtc_cast_send_transport.idl b/chrome/common/extensions/api/webrtc_cast_send_transport.idl
deleted file mode 100644
index e2f4fa38be6dc1b082f348ae30a780c75d13d514..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/webrtc_cast_send_transport.idl
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// The <code>chrome.webrtc.castSendTransport</code> API takes a track as
-// a source of media, and sends that media on the inner transport according to
-// the given RtpParams.
-namespace webrtc.castSendTransport {
- // Params for audio and video codec.
- dictionary CodecSpecificParams {
- DOMString key;
- DOMString value;
- };
-
- // RTP payload param.
- dictionary RtpPayloadParams {
- long payloadType;
-
- DOMString codecName;
-
- // Synchronization source identifier.
- long? ssrc;
-
- long? clockRate;
-
- long? minBitrate;
-
- long? maxBitrate;
-
- // The number of channels.
- long? channels;
-
- // Video width in pixels.
- long? width;
-
- // Video height in pixels.
- long? height;
-
- // A list of codec specific params.
- CodecSpecificParams[] codecSpecificParams;
- };
-
- // Cast transport capabilities
- dictionary RtpCaps {
- // RTP payload params.
- RtpPayloadParams[] payloads;
-
- DOMString[] rtcpFeatures;
- };
-
- // Cast transport params.
- dictionary RtpParams {
- // RTP payload params.
- RtpPayloadParams[] payloads;
-
- DOMString[] rtcpFeatures;
- };
-
- // Callback from the <code>create</code> method.
- // |id| : The transport id.
- callback CreateCallback = void (long transportId);
-
- interface Functions {
- // Destroys a cast send transport.
- // |transportId| : The transport ID.
- [nocompile] static void destroy(long transportId);
-
- // Returns capabilities of the transport.
- // |transportId| : The transport ID.
- [nocompile] static RtpCaps getCaps(long transportId);
-
- // Starts to use the transport by providing remote params info.
- // |transportId| : The transport ID.
- // |params| : Parameters set for this transport.
- [nocompile] static void start(long transportId, RtpParams params);
-
- // Stops using the transport.
- // |transportId| : The transport ID.
- [nocompile] static void stop(long transportId);
- };
-
- interface Events {
- // Event fired when a cast send transport has started.
- // |transportId| : The ID of the transport.
- static void onStarted(long transportId);
-
- // Event fired when a cast send transport has connected.
- // After this event, the transport is ready to send the track.
- // |transportId| : The ID of the transport.
- static void onConnected(long transportId);
-
- // Event fired when a cast send transport has stopped.
- // |transportId| : The ID of the transport.
- static void onStopped(long transportId);
-
- // Event fired when a cast send transport has timeout.
- // This happens when network has been congested for a while, or one side
- // left.
- // |transportId| : The ID of the transport.
- static void onTimeout(long transportId);
-
- // Event fired when a cast send transport has error.
- // |transportId| : The ID of the transport.
- // |errorString| : The error info.
- static void onError(long transportId, DOMString errorString);
- };
-};

Powered by Google App Engine
This is Rietveld 408576698