I have gone through the documentation, didn't find any API to get the rtmp:// URL as of now. You can track status of latest features that's in development or out in public here - Microsoft Roadmap
Thanks,
Hunaid Hanfee
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.