1 /*
2  *  Copyright 2017 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 package org.webrtc;
12 
13 /** Enumeration of supported video codec types. */
14 enum VideoCodecMimeType {
15   VP8("video/x-vnd.on2.vp8"),
16   VP9("video/x-vnd.on2.vp9"),
17   H264("video/avc"),
18   H265("video/hevc");
19 
20   private final String mimeType;
21 
VideoCodecMimeType(String mimeType)22   private VideoCodecMimeType(String mimeType) {
23     this.mimeType = mimeType;
24   }
25 
mimeType()26   String mimeType() {
27     return mimeType;
28   }
29 }
30