I want to flex connect to a WCF with RTMP. is there an abillity to create RTMP custom binding in WCF?
Yes, from what I've read of the RMTP protocol, it would be possible to create a transport channel in WCF.
Note, a transport channel is what you really want to create, because that's going to handle the low-level transport of bytes over the wire.
The largest hurdle I see being overcome is handling the different channel ids in the protocol for a single session. Depending on how exactly that is handled (if you are using RTMPT for example, the channel id might be in the header, so the same endpoint in WCF can work with that and perform the appropriate operation), it might require extensive, or not-so-extensive work with the transport channel.
I would suggest looking at the Channel Model Overview in MSDN and then looking at winterdom's blog entry on writing a WCF transport channel, as it walks you through creating a WCF transport channel, as well as has a treasure-trove of links to other resources useful in understanding how to create your own WCF transport channel.
That was a great answer. I will start looking at it. The only thing that i see problematic is how will the flex client will generate proxy to the WCF server? how will it recognize it's methods?
Did anyone connected a flex app to a WCF service? how? can WCF hold an RTMP binding?