| 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..edccec89d537ecccb670a532112170b233e533dc 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) => (bool success);
|
| +
|
| + // Sends media packet to the destination point.
|
| + SendMediaPacket(array<uint8> packet);
|
| +};
|
|
|