| Index: mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart
|
| index 507df9fbcadc7d01abe87979553a839207e3d92a..cbd129a28191546327a1a2fcc5a26fbc4abe147b 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart
|
| @@ -8,6 +8,8 @@ import 'dart:async';
|
|
|
| import 'package:mojo/bindings.dart' as bindings;
|
| import 'package:mojo/core.dart' as core;
|
| +import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types;
|
| +import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer;
|
| import 'package:mojo_services/mojo/media/media_common.mojom.dart' as media_common_mojom;
|
| import 'package:mojo_services/mojo/media/media_pipe.mojom.dart' as media_pipe_mojom;
|
| import 'package:mojo_services/mojo/media/media_types.mojom.dart' as media_types_mojom;
|
| @@ -80,6 +82,8 @@ class _MediaProducerConnectParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class MediaProducerConnectResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -138,6 +142,8 @@ class MediaProducerConnectResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _MediaProducerDisconnectParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -196,6 +202,8 @@ class _MediaProducerDisconnectParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _MediaPullModeProducerGetBufferParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -254,6 +262,8 @@ class _MediaPullModeProducerGetBufferParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class MediaPullModeProducerGetBufferResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -320,6 +330,8 @@ class MediaPullModeProducerGetBufferResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _MediaPullModeProducerPullPacketParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -388,6 +400,8 @@ class _MediaPullModeProducerPullPacketParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class MediaPullModeProducerPullPacketResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -456,6 +470,8 @@ class MediaPullModeProducerPullPacketResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _MediaPullModeProducerReleasePacketParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -524,6 +540,8 @@ class _MediaPullModeProducerReleasePacketParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _MediaConsumerSetBufferParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -598,6 +616,8 @@ class _MediaConsumerSetBufferParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class MediaConsumerSetBufferResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -656,6 +676,8 @@ class MediaConsumerSetBufferResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _MediaConsumerPushPacketParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -724,6 +746,8 @@ class _MediaConsumerPushPacketParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class MediaConsumerPushPacketResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -781,9 +805,22 @@ class MediaConsumerPushPacketResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _MediaProducer_connectName = 0;
|
| const int _MediaProducer_disconnectName = 1;
|
|
|
| +
|
| +
|
| +class _MediaProducerServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class MediaProducer {
|
| static const String serviceName = null;
|
| dynamic connect(Object consumer,[Function responseFactory = null]);
|
| @@ -806,6 +843,9 @@ class _MediaProducerProxyImpl extends bindings.Proxy {
|
| return new _MediaProducerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _MediaProducerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _MediaProducer_connectName:
|
| @@ -1003,12 +1043,25 @@ class MediaProducerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _MediaProducerServiceDescription();
|
| }
|
|
|
| const int _MediaPullModeProducer_getBufferName = 0;
|
| const int _MediaPullModeProducer_pullPacketName = 1;
|
| const int _MediaPullModeProducer_releasePacketName = 2;
|
|
|
| +
|
| +
|
| +class _MediaPullModeProducerServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class MediaPullModeProducer {
|
| static const String serviceName = null;
|
| dynamic getBuffer([Function responseFactory = null]);
|
| @@ -1032,6 +1085,9 @@ class _MediaPullModeProducerProxyImpl extends bindings.Proxy {
|
| return new _MediaPullModeProducerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _MediaPullModeProducerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _MediaPullModeProducer_getBufferName:
|
| @@ -1286,11 +1342,24 @@ class MediaPullModeProducerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _MediaPullModeProducerServiceDescription();
|
| }
|
|
|
| const int _MediaConsumer_setBufferName = 0;
|
| const int _MediaConsumer_pushPacketName = 1;
|
|
|
| +
|
| +
|
| +class _MediaConsumerServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class MediaConsumer {
|
| static const String serviceName = null;
|
| dynamic setBuffer(core.MojoSharedBuffer buffer,int size,[Function responseFactory = null]);
|
| @@ -1313,6 +1382,9 @@ class _MediaConsumerProxyImpl extends bindings.Proxy {
|
| return new _MediaConsumerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _MediaConsumerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _MediaConsumer_setBufferName:
|
| @@ -1553,6 +1625,10 @@ class MediaConsumerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _MediaConsumerServiceDescription();
|
| }
|
|
|
|
|
| +
|
|
|