rooltex
rooltex

Reputation: 132

How to play audio from RTMP stream?

I'm working with RTMP. I have captured RTMP packents in wireshark. I know how to assemble and play video data but don't know how to play audio. Wireshark tell me that data is in .aac. But i don't get how i can play it? Is i need to wrap it in container? wireshark capture

Upvotes: 1

Views: 1004

Answers (1)

szatmary
szatmary

Reputation: 31100

AAC can be played without a container. But every frame must have an ADTS header (google can explain that part to you) to convert from raw frames to ADTS you must get the sequence header from the start of the stream and convert to ADTS.

Upvotes: 2

Related Questions