File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/millicast-sdk-js/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ export default class MillicastWebRTC extends EventEmitter {
278278 regex = new RegExp ( `^audio/(${ Object . values ( MillicastAudioCodec ) . join ( '|' ) } )$` , 'i' )
279279 const browserData = new UserAgent ( window . navigator . userAgent )
280280
281- if ( browserData . isChrome ( [ 'iOS' ] ) ) {
281+ if ( browserData . isChrome ( ) ) {
282282 codecs . multiopus = { mimeType : 'audio/multiopus' , channels : 6 }
283283 }
284284 }
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ export default class SdpParser {
168168 */
169169 static setMultiopus ( sdp ) {
170170 const browserData = new UserAgent ( window . navigator . userAgent )
171- if ( browserData . isChrome ( [ 'iOS' ] ) ) {
171+ if ( browserData . isChrome ( ) ) {
172172 logger . info ( 'Setting multiopus' )
173173 // Find the audio m-line
174174 const res = / m = a u d i o 9 U D P \/ T L S \/ R T P \/ S A V P F ( .* ) \r \n / . exec ( sdp )
Original file line number Diff line number Diff line change 11import UAParser from 'ua-parser-js'
22
33export default class UserAgent extends UAParser {
4- isChrome ( excludedOS = [ ] ) {
4+ isChrome ( excludedOS = [ 'iOS' ] ) {
55 const browserData = this . getBrowser ( )
66 const osData = this . getOS ( )
77
You can’t perform that action at this time.
0 commit comments