Chromium Code Reviews| Index: extensions/common/mojo/wifi_display_session_service.mojom |
| diff --git a/extensions/common/mojo/wifi_display_session_service.mojom b/extensions/common/mojo/wifi_display_session_service.mojom |
| index f664a5fb8db48641e3cab4bedf72a0a0b651297b..885e5ecbcaf1bcc27c679af0a8c6408fffc978d2 100644 |
| --- a/extensions/common/mojo/wifi_display_session_service.mojom |
| +++ b/extensions/common/mojo/wifi_display_session_service.mojom |
| @@ -23,7 +23,7 @@ interface WiFiDisplaySessionService { |
| interface WiFiDisplaySessionServiceClient { |
| // Notification of a successfull connection to a sink. |
| - OnConnected(string ip_address); |
| + OnConnected(string local_ip_address, string sink_ip_address); |
| // Notification of a handled connection request. |
| OnConnectRequestHandled(bool success, string error_message); |
| @@ -43,3 +43,13 @@ interface WiFiDisplaySessionServiceClient { |
| // the connected sink. |
| OnMessage(string data); |
| }; |
| + |
| +// This interface is used to send media stream to the |
| +// connected sink. |
| +interface WiFiDisplayMediaService { |
| + // Sets the destination point for sending media stream. |
| + SetDesinationPoint(string ip_address, int32 port); |
|
shalamov
2016/04/08 11:14:56
What if address is invalid or port is already boun
|
| + |
| + // Sends media packet to the destination point. |
| + SendMediaPacket(array<uint8> packet); |
| +}; |