| 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_transport_mojom; | 5 library media_transport_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_common.mojom.dart' as media_commo
n_mojom; | 10 import 'package:mojo_services/mojo/media/media_common.mojom.dart' as media_commo
n_mojom; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "consumer: $consumer" ")"; | 77 "consumer: $consumer" ")"; |
| 78 } | 78 } |
| 79 | 79 |
| 80 Map toJson() { | 80 Map toJson() { |
| 81 throw new bindings.MojoCodecError( | 81 throw new bindings.MojoCodecError( |
| 82 'Object containing handles cannot be encoded to JSON.'); | 82 'Object containing handles cannot be encoded to JSON.'); |
| 83 } | 83 } |
| 84 } | 84 } |
| 85 | 85 |
| 86 | 86 |
| 87 | |
| 88 | |
| 89 class MediaProducerConnectResponseParams extends bindings.Struct { | 87 class MediaProducerConnectResponseParams extends bindings.Struct { |
| 90 static const List<bindings.StructDataHeader> kVersions = const [ | 88 static const List<bindings.StructDataHeader> kVersions = const [ |
| 91 const bindings.StructDataHeader(8, 0) | 89 const bindings.StructDataHeader(8, 0) |
| 92 ]; | 90 ]; |
| 93 | 91 |
| 94 MediaProducerConnectResponseParams() : super(kVersions.last.size); | 92 MediaProducerConnectResponseParams() : super(kVersions.last.size); |
| 95 | 93 |
| 96 static MediaProducerConnectResponseParams deserialize(bindings.Message message
) { | 94 static MediaProducerConnectResponseParams deserialize(bindings.Message message
) { |
| 97 var decoder = new bindings.Decoder(message); | 95 var decoder = new bindings.Decoder(message); |
| 98 var result = decode(decoder); | 96 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 return "MediaProducerConnectResponseParams("")"; | 135 return "MediaProducerConnectResponseParams("")"; |
| 138 } | 136 } |
| 139 | 137 |
| 140 Map toJson() { | 138 Map toJson() { |
| 141 Map map = new Map(); | 139 Map map = new Map(); |
| 142 return map; | 140 return map; |
| 143 } | 141 } |
| 144 } | 142 } |
| 145 | 143 |
| 146 | 144 |
| 147 | |
| 148 | |
| 149 class _MediaProducerDisconnectParams extends bindings.Struct { | 145 class _MediaProducerDisconnectParams extends bindings.Struct { |
| 150 static const List<bindings.StructDataHeader> kVersions = const [ | 146 static const List<bindings.StructDataHeader> kVersions = const [ |
| 151 const bindings.StructDataHeader(8, 0) | 147 const bindings.StructDataHeader(8, 0) |
| 152 ]; | 148 ]; |
| 153 | 149 |
| 154 _MediaProducerDisconnectParams() : super(kVersions.last.size); | 150 _MediaProducerDisconnectParams() : super(kVersions.last.size); |
| 155 | 151 |
| 156 static _MediaProducerDisconnectParams deserialize(bindings.Message message) { | 152 static _MediaProducerDisconnectParams deserialize(bindings.Message message) { |
| 157 var decoder = new bindings.Decoder(message); | 153 var decoder = new bindings.Decoder(message); |
| 158 var result = decode(decoder); | 154 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 return "_MediaProducerDisconnectParams("")"; | 193 return "_MediaProducerDisconnectParams("")"; |
| 198 } | 194 } |
| 199 | 195 |
| 200 Map toJson() { | 196 Map toJson() { |
| 201 Map map = new Map(); | 197 Map map = new Map(); |
| 202 return map; | 198 return map; |
| 203 } | 199 } |
| 204 } | 200 } |
| 205 | 201 |
| 206 | 202 |
| 207 | |
| 208 | |
| 209 class _MediaPullModeProducerGetBufferParams extends bindings.Struct { | 203 class _MediaPullModeProducerGetBufferParams extends bindings.Struct { |
| 210 static const List<bindings.StructDataHeader> kVersions = const [ | 204 static const List<bindings.StructDataHeader> kVersions = const [ |
| 211 const bindings.StructDataHeader(8, 0) | 205 const bindings.StructDataHeader(8, 0) |
| 212 ]; | 206 ]; |
| 213 | 207 |
| 214 _MediaPullModeProducerGetBufferParams() : super(kVersions.last.size); | 208 _MediaPullModeProducerGetBufferParams() : super(kVersions.last.size); |
| 215 | 209 |
| 216 static _MediaPullModeProducerGetBufferParams deserialize(bindings.Message mess
age) { | 210 static _MediaPullModeProducerGetBufferParams deserialize(bindings.Message mess
age) { |
| 217 var decoder = new bindings.Decoder(message); | 211 var decoder = new bindings.Decoder(message); |
| 218 var result = decode(decoder); | 212 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 return "_MediaPullModeProducerGetBufferParams("")"; | 251 return "_MediaPullModeProducerGetBufferParams("")"; |
| 258 } | 252 } |
| 259 | 253 |
| 260 Map toJson() { | 254 Map toJson() { |
| 261 Map map = new Map(); | 255 Map map = new Map(); |
| 262 return map; | 256 return map; |
| 263 } | 257 } |
| 264 } | 258 } |
| 265 | 259 |
| 266 | 260 |
| 267 | |
| 268 | |
| 269 class MediaPullModeProducerGetBufferResponseParams extends bindings.Struct { | 261 class MediaPullModeProducerGetBufferResponseParams extends bindings.Struct { |
| 270 static const List<bindings.StructDataHeader> kVersions = const [ | 262 static const List<bindings.StructDataHeader> kVersions = const [ |
| 271 const bindings.StructDataHeader(16, 0) | 263 const bindings.StructDataHeader(16, 0) |
| 272 ]; | 264 ]; |
| 273 core.MojoSharedBuffer buffer = null; | 265 core.MojoSharedBuffer buffer = null; |
| 274 | 266 |
| 275 MediaPullModeProducerGetBufferResponseParams() : super(kVersions.last.size); | 267 MediaPullModeProducerGetBufferResponseParams() : super(kVersions.last.size); |
| 276 | 268 |
| 277 static MediaPullModeProducerGetBufferResponseParams deserialize(bindings.Messa
ge message) { | 269 static MediaPullModeProducerGetBufferResponseParams deserialize(bindings.Messa
ge message) { |
| 278 var decoder = new bindings.Decoder(message); | 270 var decoder = new bindings.Decoder(message); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 "buffer: $buffer" ")"; | 322 "buffer: $buffer" ")"; |
| 331 } | 323 } |
| 332 | 324 |
| 333 Map toJson() { | 325 Map toJson() { |
| 334 throw new bindings.MojoCodecError( | 326 throw new bindings.MojoCodecError( |
| 335 'Object containing handles cannot be encoded to JSON.'); | 327 'Object containing handles cannot be encoded to JSON.'); |
| 336 } | 328 } |
| 337 } | 329 } |
| 338 | 330 |
| 339 | 331 |
| 340 | |
| 341 | |
| 342 class _MediaPullModeProducerPullPacketParams extends bindings.Struct { | 332 class _MediaPullModeProducerPullPacketParams extends bindings.Struct { |
| 343 static const List<bindings.StructDataHeader> kVersions = const [ | 333 static const List<bindings.StructDataHeader> kVersions = const [ |
| 344 const bindings.StructDataHeader(16, 0) | 334 const bindings.StructDataHeader(16, 0) |
| 345 ]; | 335 ]; |
| 346 media_pipe_mojom.MediaPacket toRelease = null; | 336 media_pipe_mojom.MediaPacket toRelease = null; |
| 347 | 337 |
| 348 _MediaPullModeProducerPullPacketParams() : super(kVersions.last.size); | 338 _MediaPullModeProducerPullPacketParams() : super(kVersions.last.size); |
| 349 | 339 |
| 350 static _MediaPullModeProducerPullPacketParams deserialize(bindings.Message mes
sage) { | 340 static _MediaPullModeProducerPullPacketParams deserialize(bindings.Message mes
sage) { |
| 351 var decoder = new bindings.Decoder(message); | 341 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 } | 395 } |
| 406 | 396 |
| 407 Map toJson() { | 397 Map toJson() { |
| 408 Map map = new Map(); | 398 Map map = new Map(); |
| 409 map["toRelease"] = toRelease; | 399 map["toRelease"] = toRelease; |
| 410 return map; | 400 return map; |
| 411 } | 401 } |
| 412 } | 402 } |
| 413 | 403 |
| 414 | 404 |
| 415 | |
| 416 | |
| 417 class MediaPullModeProducerPullPacketResponseParams extends bindings.Struct { | 405 class MediaPullModeProducerPullPacketResponseParams extends bindings.Struct { |
| 418 static const List<bindings.StructDataHeader> kVersions = const [ | 406 static const List<bindings.StructDataHeader> kVersions = const [ |
| 419 const bindings.StructDataHeader(16, 0) | 407 const bindings.StructDataHeader(16, 0) |
| 420 ]; | 408 ]; |
| 421 media_pipe_mojom.MediaPacket packet = null; | 409 media_pipe_mojom.MediaPacket packet = null; |
| 422 | 410 |
| 423 MediaPullModeProducerPullPacketResponseParams() : super(kVersions.last.size); | 411 MediaPullModeProducerPullPacketResponseParams() : super(kVersions.last.size); |
| 424 | 412 |
| 425 static MediaPullModeProducerPullPacketResponseParams deserialize(bindings.Mess
age message) { | 413 static MediaPullModeProducerPullPacketResponseParams deserialize(bindings.Mess
age message) { |
| 426 var decoder = new bindings.Decoder(message); | 414 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 } | 468 } |
| 481 | 469 |
| 482 Map toJson() { | 470 Map toJson() { |
| 483 Map map = new Map(); | 471 Map map = new Map(); |
| 484 map["packet"] = packet; | 472 map["packet"] = packet; |
| 485 return map; | 473 return map; |
| 486 } | 474 } |
| 487 } | 475 } |
| 488 | 476 |
| 489 | 477 |
| 490 | |
| 491 | |
| 492 class _MediaPullModeProducerReleasePacketParams extends bindings.Struct { | 478 class _MediaPullModeProducerReleasePacketParams extends bindings.Struct { |
| 493 static const List<bindings.StructDataHeader> kVersions = const [ | 479 static const List<bindings.StructDataHeader> kVersions = const [ |
| 494 const bindings.StructDataHeader(16, 0) | 480 const bindings.StructDataHeader(16, 0) |
| 495 ]; | 481 ]; |
| 496 media_pipe_mojom.MediaPacket toRelease = null; | 482 media_pipe_mojom.MediaPacket toRelease = null; |
| 497 | 483 |
| 498 _MediaPullModeProducerReleasePacketParams() : super(kVersions.last.size); | 484 _MediaPullModeProducerReleasePacketParams() : super(kVersions.last.size); |
| 499 | 485 |
| 500 static _MediaPullModeProducerReleasePacketParams deserialize(bindings.Message
message) { | 486 static _MediaPullModeProducerReleasePacketParams deserialize(bindings.Message
message) { |
| 501 var decoder = new bindings.Decoder(message); | 487 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 } | 541 } |
| 556 | 542 |
| 557 Map toJson() { | 543 Map toJson() { |
| 558 Map map = new Map(); | 544 Map map = new Map(); |
| 559 map["toRelease"] = toRelease; | 545 map["toRelease"] = toRelease; |
| 560 return map; | 546 return map; |
| 561 } | 547 } |
| 562 } | 548 } |
| 563 | 549 |
| 564 | 550 |
| 565 | |
| 566 | |
| 567 class _MediaConsumerSetBufferParams extends bindings.Struct { | 551 class _MediaConsumerSetBufferParams extends bindings.Struct { |
| 568 static const List<bindings.StructDataHeader> kVersions = const [ | 552 static const List<bindings.StructDataHeader> kVersions = const [ |
| 569 const bindings.StructDataHeader(24, 0) | 553 const bindings.StructDataHeader(24, 0) |
| 570 ]; | 554 ]; |
| 571 core.MojoSharedBuffer buffer = null; | 555 core.MojoSharedBuffer buffer = null; |
| 572 int size = 0; | 556 int size = 0; |
| 573 | 557 |
| 574 _MediaConsumerSetBufferParams() : super(kVersions.last.size); | 558 _MediaConsumerSetBufferParams() : super(kVersions.last.size); |
| 575 | 559 |
| 576 static _MediaConsumerSetBufferParams deserialize(bindings.Message message) { | 560 static _MediaConsumerSetBufferParams deserialize(bindings.Message message) { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 "size: $size" ")"; | 625 "size: $size" ")"; |
| 642 } | 626 } |
| 643 | 627 |
| 644 Map toJson() { | 628 Map toJson() { |
| 645 throw new bindings.MojoCodecError( | 629 throw new bindings.MojoCodecError( |
| 646 'Object containing handles cannot be encoded to JSON.'); | 630 'Object containing handles cannot be encoded to JSON.'); |
| 647 } | 631 } |
| 648 } | 632 } |
| 649 | 633 |
| 650 | 634 |
| 651 | |
| 652 | |
| 653 class MediaConsumerSetBufferResponseParams extends bindings.Struct { | 635 class MediaConsumerSetBufferResponseParams extends bindings.Struct { |
| 654 static const List<bindings.StructDataHeader> kVersions = const [ | 636 static const List<bindings.StructDataHeader> kVersions = const [ |
| 655 const bindings.StructDataHeader(8, 0) | 637 const bindings.StructDataHeader(8, 0) |
| 656 ]; | 638 ]; |
| 657 | 639 |
| 658 MediaConsumerSetBufferResponseParams() : super(kVersions.last.size); | 640 MediaConsumerSetBufferResponseParams() : super(kVersions.last.size); |
| 659 | 641 |
| 660 static MediaConsumerSetBufferResponseParams deserialize(bindings.Message messa
ge) { | 642 static MediaConsumerSetBufferResponseParams deserialize(bindings.Message messa
ge) { |
| 661 var decoder = new bindings.Decoder(message); | 643 var decoder = new bindings.Decoder(message); |
| 662 var result = decode(decoder); | 644 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 return "MediaConsumerSetBufferResponseParams("")"; | 683 return "MediaConsumerSetBufferResponseParams("")"; |
| 702 } | 684 } |
| 703 | 685 |
| 704 Map toJson() { | 686 Map toJson() { |
| 705 Map map = new Map(); | 687 Map map = new Map(); |
| 706 return map; | 688 return map; |
| 707 } | 689 } |
| 708 } | 690 } |
| 709 | 691 |
| 710 | 692 |
| 711 | |
| 712 | |
| 713 class _MediaConsumerPushPacketParams extends bindings.Struct { | 693 class _MediaConsumerPushPacketParams extends bindings.Struct { |
| 714 static const List<bindings.StructDataHeader> kVersions = const [ | 694 static const List<bindings.StructDataHeader> kVersions = const [ |
| 715 const bindings.StructDataHeader(16, 0) | 695 const bindings.StructDataHeader(16, 0) |
| 716 ]; | 696 ]; |
| 717 media_pipe_mojom.MediaPacket packet = null; | 697 media_pipe_mojom.MediaPacket packet = null; |
| 718 | 698 |
| 719 _MediaConsumerPushPacketParams() : super(kVersions.last.size); | 699 _MediaConsumerPushPacketParams() : super(kVersions.last.size); |
| 720 | 700 |
| 721 static _MediaConsumerPushPacketParams deserialize(bindings.Message message) { | 701 static _MediaConsumerPushPacketParams deserialize(bindings.Message message) { |
| 722 var decoder = new bindings.Decoder(message); | 702 var decoder = new bindings.Decoder(message); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 } | 756 } |
| 777 | 757 |
| 778 Map toJson() { | 758 Map toJson() { |
| 779 Map map = new Map(); | 759 Map map = new Map(); |
| 780 map["packet"] = packet; | 760 map["packet"] = packet; |
| 781 return map; | 761 return map; |
| 782 } | 762 } |
| 783 } | 763 } |
| 784 | 764 |
| 785 | 765 |
| 786 | |
| 787 | |
| 788 class MediaConsumerPushPacketResponseParams extends bindings.Struct { | 766 class MediaConsumerPushPacketResponseParams extends bindings.Struct { |
| 789 static const List<bindings.StructDataHeader> kVersions = const [ | 767 static const List<bindings.StructDataHeader> kVersions = const [ |
| 790 const bindings.StructDataHeader(8, 0) | 768 const bindings.StructDataHeader(8, 0) |
| 791 ]; | 769 ]; |
| 792 | 770 |
| 793 MediaConsumerPushPacketResponseParams() : super(kVersions.last.size); | 771 MediaConsumerPushPacketResponseParams() : super(kVersions.last.size); |
| 794 | 772 |
| 795 static MediaConsumerPushPacketResponseParams deserialize(bindings.Message mess
age) { | 773 static MediaConsumerPushPacketResponseParams deserialize(bindings.Message mess
age) { |
| 796 var decoder = new bindings.Decoder(message); | 774 var decoder = new bindings.Decoder(message); |
| 797 var result = decode(decoder); | 775 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 return "MediaConsumerPushPacketResponseParams("")"; | 814 return "MediaConsumerPushPacketResponseParams("")"; |
| 837 } | 815 } |
| 838 | 816 |
| 839 Map toJson() { | 817 Map toJson() { |
| 840 Map map = new Map(); | 818 Map map = new Map(); |
| 841 return map; | 819 return map; |
| 842 } | 820 } |
| 843 } | 821 } |
| 844 | 822 |
| 845 | 823 |
| 846 | |
| 847 | |
| 848 class _MediaConsumerFlushParams extends bindings.Struct { | 824 class _MediaConsumerFlushParams extends bindings.Struct { |
| 849 static const List<bindings.StructDataHeader> kVersions = const [ | 825 static const List<bindings.StructDataHeader> kVersions = const [ |
| 850 const bindings.StructDataHeader(8, 0) | 826 const bindings.StructDataHeader(8, 0) |
| 851 ]; | 827 ]; |
| 852 | 828 |
| 853 _MediaConsumerFlushParams() : super(kVersions.last.size); | 829 _MediaConsumerFlushParams() : super(kVersions.last.size); |
| 854 | 830 |
| 855 static _MediaConsumerFlushParams deserialize(bindings.Message message) { | 831 static _MediaConsumerFlushParams deserialize(bindings.Message message) { |
| 856 var decoder = new bindings.Decoder(message); | 832 var decoder = new bindings.Decoder(message); |
| 857 var result = decode(decoder); | 833 var result = decode(decoder); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 return "_MediaConsumerFlushParams("")"; | 872 return "_MediaConsumerFlushParams("")"; |
| 897 } | 873 } |
| 898 | 874 |
| 899 Map toJson() { | 875 Map toJson() { |
| 900 Map map = new Map(); | 876 Map map = new Map(); |
| 901 return map; | 877 return map; |
| 902 } | 878 } |
| 903 } | 879 } |
| 904 | 880 |
| 905 | 881 |
| 906 | |
| 907 | |
| 908 class MediaConsumerFlushResponseParams extends bindings.Struct { | 882 class MediaConsumerFlushResponseParams extends bindings.Struct { |
| 909 static const List<bindings.StructDataHeader> kVersions = const [ | 883 static const List<bindings.StructDataHeader> kVersions = const [ |
| 910 const bindings.StructDataHeader(8, 0) | 884 const bindings.StructDataHeader(8, 0) |
| 911 ]; | 885 ]; |
| 912 | 886 |
| 913 MediaConsumerFlushResponseParams() : super(kVersions.last.size); | 887 MediaConsumerFlushResponseParams() : super(kVersions.last.size); |
| 914 | 888 |
| 915 static MediaConsumerFlushResponseParams deserialize(bindings.Message message)
{ | 889 static MediaConsumerFlushResponseParams deserialize(bindings.Message message)
{ |
| 916 var decoder = new bindings.Decoder(message); | 890 var decoder = new bindings.Decoder(message); |
| 917 var result = decode(decoder); | 891 var result = decode(decoder); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 String toString() { | 929 String toString() { |
| 956 return "MediaConsumerFlushResponseParams("")"; | 930 return "MediaConsumerFlushResponseParams("")"; |
| 957 } | 931 } |
| 958 | 932 |
| 959 Map toJson() { | 933 Map toJson() { |
| 960 Map map = new Map(); | 934 Map map = new Map(); |
| 961 return map; | 935 return map; |
| 962 } | 936 } |
| 963 } | 937 } |
| 964 | 938 |
| 965 | |
| 966 | |
| 967 | |
| 968 const int _MediaProducer_connectName = 0; | 939 const int _MediaProducer_connectName = 0; |
| 969 const int _MediaProducer_disconnectName = 1; | 940 const int _MediaProducer_disconnectName = 1; |
| 970 | 941 |
| 971 | |
| 972 | |
| 973 class _MediaProducerServiceDescription implements service_describer.ServiceDescr
iption { | 942 class _MediaProducerServiceDescription implements service_describer.ServiceDescr
iption { |
| 974 dynamic getTopLevelInterface([Function responseFactory]) => | 943 dynamic getTopLevelInterface([Function responseFactory]) => |
| 975 responseFactory(null); | 944 responseFactory(null); |
| 976 | 945 |
| 977 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 946 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 978 responseFactory(null); | 947 responseFactory(null); |
| 979 | 948 |
| 980 dynamic getAllTypeDefinitions([Function responseFactory]) => | 949 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 981 responseFactory(null); | 950 responseFactory(null); |
| 982 } | 951 } |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1208 _cachedServiceDescription = new _MediaProducerServiceDescription(); | 1177 _cachedServiceDescription = new _MediaProducerServiceDescription(); |
| 1209 } | 1178 } |
| 1210 return _cachedServiceDescription; | 1179 return _cachedServiceDescription; |
| 1211 } | 1180 } |
| 1212 } | 1181 } |
| 1213 | 1182 |
| 1214 const int _MediaPullModeProducer_getBufferName = 0; | 1183 const int _MediaPullModeProducer_getBufferName = 0; |
| 1215 const int _MediaPullModeProducer_pullPacketName = 1; | 1184 const int _MediaPullModeProducer_pullPacketName = 1; |
| 1216 const int _MediaPullModeProducer_releasePacketName = 2; | 1185 const int _MediaPullModeProducer_releasePacketName = 2; |
| 1217 | 1186 |
| 1218 | |
| 1219 | |
| 1220 class _MediaPullModeProducerServiceDescription implements service_describer.Serv
iceDescription { | 1187 class _MediaPullModeProducerServiceDescription implements service_describer.Serv
iceDescription { |
| 1221 dynamic getTopLevelInterface([Function responseFactory]) => | 1188 dynamic getTopLevelInterface([Function responseFactory]) => |
| 1222 responseFactory(null); | 1189 responseFactory(null); |
| 1223 | 1190 |
| 1224 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1191 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 1225 responseFactory(null); | 1192 responseFactory(null); |
| 1226 | 1193 |
| 1227 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1194 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 1228 responseFactory(null); | 1195 responseFactory(null); |
| 1229 } | 1196 } |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 _cachedServiceDescription = new _MediaPullModeProducerServiceDescription()
; | 1480 _cachedServiceDescription = new _MediaPullModeProducerServiceDescription()
; |
| 1514 } | 1481 } |
| 1515 return _cachedServiceDescription; | 1482 return _cachedServiceDescription; |
| 1516 } | 1483 } |
| 1517 } | 1484 } |
| 1518 | 1485 |
| 1519 const int _MediaConsumer_setBufferName = 0; | 1486 const int _MediaConsumer_setBufferName = 0; |
| 1520 const int _MediaConsumer_pushPacketName = 1; | 1487 const int _MediaConsumer_pushPacketName = 1; |
| 1521 const int _MediaConsumer_flushName = 2; | 1488 const int _MediaConsumer_flushName = 2; |
| 1522 | 1489 |
| 1523 | |
| 1524 | |
| 1525 class _MediaConsumerServiceDescription implements service_describer.ServiceDescr
iption { | 1490 class _MediaConsumerServiceDescription implements service_describer.ServiceDescr
iption { |
| 1526 dynamic getTopLevelInterface([Function responseFactory]) => | 1491 dynamic getTopLevelInterface([Function responseFactory]) => |
| 1527 responseFactory(null); | 1492 responseFactory(null); |
| 1528 | 1493 |
| 1529 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 1494 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 1530 responseFactory(null); | 1495 responseFactory(null); |
| 1531 | 1496 |
| 1532 dynamic getAllTypeDefinitions([Function responseFactory]) => | 1497 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 1533 responseFactory(null); | 1498 responseFactory(null); |
| 1534 } | 1499 } |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1856 static service_describer.ServiceDescription get serviceDescription { | 1821 static service_describer.ServiceDescription get serviceDescription { |
| 1857 if (_cachedServiceDescription == null) { | 1822 if (_cachedServiceDescription == null) { |
| 1858 _cachedServiceDescription = new _MediaConsumerServiceDescription(); | 1823 _cachedServiceDescription = new _MediaConsumerServiceDescription(); |
| 1859 } | 1824 } |
| 1860 return _cachedServiceDescription; | 1825 return _cachedServiceDescription; |
| 1861 } | 1826 } |
| 1862 } | 1827 } |
| 1863 | 1828 |
| 1864 | 1829 |
| 1865 | 1830 |
| OLD | NEW |