-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove workaround to prevent creating realtime nodes
Safari up to version 13.1 allowed to create a MediaElementAudioSourceNode, a MediaStreamAudioSourceNode, and a MediaStreamAudioDestinationNode with an OfflineAudioContext. BREAKING CHANGE: This will drop support for Safari v13.1.
- Loading branch information
1 parent
8a81581
commit 73e0b67
Showing
10 changed files
with
26 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/types/media-element-audio-source-node-constructor-factory.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import { TAudioNodeConstructor } from './audio-node-constructor'; | ||
import { TGetNativeContextFunction } from './get-native-context-function'; | ||
import { TIsNativeOfflineAudioContextFunction } from './is-native-offline-audio-context-function'; | ||
import { TMediaElementAudioSourceNodeConstructor } from './media-element-audio-source-node-constructor'; | ||
import { TNativeMediaElementAudioSourceNodeFactory } from './native-media-element-audio-source-node-factory'; | ||
|
||
export type TMediaElementAudioSourceNodeConstructorFactory = ( | ||
audioNodeConstructor: TAudioNodeConstructor, | ||
createNativeMediaElementAudioSourceNode: TNativeMediaElementAudioSourceNodeFactory, | ||
getNativeContext: TGetNativeContextFunction, | ||
isNativeOfflineAudioContext: TIsNativeOfflineAudioContextFunction | ||
getNativeContext: TGetNativeContextFunction | ||
) => TMediaElementAudioSourceNodeConstructor; |
4 changes: 1 addition & 3 deletions
4
src/types/media-stream-audio-source-node-constructor-factory.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import { TAudioNodeConstructor } from './audio-node-constructor'; | ||
import { TGetNativeContextFunction } from './get-native-context-function'; | ||
import { TIsNativeOfflineAudioContextFunction } from './is-native-offline-audio-context-function'; | ||
import { TMediaStreamAudioSourceNodeConstructor } from './media-stream-audio-source-node-constructor'; | ||
import { TNativeMediaStreamAudioSourceNodeFactory } from './native-media-stream-audio-source-node-factory'; | ||
|
||
export type TMediaStreamAudioSourceNodeConstructorFactory = ( | ||
audioNodeConstructor: TAudioNodeConstructor, | ||
createNativeMediaStreamAudioSourceNode: TNativeMediaStreamAudioSourceNodeFactory, | ||
getNativeContext: TGetNativeContextFunction, | ||
isNativeOfflineAudioContext: TIsNativeOfflineAudioContextFunction | ||
getNativeContext: TGetNativeContextFunction | ||
) => TMediaStreamAudioSourceNodeConstructor; |
4 changes: 1 addition & 3 deletions
4
src/types/native-media-stream-track-audio-source-node-factory-factory.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import { TInvalidStateErrorFactory } from './invalid-state-error-factory'; | ||
import { TIsNativeOfflineAudioContextFunction } from './is-native-offline-audio-context-function'; | ||
import { TNativeMediaStreamTrackAudioSourceNodeFactory } from './native-media-stream-track-audio-source-node-factory'; | ||
|
||
export type TNativeMediaStreamTrackAudioSourceNodeFactoryFactory = ( | ||
createInvalidStateError: TInvalidStateErrorFactory, | ||
isNativeOfflineAudioContext: TIsNativeOfflineAudioContextFunction | ||
createInvalidStateError: TInvalidStateErrorFactory | ||
) => TNativeMediaStreamTrackAudioSourceNodeFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters