OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 library media_source_mojom; | 5 library media_source_mojom; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'package:mojo/bindings.dart' as bindings; | 7 import 'package:mojo/bindings.dart' as bindings; |
8 import 'package:mojo/core.dart' as core; | 8 import 'package:mojo/core.dart' as core; |
9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
10 import 'package:mojo_services/mojo/media/media_clock.mojom.dart' as media_clock_
mojom; | 10 import 'package:mojo_services/mojo/media/media_clock.mojom.dart' as media_clock_
mojom; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 Map toJson() { | 111 Map toJson() { |
112 Map map = new Map(); | 112 Map map = new Map(); |
113 map["index"] = index; | 113 map["index"] = index; |
114 map["mediaType"] = mediaType; | 114 map["mediaType"] = mediaType; |
115 map["originalMediaType"] = originalMediaType; | 115 map["originalMediaType"] = originalMediaType; |
116 return map; | 116 return map; |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 | |
122 | |
123 class MediaSourceStatus extends bindings.Struct { | 121 class MediaSourceStatus extends bindings.Struct { |
124 static const List<bindings.StructDataHeader> kVersions = const [ | 122 static const List<bindings.StructDataHeader> kVersions = const [ |
125 const bindings.StructDataHeader(24, 0) | 123 const bindings.StructDataHeader(24, 0) |
126 ]; | 124 ]; |
127 media_state_mojom.MediaState state = null; | 125 media_state_mojom.MediaState state = null; |
128 media_metadata_mojom.MediaMetadata metadata = null; | 126 media_metadata_mojom.MediaMetadata metadata = null; |
129 | 127 |
130 MediaSourceStatus() : super(kVersions.last.size); | 128 MediaSourceStatus() : super(kVersions.last.size); |
131 | 129 |
132 static MediaSourceStatus deserialize(bindings.Message message) { | 130 static MediaSourceStatus deserialize(bindings.Message message) { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 202 |
205 Map toJson() { | 203 Map toJson() { |
206 Map map = new Map(); | 204 Map map = new Map(); |
207 map["state"] = state; | 205 map["state"] = state; |
208 map["metadata"] = metadata; | 206 map["metadata"] = metadata; |
209 return map; | 207 return map; |
210 } | 208 } |
211 } | 209 } |
212 | 210 |
213 | 211 |
214 | |
215 | |
216 class _MediaSourceGetStreamsParams extends bindings.Struct { | 212 class _MediaSourceGetStreamsParams extends bindings.Struct { |
217 static const List<bindings.StructDataHeader> kVersions = const [ | 213 static const List<bindings.StructDataHeader> kVersions = const [ |
218 const bindings.StructDataHeader(8, 0) | 214 const bindings.StructDataHeader(8, 0) |
219 ]; | 215 ]; |
220 | 216 |
221 _MediaSourceGetStreamsParams() : super(kVersions.last.size); | 217 _MediaSourceGetStreamsParams() : super(kVersions.last.size); |
222 | 218 |
223 static _MediaSourceGetStreamsParams deserialize(bindings.Message message) { | 219 static _MediaSourceGetStreamsParams deserialize(bindings.Message message) { |
224 var decoder = new bindings.Decoder(message); | 220 var decoder = new bindings.Decoder(message); |
225 var result = decode(decoder); | 221 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 return "_MediaSourceGetStreamsParams("")"; | 260 return "_MediaSourceGetStreamsParams("")"; |
265 } | 261 } |
266 | 262 |
267 Map toJson() { | 263 Map toJson() { |
268 Map map = new Map(); | 264 Map map = new Map(); |
269 return map; | 265 return map; |
270 } | 266 } |
271 } | 267 } |
272 | 268 |
273 | 269 |
274 | |
275 | |
276 class MediaSourceGetStreamsResponseParams extends bindings.Struct { | 270 class MediaSourceGetStreamsResponseParams extends bindings.Struct { |
277 static const List<bindings.StructDataHeader> kVersions = const [ | 271 static const List<bindings.StructDataHeader> kVersions = const [ |
278 const bindings.StructDataHeader(16, 0) | 272 const bindings.StructDataHeader(16, 0) |
279 ]; | 273 ]; |
280 List<MediaSourceStreamDescriptor> streams = null; | 274 List<MediaSourceStreamDescriptor> streams = null; |
281 | 275 |
282 MediaSourceGetStreamsResponseParams() : super(kVersions.last.size); | 276 MediaSourceGetStreamsResponseParams() : super(kVersions.last.size); |
283 | 277 |
284 static MediaSourceGetStreamsResponseParams deserialize(bindings.Message messag
e) { | 278 static MediaSourceGetStreamsResponseParams deserialize(bindings.Message messag
e) { |
285 var decoder = new bindings.Decoder(message); | 279 var decoder = new bindings.Decoder(message); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 } | 348 } |
355 | 349 |
356 Map toJson() { | 350 Map toJson() { |
357 Map map = new Map(); | 351 Map map = new Map(); |
358 map["streams"] = streams; | 352 map["streams"] = streams; |
359 return map; | 353 return map; |
360 } | 354 } |
361 } | 355 } |
362 | 356 |
363 | 357 |
364 | |
365 | |
366 class _MediaSourceGetClockDispositionParams extends bindings.Struct { | 358 class _MediaSourceGetClockDispositionParams extends bindings.Struct { |
367 static const List<bindings.StructDataHeader> kVersions = const [ | 359 static const List<bindings.StructDataHeader> kVersions = const [ |
368 const bindings.StructDataHeader(8, 0) | 360 const bindings.StructDataHeader(8, 0) |
369 ]; | 361 ]; |
370 | 362 |
371 _MediaSourceGetClockDispositionParams() : super(kVersions.last.size); | 363 _MediaSourceGetClockDispositionParams() : super(kVersions.last.size); |
372 | 364 |
373 static _MediaSourceGetClockDispositionParams deserialize(bindings.Message mess
age) { | 365 static _MediaSourceGetClockDispositionParams deserialize(bindings.Message mess
age) { |
374 var decoder = new bindings.Decoder(message); | 366 var decoder = new bindings.Decoder(message); |
375 var result = decode(decoder); | 367 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 return "_MediaSourceGetClockDispositionParams("")"; | 406 return "_MediaSourceGetClockDispositionParams("")"; |
415 } | 407 } |
416 | 408 |
417 Map toJson() { | 409 Map toJson() { |
418 Map map = new Map(); | 410 Map map = new Map(); |
419 return map; | 411 return map; |
420 } | 412 } |
421 } | 413 } |
422 | 414 |
423 | 415 |
424 | |
425 | |
426 class MediaSourceGetClockDispositionResponseParams extends bindings.Struct { | 416 class MediaSourceGetClockDispositionResponseParams extends bindings.Struct { |
427 static const List<bindings.StructDataHeader> kVersions = const [ | 417 static const List<bindings.StructDataHeader> kVersions = const [ |
428 const bindings.StructDataHeader(16, 0) | 418 const bindings.StructDataHeader(16, 0) |
429 ]; | 419 ]; |
430 media_clock_mojom.ClockDisposition clockDisposition = null; | 420 media_clock_mojom.ClockDisposition clockDisposition = null; |
431 | 421 |
432 MediaSourceGetClockDispositionResponseParams() : super(kVersions.last.size); | 422 MediaSourceGetClockDispositionResponseParams() : super(kVersions.last.size); |
433 | 423 |
434 static MediaSourceGetClockDispositionResponseParams deserialize(bindings.Messa
ge message) { | 424 static MediaSourceGetClockDispositionResponseParams deserialize(bindings.Messa
ge message) { |
435 var decoder = new bindings.Decoder(message); | 425 var decoder = new bindings.Decoder(message); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 } | 482 } |
493 | 483 |
494 Map toJson() { | 484 Map toJson() { |
495 Map map = new Map(); | 485 Map map = new Map(); |
496 map["clockDisposition"] = clockDisposition; | 486 map["clockDisposition"] = clockDisposition; |
497 return map; | 487 return map; |
498 } | 488 } |
499 } | 489 } |
500 | 490 |
501 | 491 |
502 | |
503 | |
504 class _MediaSourceGetMasterClockParams extends bindings.Struct { | 492 class _MediaSourceGetMasterClockParams extends bindings.Struct { |
505 static const List<bindings.StructDataHeader> kVersions = const [ | 493 static const List<bindings.StructDataHeader> kVersions = const [ |
506 const bindings.StructDataHeader(16, 0) | 494 const bindings.StructDataHeader(16, 0) |
507 ]; | 495 ]; |
508 Object masterClock = null; | 496 Object masterClock = null; |
509 | 497 |
510 _MediaSourceGetMasterClockParams() : super(kVersions.last.size); | 498 _MediaSourceGetMasterClockParams() : super(kVersions.last.size); |
511 | 499 |
512 static _MediaSourceGetMasterClockParams deserialize(bindings.Message message)
{ | 500 static _MediaSourceGetMasterClockParams deserialize(bindings.Message message)
{ |
513 var decoder = new bindings.Decoder(message); | 501 var decoder = new bindings.Decoder(message); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 "masterClock: $masterClock" ")"; | 553 "masterClock: $masterClock" ")"; |
566 } | 554 } |
567 | 555 |
568 Map toJson() { | 556 Map toJson() { |
569 throw new bindings.MojoCodecError( | 557 throw new bindings.MojoCodecError( |
570 'Object containing handles cannot be encoded to JSON.'); | 558 'Object containing handles cannot be encoded to JSON.'); |
571 } | 559 } |
572 } | 560 } |
573 | 561 |
574 | 562 |
575 | |
576 | |
577 class _MediaSourceSetMasterClockParams extends bindings.Struct { | 563 class _MediaSourceSetMasterClockParams extends bindings.Struct { |
578 static const List<bindings.StructDataHeader> kVersions = const [ | 564 static const List<bindings.StructDataHeader> kVersions = const [ |
579 const bindings.StructDataHeader(16, 0) | 565 const bindings.StructDataHeader(16, 0) |
580 ]; | 566 ]; |
581 Object masterClock = null; | 567 Object masterClock = null; |
582 | 568 |
583 _MediaSourceSetMasterClockParams() : super(kVersions.last.size); | 569 _MediaSourceSetMasterClockParams() : super(kVersions.last.size); |
584 | 570 |
585 static _MediaSourceSetMasterClockParams deserialize(bindings.Message message)
{ | 571 static _MediaSourceSetMasterClockParams deserialize(bindings.Message message)
{ |
586 var decoder = new bindings.Decoder(message); | 572 var decoder = new bindings.Decoder(message); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 "masterClock: $masterClock" ")"; | 624 "masterClock: $masterClock" ")"; |
639 } | 625 } |
640 | 626 |
641 Map toJson() { | 627 Map toJson() { |
642 throw new bindings.MojoCodecError( | 628 throw new bindings.MojoCodecError( |
643 'Object containing handles cannot be encoded to JSON.'); | 629 'Object containing handles cannot be encoded to JSON.'); |
644 } | 630 } |
645 } | 631 } |
646 | 632 |
647 | 633 |
648 | |
649 | |
650 class _MediaSourceGetProducerParams extends bindings.Struct { | 634 class _MediaSourceGetProducerParams extends bindings.Struct { |
651 static const List<bindings.StructDataHeader> kVersions = const [ | 635 static const List<bindings.StructDataHeader> kVersions = const [ |
652 const bindings.StructDataHeader(16, 0) | 636 const bindings.StructDataHeader(16, 0) |
653 ]; | 637 ]; |
654 int streamIndex = 0; | 638 int streamIndex = 0; |
655 Object producer = null; | 639 Object producer = null; |
656 | 640 |
657 _MediaSourceGetProducerParams() : super(kVersions.last.size); | 641 _MediaSourceGetProducerParams() : super(kVersions.last.size); |
658 | 642 |
659 static _MediaSourceGetProducerParams deserialize(bindings.Message message) { | 643 static _MediaSourceGetProducerParams deserialize(bindings.Message message) { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 "producer: $producer" ")"; | 708 "producer: $producer" ")"; |
725 } | 709 } |
726 | 710 |
727 Map toJson() { | 711 Map toJson() { |
728 throw new bindings.MojoCodecError( | 712 throw new bindings.MojoCodecError( |
729 'Object containing handles cannot be encoded to JSON.'); | 713 'Object containing handles cannot be encoded to JSON.'); |
730 } | 714 } |
731 } | 715 } |
732 | 716 |
733 | 717 |
734 | |
735 | |
736 class _MediaSourceGetPullModeProducerParams extends bindings.Struct { | 718 class _MediaSourceGetPullModeProducerParams extends bindings.Struct { |
737 static const List<bindings.StructDataHeader> kVersions = const [ | 719 static const List<bindings.StructDataHeader> kVersions = const [ |
738 const bindings.StructDataHeader(16, 0) | 720 const bindings.StructDataHeader(16, 0) |
739 ]; | 721 ]; |
740 int streamIndex = 0; | 722 int streamIndex = 0; |
741 Object producer = null; | 723 Object producer = null; |
742 | 724 |
743 _MediaSourceGetPullModeProducerParams() : super(kVersions.last.size); | 725 _MediaSourceGetPullModeProducerParams() : super(kVersions.last.size); |
744 | 726 |
745 static _MediaSourceGetPullModeProducerParams deserialize(bindings.Message mess
age) { | 727 static _MediaSourceGetPullModeProducerParams deserialize(bindings.Message mess
age) { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 "producer: $producer" ")"; | 792 "producer: $producer" ")"; |
811 } | 793 } |
812 | 794 |
813 Map toJson() { | 795 Map toJson() { |
814 throw new bindings.MojoCodecError( | 796 throw new bindings.MojoCodecError( |
815 'Object containing handles cannot be encoded to JSON.'); | 797 'Object containing handles cannot be encoded to JSON.'); |
816 } | 798 } |
817 } | 799 } |
818 | 800 |
819 | 801 |
820 | |
821 | |
822 class _MediaSourceGetStatusParams extends bindings.Struct { | 802 class _MediaSourceGetStatusParams extends bindings.Struct { |
823 static const List<bindings.StructDataHeader> kVersions = const [ | 803 static const List<bindings.StructDataHeader> kVersions = const [ |
824 const bindings.StructDataHeader(16, 0) | 804 const bindings.StructDataHeader(16, 0) |
825 ]; | 805 ]; |
826 int versionLastSeen = 0; | 806 int versionLastSeen = 0; |
827 | 807 |
828 _MediaSourceGetStatusParams() : super(kVersions.last.size); | 808 _MediaSourceGetStatusParams() : super(kVersions.last.size); |
829 | 809 |
830 static _MediaSourceGetStatusParams deserialize(bindings.Message message) { | 810 static _MediaSourceGetStatusParams deserialize(bindings.Message message) { |
831 var decoder = new bindings.Decoder(message); | 811 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 } | 864 } |
885 | 865 |
886 Map toJson() { | 866 Map toJson() { |
887 Map map = new Map(); | 867 Map map = new Map(); |
888 map["versionLastSeen"] = versionLastSeen; | 868 map["versionLastSeen"] = versionLastSeen; |
889 return map; | 869 return map; |
890 } | 870 } |
891 } | 871 } |
892 | 872 |
893 | 873 |
894 | |
895 | |
896 class MediaSourceGetStatusResponseParams extends bindings.Struct { | 874 class MediaSourceGetStatusResponseParams extends bindings.Struct { |
897 static const List<bindings.StructDataHeader> kVersions = const [ | 875 static const List<bindings.StructDataHeader> kVersions = const [ |
898 const bindings.StructDataHeader(24, 0) | 876 const bindings.StructDataHeader(24, 0) |
899 ]; | 877 ]; |
900 int version = 0; | 878 int version = 0; |
901 MediaSourceStatus status = null; | 879 MediaSourceStatus status = null; |
902 | 880 |
903 MediaSourceGetStatusResponseParams() : super(kVersions.last.size); | 881 MediaSourceGetStatusResponseParams() : super(kVersions.last.size); |
904 | 882 |
905 static MediaSourceGetStatusResponseParams deserialize(bindings.Message message
) { | 883 static MediaSourceGetStatusResponseParams deserialize(bindings.Message message
) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 | 951 |
974 Map toJson() { | 952 Map toJson() { |
975 Map map = new Map(); | 953 Map map = new Map(); |
976 map["version"] = version; | 954 map["version"] = version; |
977 map["status"] = status; | 955 map["status"] = status; |
978 return map; | 956 return map; |
979 } | 957 } |
980 } | 958 } |
981 | 959 |
982 | 960 |
983 | |
984 | |
985 class _MediaSourcePrepareParams extends bindings.Struct { | 961 class _MediaSourcePrepareParams extends bindings.Struct { |
986 static const List<bindings.StructDataHeader> kVersions = const [ | 962 static const List<bindings.StructDataHeader> kVersions = const [ |
987 const bindings.StructDataHeader(8, 0) | 963 const bindings.StructDataHeader(8, 0) |
988 ]; | 964 ]; |
989 | 965 |
990 _MediaSourcePrepareParams() : super(kVersions.last.size); | 966 _MediaSourcePrepareParams() : super(kVersions.last.size); |
991 | 967 |
992 static _MediaSourcePrepareParams deserialize(bindings.Message message) { | 968 static _MediaSourcePrepareParams deserialize(bindings.Message message) { |
993 var decoder = new bindings.Decoder(message); | 969 var decoder = new bindings.Decoder(message); |
994 var result = decode(decoder); | 970 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 return "_MediaSourcePrepareParams("")"; | 1009 return "_MediaSourcePrepareParams("")"; |
1034 } | 1010 } |
1035 | 1011 |
1036 Map toJson() { | 1012 Map toJson() { |
1037 Map map = new Map(); | 1013 Map map = new Map(); |
1038 return map; | 1014 return map; |
1039 } | 1015 } |
1040 } | 1016 } |
1041 | 1017 |
1042 | 1018 |
1043 | |
1044 | |
1045 class MediaSourcePrepareResponseParams extends bindings.Struct { | 1019 class MediaSourcePrepareResponseParams extends bindings.Struct { |
1046 static const List<bindings.StructDataHeader> kVersions = const [ | 1020 static const List<bindings.StructDataHeader> kVersions = const [ |
1047 const bindings.StructDataHeader(8, 0) | 1021 const bindings.StructDataHeader(8, 0) |
1048 ]; | 1022 ]; |
1049 | 1023 |
1050 MediaSourcePrepareResponseParams() : super(kVersions.last.size); | 1024 MediaSourcePrepareResponseParams() : super(kVersions.last.size); |
1051 | 1025 |
1052 static MediaSourcePrepareResponseParams deserialize(bindings.Message message)
{ | 1026 static MediaSourcePrepareResponseParams deserialize(bindings.Message message)
{ |
1053 var decoder = new bindings.Decoder(message); | 1027 var decoder = new bindings.Decoder(message); |
1054 var result = decode(decoder); | 1028 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 return "MediaSourcePrepareResponseParams("")"; | 1067 return "MediaSourcePrepareResponseParams("")"; |
1094 } | 1068 } |
1095 | 1069 |
1096 Map toJson() { | 1070 Map toJson() { |
1097 Map map = new Map(); | 1071 Map map = new Map(); |
1098 return map; | 1072 return map; |
1099 } | 1073 } |
1100 } | 1074 } |
1101 | 1075 |
1102 | 1076 |
1103 | |
1104 | |
1105 class _MediaSourceFlushParams extends bindings.Struct { | 1077 class _MediaSourceFlushParams extends bindings.Struct { |
1106 static const List<bindings.StructDataHeader> kVersions = const [ | 1078 static const List<bindings.StructDataHeader> kVersions = const [ |
1107 const bindings.StructDataHeader(8, 0) | 1079 const bindings.StructDataHeader(8, 0) |
1108 ]; | 1080 ]; |
1109 | 1081 |
1110 _MediaSourceFlushParams() : super(kVersions.last.size); | 1082 _MediaSourceFlushParams() : super(kVersions.last.size); |
1111 | 1083 |
1112 static _MediaSourceFlushParams deserialize(bindings.Message message) { | 1084 static _MediaSourceFlushParams deserialize(bindings.Message message) { |
1113 var decoder = new bindings.Decoder(message); | 1085 var decoder = new bindings.Decoder(message); |
1114 var result = decode(decoder); | 1086 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 return "_MediaSourceFlushParams("")"; | 1125 return "_MediaSourceFlushParams("")"; |
1154 } | 1126 } |
1155 | 1127 |
1156 Map toJson() { | 1128 Map toJson() { |
1157 Map map = new Map(); | 1129 Map map = new Map(); |
1158 return map; | 1130 return map; |
1159 } | 1131 } |
1160 } | 1132 } |
1161 | 1133 |
1162 | 1134 |
1163 | |
1164 | |
1165 class MediaSourceFlushResponseParams extends bindings.Struct { | 1135 class MediaSourceFlushResponseParams extends bindings.Struct { |
1166 static const List<bindings.StructDataHeader> kVersions = const [ | 1136 static const List<bindings.StructDataHeader> kVersions = const [ |
1167 const bindings.StructDataHeader(8, 0) | 1137 const bindings.StructDataHeader(8, 0) |
1168 ]; | 1138 ]; |
1169 | 1139 |
1170 MediaSourceFlushResponseParams() : super(kVersions.last.size); | 1140 MediaSourceFlushResponseParams() : super(kVersions.last.size); |
1171 | 1141 |
1172 static MediaSourceFlushResponseParams deserialize(bindings.Message message) { | 1142 static MediaSourceFlushResponseParams deserialize(bindings.Message message) { |
1173 var decoder = new bindings.Decoder(message); | 1143 var decoder = new bindings.Decoder(message); |
1174 var result = decode(decoder); | 1144 var result = decode(decoder); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 String toString() { | 1182 String toString() { |
1213 return "MediaSourceFlushResponseParams("")"; | 1183 return "MediaSourceFlushResponseParams("")"; |
1214 } | 1184 } |
1215 | 1185 |
1216 Map toJson() { | 1186 Map toJson() { |
1217 Map map = new Map(); | 1187 Map map = new Map(); |
1218 return map; | 1188 return map; |
1219 } | 1189 } |
1220 } | 1190 } |
1221 | 1191 |
1222 | |
1223 | |
1224 | |
1225 const int _MediaSource_getStreamsName = 0; | 1192 const int _MediaSource_getStreamsName = 0; |
1226 const int _MediaSource_getClockDispositionName = 1; | 1193 const int _MediaSource_getClockDispositionName = 1; |
1227 const int _MediaSource_getMasterClockName = 2; | 1194 const int _MediaSource_getMasterClockName = 2; |
1228 const int _MediaSource_setMasterClockName = 3; | 1195 const int _MediaSource_setMasterClockName = 3; |
1229 const int _MediaSource_getProducerName = 4; | 1196 const int _MediaSource_getProducerName = 4; |
1230 const int _MediaSource_getPullModeProducerName = 5; | 1197 const int _MediaSource_getPullModeProducerName = 5; |
1231 const int _MediaSource_getStatusName = 6; | 1198 const int _MediaSource_getStatusName = 6; |
1232 const int _MediaSource_prepareName = 7; | 1199 const int _MediaSource_prepareName = 7; |
1233 const int _MediaSource_flushName = 8; | 1200 const int _MediaSource_flushName = 8; |
1234 | 1201 |
1235 | |
1236 | |
1237 class _MediaSourceServiceDescription implements service_describer.ServiceDescrip
tion { | 1202 class _MediaSourceServiceDescription implements service_describer.ServiceDescrip
tion { |
1238 dynamic getTopLevelInterface([Function responseFactory]) => | 1203 dynamic getTopLevelInterface([Function responseFactory]) => |
1239 responseFactory(null); | 1204 responseFactory(null); |
1240 | 1205 |
1241 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1206 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
1242 responseFactory(null); | 1207 responseFactory(null); |
1243 | 1208 |
1244 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1209 dynamic getAllTypeDefinitions([Function responseFactory]) => |
1245 responseFactory(null); | 1210 responseFactory(null); |
1246 } | 1211 } |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1736 static service_describer.ServiceDescription get serviceDescription { | 1701 static service_describer.ServiceDescription get serviceDescription { |
1737 if (_cachedServiceDescription == null) { | 1702 if (_cachedServiceDescription == null) { |
1738 _cachedServiceDescription = new _MediaSourceServiceDescription(); | 1703 _cachedServiceDescription = new _MediaSourceServiceDescription(); |
1739 } | 1704 } |
1740 return _cachedServiceDescription; | 1705 return _cachedServiceDescription; |
1741 } | 1706 } |
1742 } | 1707 } |
1743 | 1708 |
1744 | 1709 |
1745 | 1710 |
OLD | NEW |