[sip-comm-dev] Reducing the payload of RTP Stream to 160Byte? How to configure Communicator for IPv6?

Hello there,

first, does somebody know how to reduce the payload size of the rtp stream to 160Byte?
Actually, I have seen with Ethereal that every rtp packet has a payload size of (500byte- Rtp Header), because of this I hear a short delay of appr. 400ms.
I have no webcam installed, so there is no video codec used.

Secondly, I have to install the communicator on a ipv6 net with a ser proxy (Ip: 2001:7a0:200:1b:290:27ff:fea3:dcf0) in the middle.
Can you tell me where the mistake could be or where changes could be made:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<log4j>
    <rootLogger value="net.java.sip.communicator.common.Console.TraceLevel, RFLogger"/>
    <appender>
        <RFLogger value="org.apache.log4j.RollingFileAppender">
            <layout value="org.apache.log4j.PatternLayout">
                <ConversionPattern value="%r [%t] %p %c{2} %x - %m%n"/>
            </layout>
            <MaxBackupIndex value="1"/>
            <File value="log/sip-communicator.app.log"/>
            <MaxFileSize value="256KB"/>
        </RFLogger>
    </appender>
</log4j>
<net>
  <java>
    <sip>
      <communicator>
          <FIRST_LAUNCH value="false"/>
          <media>
              <MEDIA_BUFFER_LENGTH value="20"/>
              <PREFERRED_AUDIO_ENCODING value="0"/>
              <PREFERRED_VIDEO_ENCODING value="26"/>
            <MEDIA_SOURCE value=""/>
            <IP_ADDRESS value=""/>
            <AUDIO_PORT value=""/>
            <VIDEO_PORT value=""/>
        </media>
        <sip>
            <PUBLIC_ADDRESS value="sip:62@[2001:7a0:200:1b:290:27ff:fea3:dcf0]"/>
            <TRANSPORT value=""/>
            <REGISTRAR_ADDRESS value="[2001:7a0:200:1b:290:27ff:fea3:dcf0]"/>
            <USER_NAME value="62"/>
            <STACK_PATH value="gov.nist"/>
            <PREFERRED_LOCAL_PORT value=""/>
            <DISPLAY_NAME value="foo"/>
            <REGISTRAR_TRANSPORT value="UDP"/>
            <REGISTRATIONS_EXPIRATION value="3600"/>
            <REGISTRAR_PORT value="5060"/>

            <DEFAULT_DOMAIN_NAME value="[2001:7a0:200:1b:290:27ff:fea3]"/>
            <DEFAULT_AUTHENTICATION_REALM value=“foo.com”/>
            <WAIT_UNREGISTGRATION_FOR value=“1100”/>
            <SAME_USER_EVERYWHERE value=“true”/>
            <simple>
                <CONTACT_LIST_FILE value=“contact-list.xml”/>
            </simple>
        </sip>
        <sipphone>
            <IS_RUNNING_SIPPHONE value=“false”/>
            <MY_SIPPHONE_URL value=“http://my.sipphone.com”/>
        </sipphone>
        <gui>
            <AUTH_WIN_TITLE value=“SIP Authentication!”/>
            <AUTHENTICATION_PROMPT value=“Please enter login name and password for the specified realm:”/>
            <USER_NAME_LABEL value=“User Name:”/>
            <USER_NAME_EXAMPLE value=“Example: 1-747-555-1212”/>
            <PASSWORD_LABEL value=“Password:”/>
            <GUI_MODE value=“PhoneUiMode”/>
            <imp>
                <CONTACT_LIST_X value=“1463”/>
                <CONTACT_LIST_Y value=“0”/>
                <CONTACT_LIST_WIDTH value=“136”/>
                <CONTACT_LIST_HEIGHT value=“1168”/>
            </imp>
        </gui>
        <VOICE_MAIL_ADDRESS value=“17475551212”/>
      </communicator>
    </sip>
  </java>
</net>
<gov>
    <nist>
        <javax>
            <sip>
                <SERVER_LOG value=“log/sip-communicator.stack.log”/>
                <TRACE_LEVEL value=“16”/>
            </sip>
        </javax>
    </nist>
</gov>
<javax>
    <sip>
        <IP_ADDRESS value="[2001:7a0:200:1a:f424:177b:d23e:b3bb]"/>
        <STACK_NAME value=“sip-communicator”/>
        <ROUTER_PATH value=“net.java.sip.communicator.sip.SipCommRouter”/>
        <OUTBOUND_PROXY value="[2001:7a0:200:1b:290:27ff:fea3:dcf0]:5060/udp"/>
        <RETRANSMISSON_FILTER value=""/>
        <EXTENSION_METHODS value=""/>
    <RETRANSMISSION_FILTER value=“true”/>
</sip>
</javax>
<java>
    <net>
        <preferIPv6Addresses system=“true” value=“true”/>
    </net>
</java>
</configuration>

Thanks a lot!

Regards,
Thorsten Kummermehr

Hello Thorsten,

Not really sure about the payload size. This is rather a JMF question so you might want to look through the JMF manual. It'd probably adding some extra code but I'd be glad to help you especially if it helps reduce delay.

