[Live-devel] Streaming G711 audio
d.gordenin at ngslab.ru
d.gordenin at ngslab.ru
Fri Nov 15 04:07:36 PST 2024
It works! Thanks a lot!
>
>> On Nov 15, 2024, at 2:53 AM, d.gordenin at ngslab.ru wrote:
>>
>> Hi,
>>
>> Now I have a streamer that streams video with AAC audio:
>>
>> audio_sink_ = MPEG4GenericRTPSink::createNew(*env_, audio_rtp_socket_.get(), payload,
>> 16000, "audio", "AAC-hbr", "", 1);
>>
>> and it works well.
>>
>> I need also stream G711U or G711A audio. How to make it?
> Try the following:
> SimpleRTPSink::createNew(*env_, audio_rtp_socket_.get(), payload, 8000, “audio”, “PCMU”, 1);
> for G711U. (For G711A, replace “PCMU” with “PCMA”.)
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list