* 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 d8c000c7f7
commit 8234c4c510
1 changed files with 2 additions and 1 deletions

View File

@ -841,7 +841,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 == 'PeerMediaTrack' || mediaType == 'BackingTrack') {
// BackingTrack