As for IPv6. Currently java ipv6 networking is only supported on linux. Another issue is that you should modify your /etc/hosts file to map the global (and not loopback) address of your machine against you hostname

e.g.

2001:7a0:200:1b:290:27ff:fea3:dcf0 thorstens_box

do note that you should remove any loopback mappings from the file

Cheers
Emil

Thorsten K. wrote:

···

Hello there,
first, does somebody know how to reduce the payload size of the rtp stream to 160Byte?
Actually, I have seen with Ethereal that every rtp packet has a payload size of (500byte- Rtp Header), because of this I hear a short delay of appr. 400ms.
I have no webcam installed, so there is no video codec used.
Secondly, I have to install the communicator on a ipv6 net with a ser proxy (Ip: 2001:7a0:200:1b:290:27ff:fea3:dcf0) in the middle.
Can you tell me where the mistake could be or where changes could be made:
<?xml version=“1.0” encoding=“UTF-8”?>
<configuration>
<log4j>
    <rootLogger value=“net.java.sip.communicator.common.Console.TraceLevel, RFLogger”/>
    <appender>
        <RFLogger value=“org.apache.log4j.RollingFileAppender”>
            <layout value=“org.apache.log4j.PatternLayout”>
                <ConversionPattern value="%r [%t] %p %c{2} %x - %m%n"/>
            </layout>
            <MaxBackupIndex value=“1”/>
            <File value=“log/sip-communicator.app.log”/>
            <MaxFileSize value=“256KB”/>
        </RFLogger>
    </appender>
</log4j>
<net>
  <java>
    <sip>
      <communicator>
          <FIRST_LAUNCH value=“false”/>
          <media>
              <MEDIA_BUFFER_LENGTH value=“20”/>
              <PREFERRED_AUDIO_ENCODING value=“0”/>
              <PREFERRED_VIDEO_ENCODING value=“26”/>
            <MEDIA_SOURCE value=""/>
            <IP_ADDRESS value=""/>
            <AUDIO_PORT value=""/>
            <VIDEO_PORT value=""/>
        </media>
        <sip>
            <PUBLIC_ADDRESS value=“sip:62@[2001:7a0:200:1b:290:27ff:fea3:dcf0]”/>
            <TRANSPORT value=""/>
            <REGISTRAR_ADDRESS value="[2001:7a0:200:1b:290:27ff:fea3:dcf0]"/>
            <USER_NAME value=“62”/>
            <STACK_PATH value=“gov.nist”/>
            <PREFERRED_LOCAL_PORT value=""/>
            <DISPLAY_NAME value=“foo”/>
            <REGISTRAR_TRANSPORT value=“UDP”/>
            <REGISTRATIONS_EXPIRATION value=“3600”/>
            <REGISTRAR_PORT value=“5060”/>
             <DEFAULT_DOMAIN_NAME value="[2001:7a0:200:1b:290:27ff:fea3]"/>
            <DEFAULT_AUTHENTICATION_REALM value=“foo.com”/>
            <WAIT_UNREGISTGRATION_FOR value=“1100”/>
            <SAME_USER_EVERYWHERE value=“true”/>
            <simple>
                <CONTACT_LIST_FILE value=“contact-list.xml”/>
            </simple>
        </sip>
        <sipphone>
            <IS_RUNNING_SIPPHONE value=“false”/>
            <MY_SIPPHONE_URL value=“http://my.sipphone.com”/>
        </sipphone>
        <gui>
            <AUTH_WIN_TITLE value=“SIP Authentication!”/>
            <AUTHENTICATION_PROMPT value=“Please enter login name and password for the specified realm:”/>
            <USER_NAME_LABEL value=“User Name:”/>
            <USER_NAME_EXAMPLE value=“Example: 1-747-555-1212”/>
            <PASSWORD_LABEL value=“Password:”/>
            <GUI_MODE value=“PhoneUiMode”/>
            <imp>
                <CONTACT_LIST_X value=“1463”/>
                <CONTACT_LIST_Y value=“0”/>
                <CONTACT_LIST_WIDTH value=“136”/>
                <CONTACT_LIST_HEIGHT value=“1168”/>
            </imp>
        </gui>
        <VOICE_MAIL_ADDRESS value=“17475551212”/>
      </communicator>
    </sip>
  </java>
</net>
<gov>
    <nist>
        <javax>
            <sip>
                <SERVER_LOG value=“log/sip-communicator.stack.log”/>
                <TRACE_LEVEL value=“16”/>
            </sip>
        </javax>
    </nist>
</gov>
<javax>
    <sip>
        <IP_ADDRESS value="[2001:7a0:200:1a:f424:177b:d23e:b3bb]"/>
        <STACK_NAME value=“sip-communicator”/>
        <ROUTER_PATH value=“net.java.sip.communicator.sip.SipCommRouter”/>
        <OUTBOUND_PROXY value="[2001:7a0:200:1b:290:27ff:fea3:dcf0]:5060/udp"/>
        <RETRANSMISSON_FILTER value=""/>
        <EXTENSION_METHODS value=""/>
    <RETRANSMISSION_FILTER value=“true”/>
</sip>
</javax>
<java>
    <net>
        <preferIPv6Addresses system=“true” value=“true”/>
    </net>
</java>
</configuration>

Regards,
Thorsten Kummermehr

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net