[jitsi-dev] LIbjitsi FMJ sources


#1

Hi all,

I have to modify several things in Libjitsi and for doing so I need to see
the sources of the underlying FMJ classes. Unfortunately it seems that the
latest FMJ sources available at Sourceforge do not contain many classes
that are included as binaries into the fmj.jar, referenced by Libjitsi. For
instance the class net.sf.fmj.media.SendEventQueue is nowhere to be found
in the sources, but it is present as the SendEventQueue.class in the
respective package of the fmj.jar. The question is: where can I find the
complete sources of FMJ that are currently used?

Regards,
Alex


#2

http://sourceforge.net/p/fmj/code/HEAD/tree/

···

2013/4/30 Alexander Fedulov <alexander.fedulov@gmail.com>:

where can I find the complete
sources of FMJ that are currently used?


#3

Hi Lyubomir,

thank you for the quick response! The first thing you get to see when you
search for the fmj is the http://fmj-sf.net/ page, which points to the
sources last updated in 2007. I am glad, that the project is still alive!
Thank you for the link!

Regards,
Alex

···

2013/4/30 Lyubomir Marinov <lyubomir.marinov@jitsi.org>

2013/4/30 Alexander Fedulov <alexander.fedulov@gmail.com>:
> where can I find the complete
> sources of FMJ that are currently used?

http://sourceforge.net/p/fmj/code/HEAD/tree/


#4

Just wondering: you are not using the pre-built jar are you? That one
hasn't been updated at all. You need to checkout the source code.

Emil

--sent from my mobile

···

On Fri, Jun 27, 2014 at 6:52 PM, Zoran Tamindzic <tamindzic@symmedia.de> wrote:

Hi Lybomir,

i have been working with jmf, libjitsi and now with fmj for some time.
I was hanging on to jmf as it had some bug fixes that I did, now that I
switched to fmj,
I am realy curious how does jitsi run at all, there are two things that have
caught my eye:

The class PlaybackEngine#getControls line 1452
The control returned by the modules are cast like this

       controls[i] = (Control) cv.elementAt(i)

one of the elements in the cv vector is an instance of RTPInfo, this must
lead to a ClassCastException!

The class net.sf.fmj.media.rtp.FormatInfo does not contain

        case 9: // '\t' byZT in the method isSupported
and
        formatList[9] = new AudioFormat("g722/rtp", 8000D, -1, 1); // byZT
in the method initFormats

so that using 722 does not work as the RTPSinkStream#transferData cannon
find the matching format and returns

                int payload = transmitter.cache.sm.formatinfo
                        .getPayload(current.getFormat());
                if (payload == -1) {
                    return;
                }
I know that 722 id defined as 9 and that it is not belong to the dynamically
exchanged payload types.

It would be nice if the class logged an error or something like that, it
took me some time to find the problem.

I am using the nightly builds from libjitsi 2.5
And fmj from: http://sourceforge.net/p/fmj/code/HEAD/tree/

Sorry for the somewhat ad-hock mail

Best regards
zt

-----Ursprüngliche Nachricht-----
Von: lubo@sip-communicator.org [mailto:lubo@sip-communicator.org] Im Auftrag
von Lyubomir Marinov
Gesendet: Dienstag, 30. April 2013 13:26
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: LIbjitsi FMJ sources

2013/4/30 Alexander Fedulov <alexander.fedulov@gmail.com>:

where can I find the complete
sources of FMJ that are currently used?

http://sourceforge.net/p/fmj/code/HEAD/tree/

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#5

Thanks for the fast reaction,

I am using fmj.jar from the libjitsi nighty-builds and the libjisi source is compiled.

Zoran

···

-----Ursprüngliche Nachricht-----
Von: dev-bounces@jitsi.org [mailto:dev-bounces@jitsi.org] Im Auftrag von Emil Ivov
Gesendet: Freitag, 27. Juni 2014 17:56
An: dev@jitsi.java.net; Jitsi Developers
Betreff: Re: [jitsi-dev] LIbjitsi FMJ sources

Just wondering: you are not using the pre-built jar are you? That one hasn't been updated at all. You need to checkout the source code.

Emil

--sent from my mobile

On Fri, Jun 27, 2014 at 6:52 PM, Zoran Tamindzic <tamindzic@symmedia.de> wrote:

Hi Lybomir,

i have been working with jmf, libjitsi and now with fmj for some time.
I was hanging on to jmf as it had some bug fixes that I did, now that
I switched to fmj, I am realy curious how does jitsi run at all, there
are two things that have caught my eye:

The class PlaybackEngine#getControls line 1452 The control returned by
the modules are cast like this

       controls[i] = (Control) cv.elementAt(i)

one of the elements in the cv vector is an instance of RTPInfo, this
must lead to a ClassCastException!

The class net.sf.fmj.media.rtp.FormatInfo does not contain

        case 9: // '\t' byZT in the method isSupported and
        formatList[9] = new AudioFormat("g722/rtp", 8000D, -1, 1); //
byZT in the method initFormats

so that using 722 does not work as the RTPSinkStream#transferData
cannon find the matching format and returns

                int payload = transmitter.cache.sm.formatinfo
                        .getPayload(current.getFormat());
                if (payload == -1) {
                    return;
                }
I know that 722 id defined as 9 and that it is not belong to the
dynamically exchanged payload types.

It would be nice if the class logged an error or something like that,
it took me some time to find the problem.

I am using the nightly builds from libjitsi 2.5 And fmj from:
http://sourceforge.net/p/fmj/code/HEAD/tree/

Sorry for the somewhat ad-hock mail

Best regards
zt

-----Ursprüngliche Nachricht-----
Von: lubo@sip-communicator.org [mailto:lubo@sip-communicator.org] Im
Auftrag von Lyubomir Marinov
Gesendet: Dienstag, 30. April 2013 13:26
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: LIbjitsi FMJ sources

2013/4/30 Alexander Fedulov <alexander.fedulov@gmail.com>:

where can I find the complete
sources of FMJ that are currently used?

http://sourceforge.net/p/fmj/code/HEAD/tree/

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev