1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<!DOCTYPE MediaSettings SYSTEM "/system/etc/media_profiles_V1_0.dtd">
17<!--
18     This file is used to declare the multimedia profiles and capabilities
19     on an android-powered device.
20-->
21<MediaSettings>
22    <!-- Each camcorder profile defines a set of predefined configuration parameters -->
23    <CamcorderProfiles cameraId="0">
24
25         <EncoderProfile quality="low" fileFormat="3gp" duration="60">
26            <Video codec="h264"
27                   bitRate="128000"
28                   width="176"
29                   height="144"
30                   frameRate="30" />
31
32            <Audio codec="amrnb"
33                   bitRate="12200"
34                   sampleRate="8000"
35                   channels="1" />
36        </EncoderProfile>
37
38        <EncoderProfile quality="high" fileFormat="mp4" duration="30">
39            <Video codec="h264"
40                   bitRate="42000000"
41                   width="3840"
42                   height="2160"
43                   frameRate="30" />
44            <Audio codec="aac"
45                   bitRate="96000"
46                   sampleRate="48000"
47                   channels="1" />
48        </EncoderProfile>
49
50        <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
51            <Video codec="h264"
52                   bitRate="128000"
53                   width="176"
54                   height="144"
55                   frameRate="30" />
56            <Audio codec="amrnb"
57                   bitRate="12200"
58                   sampleRate="8000"
59                   channels="1" />
60        </EncoderProfile>
61
62        <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
63            <Video codec="h264"
64                   bitRate="512000"
65                   width="320"
66                   height="240"
67                   frameRate="30" />
68            <Audio codec="aac"
69                   bitRate="156000"
70                   sampleRate="48000"
71                   channels="2" />
72        </EncoderProfile>
73
74        <EncoderProfile quality="cif" fileFormat="mp4" duration="30">
75            <Video codec="h264"
76                   bitRate="1200000"
77                   width="352"
78                   height="288"
79                   frameRate="30" />
80            <Audio codec="aac"
81                   bitRate="96000"
82                   sampleRate="48000"
83                   channels="1" />
84        </EncoderProfile>
85
86        <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
87            <Video codec="h264"
88                   bitRate="6000000"
89                   width="720"
90                   height="480"
91                   frameRate="30" />
92            <Audio codec="aac"
93                   bitRate="96000"
94                   sampleRate="48000"
95                   channels="1" />
96        </EncoderProfile>
97
98        <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
99            <Video codec="h264"
100                   bitRate="18000000"
101                   width="1280"
102                   height="720"
103                   frameRate="60" />
104            <Audio codec="aac"
105                   bitRate="96000"
106                   sampleRate="48000"
107                   channels="1" />
108        </EncoderProfile>
109
110        <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
111            <Video codec="h264"
112                   bitRate="33000000"
113                   width="1920"
114                   height="1080"
115                   frameRate="60" />
116            <Audio codec="aac"
117                   bitRate="96000"
118                   sampleRate="48000"
119                   channels="1" />
120        </EncoderProfile>
121
122        <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
123            <Video codec="h264"
124                   bitRate="42000000"
125                   width="3840"
126                   height="2160"
127                   frameRate="30" />
128            <Audio codec="aac"
129                   bitRate="96000"
130                   sampleRate="48000"
131                   channels="1" />
132        </EncoderProfile>
133
134        <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
135            <Video codec="h264"
136                   bitRate="192000"
137                   width="176"
138                   height="144"
139                   frameRate="30" />
140            <!-- audio setting is ignored -->
141            <Audio codec="amrnb"
142                   bitRate="12200"
143                   sampleRate="8000"
144                   channels="1" />
145        </EncoderProfile>
146
147        <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
148            <Video codec="h264"
149                   bitRate="1200000"
150                   width="352"
151                   height="288"
152                   frameRate="30" />
153            <!-- audio setting is ignored -->
154            <Audio codec="aac"
155                   bitRate="96000"
156                   sampleRate="48000"
157                   channels="1" />
158        </EncoderProfile>
159
160        <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
161            <Video codec="h264"
162                   bitRate="6000000"
163                   width="720"
164                   height="480"
165                   frameRate="30" />
166            <!-- audio setting is ignored -->
167            <Audio codec="aac"
168                   bitRate="96000"
169                   sampleRate="48000"
170                   channels="1" />
171        </EncoderProfile>
172
173        <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
174            <Video codec="h264"
175                   bitRate="12000000"
176                   width="1280"
177                   height="720"
178                   frameRate="30" />
179            <!-- audio setting is ignored -->
180            <Audio codec="aac"
181                   bitRate="96000"
182                   sampleRate="48000"
183                   channels="1" />
184        </EncoderProfile>
185
186        <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
187            <Video codec="h264"
188                   bitRate="17000000"
189                   width="1920"
190                   height="1080"
191                   frameRate="30" />
192            <!-- audio setting is ignored -->
193            <Audio codec="aac"
194                   bitRate="96000"
195                   sampleRate="48000"
196                   channels="1" />
197        </EncoderProfile>
198
199        <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
200            <Video codec="h264"
201                   bitRate="42000000"
202                   width="3840"
203                   height="2160"
204                   frameRate="30" />
205            <!-- audio setting is ignored -->
206            <Audio codec="aac"
207                   bitRate="96000"
208                   sampleRate="48000"
209                   channels="1" />
210        </EncoderProfile>
211
212        <!-- CAMCORDER_QUALITY_HIGH_SPEED_LOW/720P : 720p@240fps; 42.0 Mbps -->
213        <EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="30">
214            <Video codec="h264"
215                   bitRate="42000000"
216                   width="1280"
217                   height="720"
218                   frameRate="240" />
219            <!-- audio setting is ignored -->
220            <Audio codec="aac"
221                   bitRate="96000"
222                   sampleRate="48000"
223                   channels="1" />
224        </EncoderProfile>
225
226        <!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/1080P : 1080p@120fps; 42.0 Mbps -->
227        <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
228            <Video codec="h264"
229                   bitRate="42000000"
230                   width="1920"
231                   height="1080"
232                   frameRate="120" />
233            <!-- audio setting is ignored -->
234            <Audio codec="aac"
235                   bitRate="96000"
236                   sampleRate="48000"
237                   channels="1" />
238        </EncoderProfile>
239
240        <EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
241            <Video codec="h264"
242                   bitRate="42000000"
243                   width="1280"
244                   height="720"
245                   frameRate="240" />
246            <!-- audio setting is ignored -->
247            <Audio codec="aac"
248                   bitRate="96000"
249                   sampleRate="48000"
250                   channels="1" />
251        </EncoderProfile>
252
253        <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
254            <Video codec="h264"
255                   bitRate="42000000"
256                   width="1920"
257                   height="1080"
258                   frameRate="120" />
259            <!-- audio setting is ignored -->
260            <Audio codec="aac"
261                   bitRate="96000"
262                   sampleRate="48000"
263                   channels="1" />
264        </EncoderProfile>
265
266        <ImageEncoding quality="95" />
267        <ImageEncoding quality="80" />
268        <ImageEncoding quality="70" />
269        <ImageDecoding memCap="20000000" />
270
271    </CamcorderProfiles>
272
273    <CamcorderProfiles cameraId="1">
274
275        <EncoderProfile quality="low" fileFormat="3gp" duration="60">
276            <Video codec="h264"
277                   bitRate="128000"
278                    width="176"
279                    height="144"
280                    frameRate="30" />
281
282            <Audio codec="amrnb"
283                    bitRate="12200"
284                    sampleRate="8000"
285                    channels="1" />
286        </EncoderProfile>
287
288        <EncoderProfile quality="high" fileFormat="mp4" duration="30">
289            <Video codec="h264"
290                   bitRate="22000000"
291                   width="1920"
292                   height="1080"
293                   frameRate="30" />
294            <Audio codec="aac"
295                   bitRate="96000"
296                   sampleRate="48000"
297                   channels="1" />
298        </EncoderProfile>
299
300        <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
301            <Video codec="h264"
302                   bitRate="128000"
303                   width="176"
304                   height="144"
305                   frameRate="30" />
306            <Audio codec="amrnb"
307                   bitRate="12200"
308                   sampleRate="8000"
309                   channels="1" />
310        </EncoderProfile>
311
312        <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
313            <Video codec="h264"
314                   bitRate="512000"
315                   width="320"
316                   height="240"
317                   frameRate="30" />
318            <Audio codec="aac"
319                   bitRate="156000"
320                   sampleRate="48000"
321                   channels="2" />
322        </EncoderProfile>
323
324        <EncoderProfile quality="cif" fileFormat="mp4" duration="30">
325            <Video codec="h264"
326                   bitRate="1200000"
327                   width="352"
328                   height="288"
329                   frameRate="30" />
330            <Audio codec="aac"
331                   bitRate="96000"
332                   sampleRate="48000"
333                   channels="1" />
334        </EncoderProfile>
335
336        <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
337            <Video codec="h264"
338                   bitRate="6000000"
339                   width="720"
340                   height="480"
341                   frameRate="30" />
342            <Audio codec="aac"
343                   bitRate="96000"
344                   sampleRate="48000"
345                   channels="1" />
346        </EncoderProfile>
347
348        <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
349            <Video codec="h264"
350                   bitRate="12000000"
351                   width="1280"
352                   height="720"
353                   frameRate="30" />
354            <Audio codec="aac"
355                   bitRate="96000"
356                   sampleRate="48000"
357                   channels="1" />
358        </EncoderProfile>
359
360        <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
361            <Video codec="h264"
362                   bitRate="22000000"
363                   width="1920"
364                   height="1080"
365                   frameRate="30" />
366            <Audio codec="aac"
367                   bitRate="96000"
368                   sampleRate="48000"
369                   channels="1" />
370        </EncoderProfile>
371
372        <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
373            <Video codec="h264"
374                   bitRate="192000"
375                   width="176"
376                   height="144"
377                   frameRate="30" />
378            <!-- audio setting is ignored -->
379            <Audio codec="amrnb"
380                   bitRate="12200"
381                   sampleRate="8000"
382                   channels="1" />
383        </EncoderProfile>
384
385        <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
386            <Video codec="h264"
387                   bitRate="1200000"
388                   width="352"
389                   height="288"
390                   frameRate="30" />
391            <!-- audio setting is ignored -->
392            <Audio codec="aac"
393                   bitRate="96000"
394                   sampleRate="48000"
395                   channels="1" />
396        </EncoderProfile>
397
398        <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
399            <Video codec="h264"
400                   bitRate="6000000"
401                   width="720"
402                   height="480"
403                   frameRate="30" />
404            <!-- audio setting is ignored -->
405            <Audio codec="aac"
406                   bitRate="96000"
407                   sampleRate="48000"
408                   channels="1" />
409        </EncoderProfile>
410
411        <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
412            <Video codec="h264"
413                   bitRate="12000000"
414                   width="1280"
415                   height="720"
416                   frameRate="30" />
417            <!-- audio setting is ignored -->
418            <Audio codec="aac"
419                   bitRate="96000"
420                   sampleRate="48000"
421                   channels="1" />
422        </EncoderProfile>
423
424        <ImageEncoding quality="95" />
425        <ImageEncoding quality="80" />
426        <ImageEncoding quality="70" />
427        <ImageDecoding memCap="20000000" />
428
429    </CamcorderProfiles>
430
431    <CamcorderProfiles cameraId="2">
432
433        <EncoderProfile quality="low" fileFormat="3gp" duration="60">
434            <Video codec="h264"
435                   bitRate="128000"
436                    width="176"
437                    height="144"
438                    frameRate="30" />
439
440            <Audio codec="amrnb"
441                    bitRate="12200"
442                    sampleRate="8000"
443                    channels="1" />
444        </EncoderProfile>
445
446        <EncoderProfile quality="high" fileFormat="mp4" duration="30">
447            <Video codec="h264"
448                   bitRate="17000000"
449                   width="1920"
450                   height="1080"
451                   frameRate="30" />
452            <Audio codec="aac"
453                   bitRate="96000"
454                   sampleRate="48000"
455                   channels="1" />
456        </EncoderProfile>
457
458        <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
459            <Video codec="h264"
460                   bitRate="128000"
461                   width="176"
462                   height="144"
463                   frameRate="30" />
464            <Audio codec="amrnb"
465                   bitRate="12200"
466                   sampleRate="8000"
467                   channels="1" />
468        </EncoderProfile>
469
470        <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
471            <Video codec="h264"
472                   bitRate="512000"
473                   width="320"
474                   height="240"
475                   frameRate="30" />
476            <Audio codec="aac"
477                   bitRate="156000"
478                   sampleRate="48000"
479                   channels="2" />
480        </EncoderProfile>
481
482        <EncoderProfile quality="cif" fileFormat="mp4" duration="30">
483            <Video codec="h264"
484                   bitRate="1200000"
485                   width="352"
486                   height="288"
487                   frameRate="30" />
488            <Audio codec="aac"
489                   bitRate="96000"
490                   sampleRate="48000"
491                   channels="1" />
492        </EncoderProfile>
493
494        <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
495            <Video codec="h264"
496                   bitRate="6000000"
497                   width="720"
498                   height="480"
499                   frameRate="30" />
500            <Audio codec="aac"
501                   bitRate="96000"
502                   sampleRate="48000"
503                   channels="1" />
504        </EncoderProfile>
505
506        <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
507            <Video codec="h264"
508                   bitRate="12000000"
509                   width="1280"
510                   height="720"
511                   frameRate="30" />
512            <Audio codec="aac"
513                   bitRate="96000"
514                   sampleRate="48000"
515                   channels="1" />
516        </EncoderProfile>
517
518        <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
519            <Video codec="h264"
520                   bitRate="17000000"
521                   width="1920"
522                   height="1080"
523                   frameRate="30" />
524            <Audio codec="aac"
525                   bitRate="96000"
526                   sampleRate="48000"
527                   channels="1" />
528        </EncoderProfile>
529
530        <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
531            <Video codec="h264"
532                   bitRate="192000"
533                   width="176"
534                   height="144"
535                   frameRate="30" />
536            <!-- audio setting is ignored -->
537            <Audio codec="amrnb"
538                   bitRate="12200"
539                   sampleRate="8000"
540                   channels="1" />
541        </EncoderProfile>
542
543        <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
544            <Video codec="h264"
545                   bitRate="1200000"
546                   width="352"
547                   height="288"
548                   frameRate="30" />
549            <!-- audio setting is ignored -->
550            <Audio codec="aac"
551                   bitRate="96000"
552                   sampleRate="48000"
553                   channels="1" />
554        </EncoderProfile>
555
556        <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
557            <Video codec="h264"
558                   bitRate="6000000"
559                   width="720"
560                   height="480"
561                   frameRate="30" />
562            <!-- audio setting is ignored -->
563            <Audio codec="aac"
564                   bitRate="96000"
565                   sampleRate="48000"
566                   channels="1" />
567        </EncoderProfile>
568
569        <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
570            <Video codec="h264"
571                   bitRate="12000000"
572                   width="1280"
573                   height="720"
574                   frameRate="30" />
575            <!-- audio setting is ignored -->
576            <Audio codec="aac"
577                   bitRate="96000"
578                   sampleRate="48000"
579                   channels="1" />
580        </EncoderProfile>
581
582        <ImageEncoding quality="95" />
583        <ImageEncoding quality="80" />
584        <ImageEncoding quality="70" />
585        <ImageDecoding memCap="20000000" />
586
587    </CamcorderProfiles>
588
589    <CamcorderProfiles cameraId="3">
590
591        <EncoderProfile quality="low" fileFormat="3gp" duration="60">
592            <Video codec="h264"
593                   bitRate="128000"
594                    width="176"
595                    height="144"
596                    frameRate="30" />
597
598            <Audio codec="amrnb"
599                    bitRate="12200"
600                    sampleRate="8000"
601                    channels="1" />
602        </EncoderProfile>
603
604        <EncoderProfile quality="high" fileFormat="mp4" duration="30">
605            <Video codec="h264"
606                   bitRate="17000000"
607                   width="1920"
608                   height="1080"
609                   frameRate="30" />
610            <Audio codec="aac"
611                   bitRate="96000"
612                   sampleRate="48000"
613                   channels="1" />
614        </EncoderProfile>
615
616        <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
617            <Video codec="h264"
618                   bitRate="128000"
619                   width="176"
620                   height="144"
621                   frameRate="30" />
622            <Audio codec="amrnb"
623                   bitRate="12200"
624                   sampleRate="8000"
625                   channels="1" />
626        </EncoderProfile>
627
628        <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
629            <Video codec="h264"
630                   bitRate="512000"
631                   width="320"
632                   height="240"
633                   frameRate="30" />
634            <Audio codec="aac"
635                   bitRate="156000"
636                   sampleRate="48000"
637                   channels="2" />
638        </EncoderProfile>
639
640        <EncoderProfile quality="cif" fileFormat="mp4" duration="30">
641            <Video codec="h264"
642                   bitRate="1200000"
643                   width="352"
644                   height="288"
645                   frameRate="30" />
646            <Audio codec="aac"
647                   bitRate="96000"
648                   sampleRate="48000"
649                   channels="1" />
650        </EncoderProfile>
651
652        <EncoderProfile quality="480p" fileFormat="mp4" duration="30">
653            <Video codec="h264"
654                   bitRate="6000000"
655                   width="720"
656                   height="480"
657                   frameRate="30" />
658            <Audio codec="aac"
659                   bitRate="96000"
660                   sampleRate="48000"
661                   channels="1" />
662        </EncoderProfile>
663
664        <EncoderProfile quality="720p" fileFormat="mp4" duration="30">
665            <Video codec="h264"
666                   bitRate="12000000"
667                   width="1280"
668                   height="720"
669                   frameRate="30" />
670            <Audio codec="aac"
671                   bitRate="96000"
672                   sampleRate="48000"
673                   channels="1" />
674        </EncoderProfile>
675
676        <EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
677            <Video codec="h264"
678                   bitRate="17000000"
679                   width="1920"
680                   height="1080"
681                   frameRate="30" />
682            <Audio codec="aac"
683                   bitRate="96000"
684                   sampleRate="48000"
685                   channels="1" />
686        </EncoderProfile>
687
688        <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
689            <Video codec="h264"
690                   bitRate="192000"
691                   width="176"
692                   height="144"
693                   frameRate="30" />
694            <!-- audio setting is ignored -->
695            <Audio codec="amrnb"
696                   bitRate="12200"
697                   sampleRate="8000"
698                   channels="1" />
699        </EncoderProfile>
700
701        <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
702            <Video codec="h264"
703                   bitRate="1200000"
704                   width="352"
705                   height="288"
706                   frameRate="30" />
707            <!-- audio setting is ignored -->
708            <Audio codec="aac"
709                   bitRate="96000"
710                   sampleRate="48000"
711                   channels="1" />
712        </EncoderProfile>
713
714        <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
715            <Video codec="h264"
716                   bitRate="6000000"
717                   width="720"
718                   height="480"
719                   frameRate="30" />
720            <!-- audio setting is ignored -->
721            <Audio codec="aac"
722                   bitRate="96000"
723                   sampleRate="48000"
724                   channels="1" />
725        </EncoderProfile>
726
727        <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
728            <Video codec="h264"
729                   bitRate="12000000"
730                   width="1280"
731                   height="720"
732                   frameRate="30" />
733            <!-- audio setting is ignored -->
734            <Audio codec="aac"
735                   bitRate="96000"
736                   sampleRate="48000"
737                   channels="1" />
738        </EncoderProfile>
739
740        <ImageEncoding quality="95" />
741        <ImageEncoding quality="80" />
742        <ImageEncoding quality="70" />
743        <ImageDecoding memCap="20000000" />
744
745    </CamcorderProfiles>
746
747    <EncoderOutputFileFormat name="3gp" />
748    <EncoderOutputFileFormat name="mp4" />
749
750    <!--
751         If a codec is not enabled, it is invisible to the applications
752         In other words, the applications won't be able to use the codec
753         or query the capabilities of the codec at all if it is disabled
754    -->
755    <VideoEncoderCap name="hevc" enabled="true"
756        minBitRate="64000" maxBitRate="100000000"
757        minFrameWidth="176" maxFrameWidth="3840"
758        minFrameHeight="144" maxFrameHeight="2160"
759        minFrameRate="15" maxFrameRate="30" />
760
761    <VideoEncoderCap name="h264" enabled="true"
762        minBitRate="64000" maxBitRate="100000000"
763        minFrameWidth="176" maxFrameWidth="3840"
764        minFrameHeight="144" maxFrameHeight="2160"
765        minFrameRate="15" maxFrameRate="30" />
766
767    <VideoEncoderCap name="h263" enabled="true"
768        minBitRate="64000" maxBitRate="2000000"
769        minFrameWidth="176" maxFrameWidth="800"
770        minFrameHeight="144" maxFrameHeight="480"
771        minFrameRate="15" maxFrameRate="30" />
772
773    <VideoEncoderCap name="m4v" enabled="true"
774        minBitRate="64000" maxBitRate="40000000"
775        minFrameWidth="176" maxFrameWidth="1920"
776        minFrameHeight="144" maxFrameHeight="1080"
777        minFrameRate="15" maxFrameRate="30" />
778
779    <AudioEncoderCap name="aac" enabled="true"
780        minBitRate="758" maxBitRate="288000"
781        minSampleRate="8000" maxSampleRate="48000"
782        minChannels="1" maxChannels="2" />
783
784    <AudioEncoderCap name="heaac" enabled="true"
785        minBitRate="8000" maxBitRate="64000"
786        minSampleRate="16000" maxSampleRate="48000"
787        minChannels="1" maxChannels="2" />
788
789    <AudioEncoderCap name="aaceld" enabled="true"
790        minBitRate="16000" maxBitRate="192000"
791        minSampleRate="16000" maxSampleRate="48000"
792        minChannels="1" maxChannels="2" />
793
794    <AudioEncoderCap name="amrwb" enabled="true"
795        minBitRate="6600" maxBitRate="23050"
796        minSampleRate="16000" maxSampleRate="16000"
797        minChannels="1" maxChannels="1" />
798
799    <AudioEncoderCap name="amrnb" enabled="true"
800        minBitRate="5525" maxBitRate="12200"
801        minSampleRate="8000" maxSampleRate="8000"
802        minChannels="1" maxChannels="1" />
803
804    <!--
805        FIXME:
806        We do not check decoder capabilities at present
807        At present, we only check whether windows media is visible
808        for TEST applications. For other applications, we do
809        not perform any checks at all.
810    -->
811    <VideoDecoderCap name="wmv" enabled="false"/>
812    <AudioDecoderCap name="wma" enabled="false"/>
813</MediaSettings>
814