You might also want to try running with NSPR_LOG_MODULES=mtransport:9,mediapipeline:9
On Tue, Sep 3, 2013 at 9:50 AM, Ethan Hugg <[email protected]> wrote: > >How can I get more logs / traces from firefox in order to debug this > (firebug / firefox console doesn't print any >errors) ? > > I don't know what's going wrong here, but I can give you some logging info. > Try adding these environment variables when running a Debug build of > Nightly and you'll get all the debug from mtransport. > > export R_LOG_LEVEL=9 > export R_LOG_DESTINATION=stderr > > -EH > > > > On Tue, Sep 3, 2013 at 9:16 AM, <[email protected]> wrote: > > > Hi, > > > > I'm trying to implement a webrtc gateway in Java, and I'm currently > > working on DTLS-SRTP setup. > > > > I'm able to work as a DTLS client (Firefox start the peer connection, ICE > > is ok, and a DTLS-SRTP handshake is done, with my gateway in the DTLS > > client role). > > > > But, when trying to add the DTLS server mode (starting a peerconnection > > using my gateway), the DTLS handshake seems ok but I'm not seeing any > media > > from Firefox. > > > > On the client side, firefox doesn't play / capture any media. > > > > Using wireshark, I'm seeing the following exchange for my DTLS handshake > : > > > > Outgoing ( working, gateway is 119, firefox is 138 ) : > > > > No. Time Source Destination > Protocol > > 131 16.406458000 192.168.2.138 192.168.2.119 STUN > > Binding Success Response XOR-MAPPED-ADDRESS: 192.168.2.119:15000 > > 135 16.414422000 192.168.2.119 192.168.2.138 STUN > > Binding Indication > > 150 16.682423000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Client Hello > > 151 16.688362000 192.168.2.138 192.168.2.119 > > DTLSv1.0 Server Hello, Certificate, Server Key Exchange, Certificate > > Request, Server Hello Done > > 152 16.690099000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Certificate > > 154 16.709109000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Client Key Exchange > > 155 16.737320000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Certificate Verify > > 156 16.738039000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Change Cipher Spec > > 157 16.738122000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Encrypted Handshake Message > > 158 16.739044000 192.168.2.138 192.168.2.119 > > DTLSv1.0 Change Cipher Spec, Encrypted Handshake Message > > 159 16.748613000 192.168.2.119 192.168.2.138 UDP > > Source port: 15000 Destination port: 51405 > > 160 16.750621000 192.168.2.138 192.168.2.119 UDP > > Source port: 51405 Destination port: 15000 > > 161 16.768591000 192.168.2.119 192.168.2.138 UDP > > Source port: 15000 Destination port: 51405 > > 162 16.770416000 192.168.2.138 192.168.2.119 UDP > > Source port: 51405 Destination port: 15000 > > > > Incoming (not working, gateway is 119, firefox is 138) : > > > > No. Time Source Destination > Protocol > > 359 26.659827000 192.168.2.138 192.168.2.119 STUN > > Binding Success Response XOR-MAPPED-ADDRESS: 192.168.2.119:15000 > > 361 26.680108000 192.168.2.138 192.168.2.119 > > DTLSv1.0 Client Hello > > 364 26.683913000 192.168.2.119 192.168.2.138 STUN > > Binding Indication > > 366 26.854047000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Server Hello > > 367 26.854444000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Certificate > > 370 26.878839000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Server Key Exchange > > 371 26.878927000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Certificate Request > > 372 26.878979000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Server Hello Done > > 376 26.886514000 192.168.2.138 192.168.2.119 > > DTLSv1.0 Certificate, Client Key Exchange, Certificate Verify, Change > > Cipher Spec, Encrypted Handshake Message > > 378 26.907428000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Change Cipher Spec > > 379 26.907526000 192.168.2.119 192.168.2.138 > > DTLSv1.0 Encrypted Handshake Message > > 380 26.916769000 192.168.2.119 192.168.2.138 UDP > > Source port: 15000 Destination port: 53024 > > 383 26.936579000 192.168.2.119 192.168.2.138 UDP > > Source port: 15000 Destination port: 53024 > > 384 26.957456000 192.168.2.119 192.168.2.138 UDP > > Source port: 15000 Destination port: 53024 > > 385 26.976910000 192.168.2.119 192.168.2.138 UDP > > Source port: 15000 Destination port: 53024 > > > > I'm using bouncycastle for DTLS, but a glance to the wireshark traces > > indicate that the handshake is completed normally. > > > > How can I get more logs / traces from firefox in order to debug this > > (firebug / firefox console doesn't print any errors) ? > > > > My firefox instance is running on a windows machine, and is a stock > > Firefox 23.0.1 > > > > I can also provide more details / a wireshark capture if someone is > > interested. > > _______________________________________________ > > dev-media mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-media > > > _______________________________________________ > dev-media mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-media > _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

