RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

Use G729 Audio codec instead of G711

Open RedwanSharafatKabir opened this issue 2 years ago • 3 comments

Can I use G729 Audio codec instead of G711 ?

RedwanSharafatKabir avatar Jan 23 '24 07:01 RedwanSharafatKabir

Hello,

Currently G729 codec is not supported. Mainly for this reasons:

  • Not supported by android mediacodec.
  • Only supported by RTSP protocol
  • I need implement a software implementation like G711

The difference between G711 and G729 it that G711 has an easy implementation and it is supported by RTSP and RTMP. Also, G711 is supported in android mediacodec decoding so you can use a file with g711 codec with FromFileBase. That are the reasons because I implemented that codec.

Of course, if you can do an implementation of G729 encoding in pure java/kotlin. I can create the packet and add it to RTSP supported codecs.

pedroSG94 avatar Jan 23 '24 22:01 pedroSG94

Added as feature but it is only possible for RTSP

pedroSG94 avatar Feb 26 '24 11:02 pedroSG94