blix-expo-settings 0.1.1 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpoSettingsModule.js","sourceRoot":"","sources":["../src/ExpoSettingsModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,sEAAsE;AACtE,MAAM,kBAAkB,GAAG,QAAQ,CAAC,EAAE,KAAK,KAAK;IAC9C,CAAC,CAAC,mBAAmB,CAAC,cAAc,CAAC;IACrC,CAAC,CAAC;QACE,+CAA+C;QAC/C,iBAAiB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,EAAG,kCAAkC;QAC/E,aAAa,EAAE,CAAC,IAAY,EAAE,UAAkB,EAAE,EAAE,GAAE,CAAC;QACvD,UAAU,EAAE,GAAG,EAAE,GAAE,CAAC;QACpB,eAAe,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;KAClD,CAAC;AAEN,eAAe,kBAAkB,CAAC","sourcesContent":["import { Platform } from 'react-native';\nimport { requireNativeModule } from 'expo-modules-core';\n\n\n// Só carrega o native module no iOS; no Android, exporta stubs vazios\nconst ExpoSettingsModule = Platform.OS === 'ios'\n ? requireNativeModule('ExpoSettings')\n : {\n // Métodos usados pelo seu fluxo de live-stream\n initializePreview: () => Promise.resolve(), // se for async, senão só () => {}\n publishStream: (_url: string, _streamKey: string) => {},\n stopStream: () => {},\n getStreamStatus: () => Promise.resolve('stopped'),\n };\n\nexport default ExpoSettingsModule;\n
|
|
1
|
+
{"version":3,"file":"ExpoSettingsModule.js","sourceRoot":"","sources":["../src/ExpoSettingsModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,sEAAsE;AACtE,MAAM,kBAAkB,GAAG,QAAQ,CAAC,EAAE,KAAK,KAAK;IAC9C,CAAC,CAAC,mBAAmB,CAAC,cAAc,CAAC;IACrC,CAAC,CAAC;QACE,+CAA+C;QAC/C,iBAAiB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,EAAG,kCAAkC;QAC/E,aAAa,EAAE,CAAC,IAAY,EAAE,UAAkB,EAAE,EAAE,GAAE,CAAC;QACvD,UAAU,EAAE,GAAG,EAAE,GAAE,CAAC;QACpB,eAAe,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;KAClD,CAAC;AAEN,eAAe,kBAAkB,CAAC","sourcesContent":["import { Platform } from 'react-native';\nimport { requireNativeModule } from 'expo-modules-core';\n\n\n// Só carrega o native module no iOS; no Android, exporta stubs vazios\nconst ExpoSettingsModule = Platform.OS === 'ios'\n ? requireNativeModule('ExpoSettings')\n : {\n // Métodos usados pelo seu fluxo de live-stream\n initializePreview: () => Promise.resolve(), // se for async, senão só () => {}\n publishStream: (_url: string, _streamKey: string) => {},\n stopStream: () => {},\n getStreamStatus: () => Promise.resolve('stopped'),\n };\n\nexport default ExpoSettingsModule;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpoSettingsView.js","sourceRoot":"","sources":["../src/ExpoSettingsView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,UAAU,GACd,wBAAwB,CAAC,cAAc,CAAC,CAAC;AAEzC,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAA4B;IACnE,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACnC,CAAC","sourcesContent":["import { requireNativeViewManager } from \"expo-modules-core\";\nimport * as React from \"react\";\nimport {\n ExpoSettingsViewProps,\n} from \"./ExpoSettings.types\";\n\nconst NativeView: React.ComponentType<ExpoSettingsViewProps> =\n requireNativeViewManager(\"ExpoSettings\");\n\n export default function ExpoSettingsView(props: ExpoSettingsViewProps) {\n return <NativeView {...props} />;\n }
|
|
1
|
+
{"version":3,"file":"ExpoSettingsView.js","sourceRoot":"","sources":["../src/ExpoSettingsView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,UAAU,GACd,wBAAwB,CAAC,cAAc,CAAC,CAAC;AAEzC,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAA4B;IACnE,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACnC,CAAC","sourcesContent":["import { requireNativeViewManager } from \"expo-modules-core\";\nimport * as React from \"react\";\nimport {\n ExpoSettingsViewProps,\n} from \"./ExpoSettings.types\";\n\nconst NativeView: React.ComponentType<ExpoSettingsViewProps> =\n requireNativeViewManager(\"ExpoSettings\");\n\n export default function ExpoSettingsView(props: ExpoSettingsViewProps) {\n return <NativeView {...props} />;\n }"]}
|
package/ios/ExpoSettings.podspec
CHANGED
|
@@ -98,9 +98,9 @@ public class ExpoSettingsModule: Module {
|
|
|
98
98
|
stream.audioSettings = audioSettings
|
|
99
99
|
|
|
100
100
|
let videoSettings = VideoCodecSettings(
|
|
101
|
-
videoSize: .init(width:
|
|
102
|
-
bitRate:
|
|
103
|
-
profileLevel:
|
|
101
|
+
videoSize: .init(width: 1080, height: 1920),
|
|
102
|
+
bitRate: 4000 * 1000,
|
|
103
|
+
profileLevel: kVTProfileLevel_H264_Baseline_4_0 as String,
|
|
104
104
|
scalingMode: .trim,
|
|
105
105
|
bitRateMode: .average,
|
|
106
106
|
maxKeyFrameIntervalDuration: 2,
|
package/package.json
CHANGED
package/src/ExpoSettingsView.tsx
CHANGED