* VRFS-2726 - media_type is not set for develop builds of the client; so null means Recording in develop branch

This commit is contained in:
Seth Call 2015-02-01 14:15:17 -06:00
parent 7352fa9b19
commit e9d2df58df
1 changed files with 2 additions and 1 deletions

View File

@ -840,7 +840,8 @@
context._.each(mixers, function(mixer) {
var mediaType = mixer.media_type;
if(mediaType == 'RecordingTrack') {
// mediaType == null is for backwards compat with older clients. Can be removed soon
if(mediaType == null || mediaType == "" || mediaType == 'RecordingTrack') {
recordingTrackMixers.push(mixer)
}
else if(mediaType == 'BackingTrack') {