RTP: MPA or AC3 Encoding

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RTP: MPA or AC3 Encoding

Alex Waterman

Hi List,

I have been trying to develop an RTP streaming back end for a project. I have managed to set it up based off the examples in the plugins-good distribution using alaw and PCMA, e.g: my working server + client first encodes some music in alaw and then uses the rtppcmapay element to prep the stream for the rtpbin. The client then does the reverse and plays the music.

However, since the alaw encoding is not ideal for music I have tried to use different a encoding. I have tried AC3 and MPA, but both with no luck. On the client I changed the caps and depayloader accordingly. The caps I have tried for AC3 and MPA are, respectively,

application/x-rtp, media=(string)audio, payload=(int)127, clock-rate=(int)44100, encoding-name=(string)AC3

application/x-rtp, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA

I have then been using a decodebin2 to decode the audio once depayloaded, which worked for the alaw. I am pretty much at a loss as to what could be wrong at this point. When I run the client with alaw, I get some nice messages printing info about the stream; however, for the MPA and AC3 I don't get anything. The client just sits and does nothing.

If anyone has any idea or suggestions, they would be much appreciated.

Best Regards,
Alex Waterman

--
Alex Waterman - Computer Engineer (215-896-4920)
[hidden email]
[hidden email]
Support or create OpenSource



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel