Hi,
how to record the radio stream? is exoplayer supports recording feature?
We don't support recording.
@ojw28 thank you for your answer. Are you planning in future to support this feature? Is there any possibility to modify your library to save/record bytes from inputstream of your exoplayer?
I need this feature too.
Plans can change, but as of now we have no plan to support this feature.
ojw28, you may not implement directly this feature, but at least make API more accessible and convenient for developers to implement by themselves.
For example, some guy at
http://stackoverflow.com/questions/40579478/android-exoplayer-live-audio-stream-vu-meter-audio-visualisation-and-recording
wrote:
I downgraded the Exoplayer to 1.5.3 as I couldn't figure out how to access the MediaCodecAudioTrackRenderer in the v2.
I extended the MediaCodecAudioTrackRenderer class as it has a processBuffer function I can override.
V2 has the same method and it looks to me like you can still override it, so I'm not sure the StackOverflow issue is particularly relevant.
Developers are free to fork part or all of ExoPlayer to implement what they need, where we don't provide a feature directly. Note that adding hooks to allow a feature to be conveniently developed as an extension is in itself a feature. Note also that a developer is free to propose a pull request that adds such hooks to the project.
Please, tell, where in ExoPlayer I can hook and capture input buffer (for mp3 stream) and write it to file?
It would be interesting that function to give the possibility to listen seconds behind in a streaming radio, if you want to listen again heard.