// TODO: if we aren't performing any transcoding, just serve the file up directly.
// TODO: capture sources need to be treated as singletons, with some kind of broadcasting/cloning to ensure
// that multiple connections can be made.
final String serverSideUrlStr = mediaPath; //URLUtils.createUrlStr(new File(mediaPath)); // TODO: enforce that we can't just serve up anything anywhere
final ContentDescriptor outputContentDescriptor = new FileTypeDescriptor(ContentDescriptor.mimeTypeToPackageName(mimeType));
final Format outputFormat;
if (outputFormatStr == null)
{ outputFormat = null;
}