Hi Masoud,
Sorry for the delay in response. Please see below if not already solved...
1) If your client is not Flash Player: The rtmplite project has a
rtmpclient.py module which allows you to publish local file to a RTMP
server or one RTMP stream from one server to another. See the "copy"
command or function. You can probably use code from that module in
your client code.
2) If your client is Flash Player: I don't think this is possible in
ActionScript. i.e., you can either do publish or play on a NetStream,
not both. I may be wrong. But one alternative is as follows: I believe
siprtmp.py allows multiple players for the "remote" stream in a call.
So you can use the rtmpclient.py (see (1) above) to copy that "remote"
stream to another stream on another or same server. You will need to
run this app on the server side, and invoke it (e.g., via CGI or
rtmp.py's RPC) from your client page.
3) You can modify the siprtmp.py code to take rtmpclient.py module and
republish the "remote" stream of the call to another place as needed.
I like (3) best, because it keeps everything hidden from the client,
and since
siprtmp.py/rtmpclient.py are simple/small code, it should be
relatively easy to accomplish.
Hope this helps!
> --
> --
> You received this message because you are subscribed to the Google
> Groups "myprojectguide" group.
> To post to this group, send email to
myproje...@googlegroups.com
> To unsubscribe from this group, send email to
>
myprojectguid...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/myprojectguide?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "myprojectguide" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
myprojectguid...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
The Intencity Team
http://theintencity.com