Skip to main content
Participant
Mar 29, 2011 7:06 AM UTC
Question

Peer to Peer (RTMPF) Question

Hi,

If RTMPF is used for streaming video among the  peers in the group, what will happen if the peer that publishes the  video to one or more peers has closed the browser or AIR application?

Thanks,

Sunny

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Apr 13, 2011 3:59 PM UTC

    At least for Flex apps running in the browser, where RTMFP is being used to have a peer to peer video publishing application, if you have an application on FMS, in your main.asc file you can respond to onDisconnect(), which gets triggered when the browser is closed, and will likely get triggered when the user breaks their connection by closing the AIR app.

    Translate
    Participating Frequently
    Apr 1, 2011 2:46 PM UTC

    Though i have not tried the scenario , i expect the publisher connection loss would result in stop of publishing stream and peers should ideally get publishing stop notification.

    Translate