linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Multicast not working


From: Mehrdad Saadati
Subject: [Linphone-developers] Multicast not working
Date: Sun, 12 Feb 2017 13:34:41 +0330

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?

reply via email to

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