Reputation: 16716
I would like to stream an mp3. However decoding it on a sending party will eat up the bandwidth. Is it possible to retain compressed format and still be able to slice it into independently playable chunks? Then I could send them out one by one and queue up and/or stitch it back on a receiving party. From what I've heard mp3 specifically (not sure about other formats) should allow something like this by specification.
It is also highly probable that I'm fundamentally misunderstanding something about audio playback in general. Please advice.
Upvotes: 1
Views: 675
Reputation: 1150
Please check the RTP specification for the mp3 streaming
https://www.rfc-editor.org/rfc/rfc5219
the same concept of chunks and frame has been taken care in the specification.
you can use the mp3 encoded data from the mp3 file, pack them using the rtp specification and do unpack rtp and then combine/write them into mp3 file.
Upvotes: 1