| // Copyright 2016 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module media; |
| |
| import "lib/media/fidl/media_transport.fidl"; |
| import "lib/media/fidl/media_types.fidl"; |
| import "lib/media/fidl/timeline_controller.fidl"; |
| |
| // Models a service that renders content. |
| interface MediaRenderer { |
| // Gets the list of supported media types. |
| GetSupportedMediaTypes@0() => (array<MediaTypeSet> supported_media_types); |
| |
| // Sets the media type of the stream to be delivered. |
| SetMediaType@1(MediaType media_type); |
| |
| // Gets the packet consumer for the stream to be delivered. |
| GetPacketConsumer@2(MediaPacketConsumer& packet_consumer); |
| |
| // Requests the timeline control point for this output. |
| GetTimelineControlPoint@3(MediaTimelineControlPoint& timeline_control_point); |
| }; |