[Live-devel] Problems with Streaming of AMR
Martin
marthi at graphics.cs.uni-sb.de
Mon Oct 30 10:14:09 PST 2006
Hi,
I'm trying to stream AMR which is encoded by the ffmpeg-library with
liblive but I'm having problems. Streaming of MP3, alaw and u-law are
working well. But with AMR the doGetNextFrame() of my class
MyFramedSource which is derived from FramedSource is not executed.
The relevant code looks like this:
// Init UsageEnvironment and Groupsock
rtp_sink = AMRAudioRTPSink::createNew(env, rtp_sock, 97);
MyFramedSource* my_framed_source = MyFramedSource::createNew(env);
RTCPInstance::createNew(*env, &rtcpGroupsock, bandwidth, CNAME,
rtp_sink, NULL));
// play
// start doEventLoop
Is there something special I have to consider when using AMR? Thanks for
helping!
Martin
More information about the live-devel
mailing list