/// Returns the PayloadType currently in use for the audio stream.
/// </summary>
/// <returns>The payload type currently in use for the audio stream</returns>
PayloadType^GetUsedAudioCodec();
propertyPayloadType^UsedAudioCodec
{
PayloadType^get();
}
/// <summary>
/// Indicates low bandwidth mode.
...
...
@@ -46,15 +47,11 @@ namespace Linphone
/// Tyically, ptime (packetization time) will be increased, audio codecs's output bitrate will be targetted to 20kbits/s provided that it is achievable by the codec selected after SDP handshake.
/// Video is automatically disabled.
/// </summary>
/// <param name="enable">A boolean value telling whether to enable the low bandwidth mode</param>
voidEnableLowBandwidth(Platform::Booleanenable);
/// <summary>
/// Gets if the low bandwidth mode is enabled.
/// See EnableLowBandwidth(boolean enable).
/// </summary>
/// <returns>A boolean value telling whether the low bandwidth mode is enabled or not</returns>
Platform::BooleanIsLowBandwidthEnabled();
propertyPlatform::BooleanLowBandwidthEnabled
{
Platform::Booleanget();
voidset(Platform::Booleanvalue);
}
/// <summary>
/// Enable or disable video.
...
...
@@ -68,20 +65,26 @@ namespace Linphone
/// <summary>
/// Returns the PayloadType currently in use for the video stream.
/// </summary>
/// <returns>The payload type currently in use for the video stream</returns>
PayloadType^GetUsedVideoCodec();
propertyPayloadType^UsedVideoCodec
{
PayloadType^get();
}
/// <summary>
/// Returns the size of the video being sent.
/// </summary>
/// <returns>The size of the video being sent</returns>
Windows::Foundation::SizeGetSentVideoSize();
propertyWindows::Foundation::SizeSentVideoSize
{
Windows::Foundation::Sizeget();
}
/// <summary>
/// Returns the size of the video being received.
/// </summary>
/// <returns>The size of the video being received</returns>
/// Media type of the statistics (audio or video).
/// </summary>
publicenumclassMediaType:int
{
Audio=0,
Video=1
};
/// <summary>
/// State of the ICE processing.
/// </summary>
publicenumclassIceState:int
{
NotActivated=0,
Failed=1,
InProgress=2,
HostConnection=3,
ReflexiveConnection=4,
RelayConnection=5
};
/// <summary>
/// Object representing the statistics of a call.
/// To get the statistics of a call use the LinphoneCall::GetAudioStats() method. It gives the call statistics at the specific time it is asked for.
...
...
@@ -39,70 +17,106 @@ namespace Linphone
/// <summary>
/// Gets the media type (audio or video).
/// </summary>
MediaTypeGetMediaType();
propertyLinphone::Core::MediaTypeMediaType
{
Linphone::Core::MediaTypeget();
}
/// <summary>
/// Gets the state of the ICE process.
/// </summary>
IceStateGetIceState();
propertyLinphone::Core::IceStateIceState
{
Linphone::Core::IceStateget();
}
/// <summary>
/// Gets the download bandwidth in kbits/s.
/// </summary>
floatGetDownloadBandwidth();
propertyfloatDownloadBandwidth
{
floatget();
}
/// <summary>
/// Gets the upload bandwidth in kbits/s.
/// </summary>
floatGetUploadBandwidth();
propertyfloatUploadBandwidth
{
floatget();
}
/// <summary>
/// Gets the local loss rate since last emitted RTCP report.
/// </summary>
floatGetSenderLossRate();
propertyfloatSenderLossRate
{
floatget();
}
/// <summary>
/// Gets the remote loss rate from the last received RTCP report.
/// </summary>
floatGetReceiverLossRate();
propertyfloatReceiverLossRate
{
floatget();
}
/// <summary>
/// Gets the local interarrival jitter.
/// </summary>
floatGetSenderInterarrivalJitter();
propertyfloatSenderInterarrivalJitter
{
floatget();
}
/// <summary>
/// Gets the remote reported interarrival jitter.
/// </summary>
floatGetReceiverInterarrivalJitter();
propertyfloatReceiverInterarrivalJitter
{
floatget();
}
/// <summary>
/// Gets the round trip delay in seconds.
/// Gets the round trip delay in seconds. -1 if the information is not available.
/// </summary>
/// <returns>
/// -1 if the information is not available.
/// </returns>
floatGetRoundTripDelay();
propertyfloatRoundTripDelay
{
floatget();
}
/// <summary>
/// Gets the cumulative number of late packets.
/// </summary>
int64GetLatePacketsCumulativeNumber();
propertyint64LatePacketsCumulativeNumber
{
int64get();
}
/// <summary>
/// Gets the jitter buffer size in milliseconds.
/// </summary>
floatGetJitterBufferSize();
propertyfloatJitterBufferSize
{
floatget();
}
/// <summary>
/// Get the local loss rate. Unlike GetSenderLossRate() that returns this loss rate "since last emitted RTCP report", the value returned here is updated every second.
/// </summary>
floatGetLocalLossRate();
propertyfloatLocalLossRate
{
floatget();
}
/// <summary>
/// Get the local late packets rate. The value returned here is updated every second.