Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / api / cast_streaming_udp_transport.idl
index 11ca003..8106a58 100644 (file)
@@ -26,5 +26,17 @@ namespace cast.streaming.udpTransport {
     // |destination| : The address and port to send packets to.
     [nocompile] static void setDestination(long transportId,
                                            IPEndPoint destination);
+
+    // Sets the options.
+    // Attributes of this object will be used to activate optional
+    // behaviours in the transport. Normally this is only used for
+    // experimentation. Must be called before setDestination.
+    // |transportId| : The transport ID that is created by
+    // chrome.cast.streaming.session.create().
+    // |options| : A dictionary of key-value pairs of options.
+    // See media/cast/net/cast_transport_sender_impl.h for supported
+    // options.
+    [nocompile] static void setOptions(long transportId,
+                                       object options);
   };
 };