Answered InstantMessages and AudioVideoCalls

  • Friday, August 17, 2012 9:41 AM
     
     

    Hi,

    Sorry for my english in advance, if someone doesn't understand don't hesitate to tell me.

    Here my little problem :

    A part of my project consist to record an AudioVideoCall when one of my ApplicationEndpoints is part of a Audio/Video conversation between two participants. A participant can start, pause, resume and stop recording the media by sending a tag like "@record".
    This part works fine.

    I would like, when the AudioVideoCall is accepted by the ApplicationEndpoint, that this Endpoint sends an InstantMessage to the participants to tell them that they can now record the media.

    But to send an InstantMessage I have to accept the InstantMessagingCall, exept that I can't because I have already accepted an AudioVideoCall.

    Is there a way to send InstantMessages by an ApplicationEndpoint when an AudioVideoCall is established ?

    Thanks for the future answers.

All Replies

  • Friday, August 17, 2012 7:06 PM
     
     Answered Has Code

    When you accept the A/V call you should have a Conversation object associated with it.  You can use that Conversation to create an IM session in the scope of the existing Conversation that you are using for the A/V session.

    InstantMessagingCall IMcall = new InstantMessagingCall(conversation);

    Where "conversation" is the instance of the Conversation class that you are using for the A/V session.

    See this for some details: Calls, Flows, Conversations, and MCU Sessions


    Oscar Newkerk

    Oscarnew Consulting

  • Monday, August 20, 2012 7:31 AM
     
     

    Sorry for the delay,
    I have already tried it but it seems that I can't initialize an InstantMessagingCall while I have already accepted an  AudioVideoCall.

    I'm going to check your link and i'll let you know.

    Thank you anyway :)

  • Monday, August 20, 2012 1:34 PM
     
     Answered
    What happens when you try to establish the InstantMessagingCall? 

    Michael Greenlee | linkedin: http://www.linkedin.com/in/michaelgreenlee | blog: http://blog.greenl.ee

  • Tuesday, August 21, 2012 7:40 AM
     
     

    I used BeginAccept instead of BeginEstablish so of course it didn't work.
    Let say that I was tired !

    It was a stupid question sorry if I made you loose your time.