linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Multicast not working


From: Mehrdad Saadati
Subject: Re: [Linphone-developers] Multicast not working
Date: Tue, 14 Feb 2017 11:14:09 +0330

here is my log file. log generated from the android device which is making the call. Now call is established and both sides accept multicasting. I checked the network log by Wireshark and it shows that devices are streaming in the Multicast Ip address. my problem is that after 30seconds call ends.

On Mon, Feb 13, 2017 at 12:01 PM, <address@hidden> wrote:
Hi,

Multicast is supposed to work. Can you provide debug traces ?

Cheers


Le 12 févr. 2017 à 11:04, Mehrdad Saadati <address@hidden> a écrit :

Hi everyone
I want to have a multicast video streaming from one of my linphone-android phones. In my code I added these lines of code at the beginning of `linphone_core_invite_address_with_params` in `linphonecore.c`:
`    LinphoneVideoPolicy vid_policy;

    linphone_core_enable_video_capture(lc, TRUE);
    linphone_core_enable_video_display(lc, TRUE);
    vid_policy.automatically_initiate=TRUE;
    vid_policy.automatically_accept=TRUE;
   
    linphone_core_set_video_policy(lc, &vid_policy);
    linphone_core_set_video_multicast_addr(lc,"224.1.2.3");
    linphone_core_enable_video_multicast(lc,TRUE);
    linphone_core_set_audio_multicast_addr(lc,"224.1.2.3");
    linphone_core_enable_audio_multicast(lc,TRUE);
`
The problem is it won't make my call a multicast call. The call stays unicast and it won't use the multicast Ip address I set in above code.
Is linphone not supporting multicasting? or I am missing something or my code is not in a good place?
please tell me if I am making the mistake, how can I enable multicasting in linphone?
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


Attachment: 58a2b0553a937_be7d3e842620c2d988f0.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]