theintencity / rtmplite

Flash RTMP server and SIP-RTMP gateway in Python
Other
201 stars 88 forks source link

How to configure siprtmp to use different outbound proxy and user realm? #104

Open dmi3x opened 9 years ago

dmi3x commented 9 years ago

We use Kamailio as outbound proxy for FreeSWITCH. ex: User URI: sip:user@account-realm.loc Outbound proxy server: registrar.loc If we try to setup rtmp client like: rtmp://rtmp-server/sip/user@realm.loc rtmp server use realm.loc as registrar, but it is wrong. How we should setup siprtmp to use registrar.loc? Please, help!

dmi3x commented 9 years ago

Hi! We found the solution in a copy of rtmplite: https://github.com/2600hz/hook-flash It has the parameter for the outgoing proxy: https://github.com/2600hz/hook-flash/blob/master/rtmplite/siprtmp_gevent.py#L1570 I think this is a very useful addition.

ROBERT-MCDOWELL commented 7 years ago

yes, on line 651 self.proxy