mContext = context;
if (mRenderingWidget == null) { mRenderingWidget = new WebVttRenderingWidget(mContext); } return new WebVttTrack(mRenderingWidget, format);
if (format.containsKey(MediaFormat.KEY_MIME)) { return format.getString(MediaFormat.KEY_MIME).equals("text/vtt"); } return false;