getMediaUrl.Rd
Gets the URL of the given media track for a given transcript.
getMediaUrl(labbcat.url, id, track.suffix = "", mime.type = "audio/wav")
URL to the LaBB-CAT instance.
A transcript ID (i.e. transcript name).
The track suffix of the media.
The MIME type of the media, e.g. "audio/wav" or "application/f0".
A URL to the given media for the given transcript.
if (FALSE) {
## Get URL for the WAV file for BR2044_OllyOhlson.eaf
wavUrl <- getMediaUrl(labbcat.url, "BR2044_OllyOhlson.eaf")
## Get URL for the 'QuakeFace' video file for BR2044_OllyOhlson.eaf
quakeFaceMp4Url <- getMediaUrl(labbcat.url, "BR2044_OllyOhlson.eaf", "_face", "video/mp4")
}