Menu

#69 Adding IPV6 support to mp3rtp utility

None
closed-accepted
None
3
2023-11-21
2014-07-18
Surabhi
No

Currently mp3rtp utility of LAME supports only IPV4 communication.
I have done changes to rtp_socket() and lame_main() functions so that both IPV4 and IPV6 addresses can be supported.
One change for usage of mp3rtp utility would be that now the input will be taken as below:
arecord -b 16 -s 22050 -w | ./mp3rtp 224.17.23.42 5004:2 -b 56 - /dev/null
and
arecord -b 16 -s 44100 -w | ./mp3rtp ff00::8 5004:2 -b 56 - /dev/null

So, using this patch mp3rtp can multicast data on IPV6 address also.
By default IPV6 is enabled and can be disabled using --disable-ipv6 with configure.

These changes will add advantage to use mp3rtp in both IPV4 and IPV6 mode.
Using only IPV4 could be a limitation very soon and upgradation to support both IPV4 and IPV6 is important.
Please find the patch attached for this change.

1 Attachments

Discussion

  • Surabhi

    Surabhi - 2015-06-10

    Hello,

    I have updated the IPV6 support patch with corrections done for few indentation errors and improving variable names.
    Please find updated patch attached.

    Thanks.

     
  • Alexander Leidinger

    • status: open --> closed-accepted
    • assigned_to: Alexander Leidinger
    • Group: -->
     
  • Alexander Leidinger

    Commited. There were some changes since then, so parts had to be applied by hand. I did some very very light testing. Can you test?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.