Top

Cannot make a Rainbow video call from iOS app

Commentaires

9 commentaires

  • Olivier ANGUENOT

    Hi Hiro,

    Could you share here the part of your code that initialize the video call ?

    Thanks in advance,

    Regards,

    Olivier

    0
    Actions pour les commentaires Permalien
  • Hiro TAKAHASHI

    Hello Olivier, thank you for your support.

    Here is a code that originating the video call, 

    mCurrentCall = mServicesManager.rtcService.beginNewOutgoingCall(with: contact, withFeatures: features) as RTCCall?

    features is set as

    RTCCallFeatureFlags.init(rawValue: RTCCallFeatureFlags.audio.rawValue | RTCCallFeatureFlags.localVideo.rawValue)!

     

    It actually makes a call and the other party, Windows Rainbow client rings and shows options for Voice and Video conversation.

    When I click the video icon on the Windows Rainbow client then it makes a 2-way audio conversation but no video stream is sent from the iPhone.

    The app receives NSNotification.Name.telephonyServiceDidUpdateCall with CallStatus.connecting and then CallStatus.established once the other party clicks the video icon.

     

    Thanks,

    Hiroki

    0
    Actions pour les commentaires Permalien
  • Olivier ANGUENOT

    Hi Hiro,

    Could you send me a complete logs file of the IOS part ? I will check the media negotiated.

    Thanks in advance,

    Olivier

    0
    Actions pour les commentaires Permalien
  • Hiro TAKAHASHI

    Hello Oliver, Can I attach text files to this thread?

    I took the log but I do not see any option for it.

    Thanks,

    Hiro

    0
    Actions pour les commentaires Permalien
  • Hiro TAKAHASHI

    Hello Olivier,

    I added the following line to confirm if the camera usage is granted before placing a video call.

    AVCaptureDevice.authorizationStatus(for: AVMediaType.video)

    I confirmed that the status was .authorized when I placed a video call but the call still did not send video stream.

    Just in case I tried a Facetime video call to verify the issue is not on my iPhone (iphone6) hardware and the Facetime video call worked as expected. So I do not think this is not a hardware related problem.

    Thanks,

    Hiro

     

    0
    Actions pour les commentaires Permalien
  • Olivier ANGUENOT

    Hi Hiro, 

    Could you send me your log files using Rainbow in a conversation ? I will have a look

    Regards,

    Olivier

    0
    Actions pour les commentaires Permalien
  • Hiro TAKAHASHI

    Hi Olivier,

    I cannot find your contact information on the contact list. 

    Hiro

    0
    Actions pour les commentaires Permalien
  • Hiro TAKAHASHI

    Hi Olivier, 

    In the log file I found rtcServiceDidAddCapturesSession event that will be fired when the video capture can be started.

    Also I see the following logs that indicate that a video and audio track were created.

    2019-11-04 13:19:02.276041-0600 RainbowKiosk[7088:984934] [RTCService:2629] Video track created
    2019-11-04 13:19:02.276155-0600 RainbowKiosk[7088:984934] [RTCService:2635] Create audio track
    2019-11-04 13:19:02.277193-0600 RainbowKiosk[7088:984934] [RTCService:2640] Audio track created
    2019-11-04 13:19:02.277931-0600 RainbowKiosk[7088:984630] [RTCService:2898] Renegotiation needed
    2019-11-04 13:19:02.278883-0600 RainbowKiosk[7088:984934] [RTCService:2609] PeerConnection : RTCPeerConnection <0x283488340 configuration RTCConfiguration: {
    (
    "RTCIceServer 0x2834b5b00 <urls (\n \"turns:turn-wdc1.openrainbow.com:443?transport=tcp\"\n), tlsCertPolicy 0, hostName ",
    "RTCIceServer 0x2834b7f40 <urls (\n \"turn:turn-wdc1.openrainbow.com:80?transport=tcp\"\n), tlsCertPolicy 0, hostName ",
    "RTCIceServer 0x2834b4a80 <urls (\n \"turn:turn-dal1.openrainbow.com:80?transport=tcp\"\n), tlsCertPolicy 0, hostName ",
    "RTCIceServer 0x2834b4f00 <urls (\n \"turns:turn-dal1.openrainbow.com:443?transport=tcp\"\n), tlsCertPolicy 0, hostName "
    )

    Just in case I downloaded the rainbow app on my iphone an made video calls that successfully completed.  

    Hiro

     

    0
    Actions pour les commentaires Permalien
  • Hiro TAKAHASHI

    Olivier, 

    This issue has been solved that I found incorrect code in my functions to set the video device.

    After correcting these errors then my app is able to send the video stream.

    Thank you for your help!

    Hiro

     

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message