Open skbellevue opened 9 years ago
@skbellevue Your stream doesn't seem streamable from the console log. See this- Unsupported format error: formatID: .mp2, sample rate: 44100.000000 not supported for streaming
It says 'formatID: .mp2'
However the URL you're recording to is this- file:///Users/xyz/Library/Developer/CoreSimulator/Devices/E0135F42-C537-4A8E-AE3F-0905917319AC/data/Containers/Data/Application/5D1F36AE-A484-4AB2-903C-E61BE4D01F40/Documents/Recordings/Peterson.mp3
It says '.mp3'
Did you check this part ? Recording file format must be the same with the format the stream is providing.
Hope this helps.
Hi,
Just noticed that whenever I record a stream on iPhone 6 Plus (simulator), the output file has bytes, but cannot be played back. This is only happening with the iPhone 6 Plus simulator. I wasn't able to test on an actual device since I still need to purchase one... I'd be glad to share a file if needed.
This is what is being output in the console: FSAudioStream: Unsupported format error: formatID: .mp2, sample rate: 44100.000000 not supported for streaming [FreeStreamer 2.9.7] URL: file:///Users/xyz/Library/Developer/CoreSimulator/Devices/E0135F42-C537-4A8E-AE3F-0905917319AC/data/Containers/Data/Application/5D1F36AE-A484-4AB2-903C-E61BE4D01F40/Documents/Recordings/Peterson.mp3 bufferCount: 8 bufferSize: 32768 maxPacketDescs: 512 decodeQueueSize: 128 httpConnectionBufferSize: 1024 outputSampleRate: 44100.000000 outputNumChannels: 2 bounceInterval: 10 maxBounceCount: 4 startupWatchdogPeriod: 30 maxPrebufferedByteCount: 1000000 format: formatID: .mp2, sample rate: 44100.000000 userAgent: FreeStreamer/2.9.7 (iOS 8.1) cacheDirectory: /Users/xyz/Library/Developer/CoreSimulator/Devices/E0135F42-C537-4A8E-AE3F-0905917319AC/data/Containers/Data/Application/5D1F36AE-A484-4AB2-903C-E61BE4D01F40/Documents cacheEnabled: YES maxDiskCacheSize: 100000000 requiredInitialPrebufferedByteCountForContinuousStream: 100000 requiredInitialPrebufferedByteCountForNonContinuousStream: 50000
Thank you very much for this amazing work!