|
From: | Warren Boucher |
Subject: | Re: [Linphone-developers] Linphone-developers Digest, Vol 147, Issue 38 |
Date: | Fri, 22 May 2015 08:14:08 +0000 |
Send Linphone-developers mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/linphone-developers
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linphone-developers digest..."
Today's Topics:
1. liblinphone ios arm64 (jalsenggin .)
2. Calling from 3rd party device (with ?Videophone?
capabilities) to Linphone(Desktop) displays video while calling
Linphone(Browser) does not (Warren Boucher)
3. Re: Calling from 3rd party device (with ?Videophone?
capabilities) to Linphone(Desktop) displays video while calling
Linphone(Browser) does not (Ghislain MARY)
---------- Forwarded message ----------
From: "jalsenggin ." <address@hidden>
To: address@hidden
Cc:
Date: Thu, 21 May 2015 15:00:16 -0700
Subject: [Linphone-developers] liblinphone ios arm64Thanks. Regards.But I'm not able to build my project as arm64 with it.I've tried to build my project as arm64 in xcode withIts date is May 21, 2015, today.
http://www.linphone.org/snapshots/ios/liblinphone-iphone-sdk-latest.zipOther versions on the list are same. All has been failed to build as arm64.Does the sdk have arm64 binary? or arm7 only?
---------- Forwarded message ----------
From: Warren Boucher <address@hidden>
To: address@hidden
Cc:
Date: Fri, 22 May 2015 06:40:32 +0000
Subject: [Linphone-developers] Calling from 3rd party device (with “Videophone” capabilities) to Linphone(Desktop) displays video while calling Linphone(Browser) does notI've been wrestling with this problem for the last few days.I'm trying to write a proof of concept to show that a 3rd party hardware device with "Videophone" capabilities can call a web application on the same LAN. At the recommendation of the manufacturer of the device, I'm using linphone.
Firstly, Linphone for Windows works perfectly (After enabling H263 under video codecs) So to clarify, the 3rd party device makes use of the H263 video codec.
Linphone for the browser using my proof of concept, shows video when called from linphone for windows but NOT when called from the 3rd part device.
First Problem
After some digging through https://www.linphone.org/docs/linphone-web/external-LinphoneCore.html and looking at the results of "core.videoCodecs" I noticed that the only video codec returned was VP8.
After more digging, the x-linphone-web plugin does not include all codecs by default. So I recompiled the plugin with support for "H263" enabled. "core.videoCodecs" now returned with "H263" as one of the codecs. At this point, there is still no video when I call from the 3rd party device to my proof of concept.
Other things I've tried:
- Manipulate linphone core parameters. (videoPort, videoPolicy, ...)
- Accept calls in different ways. Using acceptCall, acceptCallWithParams, acceptEarlyMedia followed by acceptCall.
I noticed that linphone for windows exports its configuration to a linphonerc file. Tried to initialise the linphone core using the same parameters an linphone for windows
3.1 Tried using core.init('URI to file using the format file:///C:/test.linphonerc'); This caused an invalid URI error.
3.2 Tried using core.init('URI to file using the format 'local:///test.linphonerc'); This didn't cause an error but created new file C:\Users***\AppData\Local\Temp\linphone-web\8d89-653a-c164-9d79\test.linphonerc
3.3 Tried creating the file in code using newLpConfig('local:///test.linphonerc') then initialising using core.init('local:///test.linphonerc'). newLpConfig writes to a new folder in C:\Users***\AppData\Local\Temp\linphone-web\ and init tries to read from yet another new folder in C:\Users***\AppData\Local\Temp\linphone-web\
Looking at wireshark logs to see the difference between calling linphone for windows and calling proof of concept with linphone browser from 3rd party device.
4.1 Linphone(Windows) replies to the SIP Invite with a "101 Dialog Establishment" while Linphone(Browser) replies with a "100 Trying"
4.2 When the "answer call" button is pressed, Linphone(Windows) replies with "200 OK" that includes a SDP media description "Media Description, name and address (m): video 9078 RTP/AVP 34" while Linphone(Browser) replies with "200 OK" with a media description "Media Description, name and address (m): video 0 RTP/AVP 0"
4.3 On answer, Linphone(Windows) replies with "200 OK" that includes a SDP media attribute"Media Attribute (a): rtpmap:34 H263/90000" while Linphone(Browser) replies with "200 OK" without a video media attribute.
Any idea why the video is displaying when calling Linphone for windows but not when calling my proof of concept that makes use of Linphone for browser?Please let me know if someone needs to see the code I'm using.I've also posted this question to stackoverflow with the tags #linphone, #sip and #voip, but found this mailing list later which I thought might have a better chance of answering my question. Thanks for any help!
---------- Forwarded message ----------
From: Ghislain MARY <address@hidden>
To: address@hidden
Cc:
Date: Fri, 22 May 2015 09:44:13 +0200
Subject: Re: [Linphone-developers] Calling from 3rd party device (with “Videophone” capabilities) to Linphone(Desktop) displays video while calling Linphone(Browser) does not
Hi,_______________________________________________
If H263 appears in core.videoCodecs it means that it is now supported. However it may not be enabled. To enable it call core.enablePayloadType(h263pt, true); h263pt being the H263 payload type returned y core.videoCodecs.
Cheers,
Ghislain
Le 22/05/2015 08:40, Warren Boucher a écrit :
I've been wrestling with this problem for the last few days.
I'm trying to write a proof of concept to show that a 3rd party hardware device with "Videophone" capabilities can call a web application on the same LAN. At the recommendation of the manufacturer of the device, I'm using linphone.
Firstly, Linphone for Windows works perfectly (After enabling H263 under video codecs) So to clarify, the 3rd party device makes use of the H263 video codec.
Linphone for the browser using my proof of concept, shows video when called from linphone for windows but NOT when called from the 3rd part device.
First Problem
After some digging through https://www.linphone.org/docs/linphone-web/external-LinphoneCore.html and looking at the results of "core.videoCodecs" I noticed that the only video codec returned was VP8.
After more digging, the x-linphone-web plugin does not include all codecs by default. So I recompiled the plugin with support for "H263" enabled. "core.videoCodecs" now returned with "H263" as one of the codecs. At this point, there is still no video when I call from the 3rd party device to my proof of concept.
Other things I've tried:
- Manipulate linphone core parameters. (videoPort, videoPolicy, ...)
- Accept calls in different ways. Using acceptCall, acceptCallWithParams, acceptEarlyMedia followed by acceptCall.
I noticed that linphone for windows exports its configuration to a linphonerc file. Tried to initialise the linphone core using the same parameters an linphone for windows
3.1 Tried using core.init('URI to file using the format file:///C:/test.linphonerc'); This caused an invalid URI error.
3.2 Tried using core.init('URI to file using the format 'local:///test.linphonerc'); This didn't cause an error but created new file C:\Users***\AppData\Local\Temp\linphone-web\8d89-653a-c164-9d79\test.linphonerc
3.3 Tried creating the file in code using newLpConfig('local:///test.linphonerc') then initialising using core.init('local:///test.linphonerc'). newLpConfig writes to a new folder in C:\Users***\AppData\Local\Temp\linphone-web\ and init tries to read from yet another new folder in C:\Users***\AppData\Local\Temp\linphone-web\
Looking at wireshark logs to see the difference between calling linphone for windows and calling proof of concept with linphone browser from 3rd party device.
4.1 Linphone(Windows) replies to the SIP Invite with a "101 Dialog Establishment" while Linphone(Browser) replies with a "100 Trying"
4.2 When the "answer call" button is pressed, Linphone(Windows) replies with "200 OK" that includes a SDP media description "Media Description, name and address (m): video 9078 RTP/AVP 34" while Linphone(Browser) replies with "200 OK" with a media description "Media Description, name and address (m): video 0 RTP/AVP 0"
4.3 On answer, Linphone(Windows) replies with "200 OK" that includes a SDP media attribute"Media Attribute (a): rtpmap:34 H263/90000" while Linphone(Browser) replies with "200 OK" without a video media attribute.
Any idea why the video is displaying when calling Linphone for windows but not when calling my proof of concept that makes use of Linphone for browser?
Please let me know if someone needs to see the code I'm using.
I've also posted this question to stackoverflow with the tags #linphone, #sip and #voip, but found this mailing list later which I thought might have a better chance of answering my question. Thanks for any help!
_______________________________________________ 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
[Prev in Thread] | Current Thread | [Next in Thread] |