Commit Graph

259 Commits

Author SHA1 Message Date
Richard Alam
eadd1e3ef0 - upgrade builds to red5 r4578 2013-03-03 12:34:25 +00:00
Richard Alam
19d2472fd0 - move logback config into resources dir so we don't need to copy it as last step in gradle war 2013-02-28 01:03:31 +00:00
Richard Alam
46a07f4eb6 - build bbb-voice and bbb-video on red5 r4573 2013-02-28 00:33:53 +00:00
Richard Alam
cc859b94f8 Merge branch 'master' into upgrade-to-red5-r4573 2013-02-26 14:48:01 +00:00
Richard Alam
5f0b2a7ea7 - change logging history from 30 days to 5 days...don't need that much history 2013-02-26 14:08:12 +00:00
Richard Alam
4838840aa5 - upgrading red5 jar 2013-02-25 20:41:50 +00:00
Richard Alam
89c6b7222a - rename config proerpty names so it's more clear on what the properties are for 2013-01-31 22:49:43 +00:00
Richard Alam
ea8488af38 Merge branch 'master' into external_freeswitch 2013-01-31 22:10:56 +00:00
Richard Alam
f70399303e - move xml header up top...otherwise, the voice app won't start 2013-01-30 19:22:13 +00:00
Markos Calderon
3858a5f146 Added license to bbb-voice 2013-01-21 14:12:44 -05:00
Hugo Lazzari
1f162d9b1c Cleaning code. 2012-12-14 09:04:31 -02:00
Hugo Lazzari
b8d43c1779 Fixed missing codec using global audio. 2012-12-12 14:42:40 -02:00
Hugo Lazzari
3d5fac5956 Global audio working on firefox and chrome. 2012-11-29 10:01:32 -02:00
alexbbb
08bb1df76f Removed forgotten hardcoding used while testing 2012-11-20 16:10:34 +01:00
Hugo Lazzari
3577641137 Server side from global audio is done.
Now to listen from a global audio in a conference, a client must call the remote
method voiceconf.call with the parameter true. To start talking a client must call the
remote method again with the parameter false. The global stream is created
when a user join a voice conference listen to global audio. The parameter stating if a user
is listen to global audio or not is optional. The default value is false, so the
server is compatible with older clients.
2012-11-14 10:40:43 -02:00
alexbbb
7d1da0a16d Added the configuration parameter sip.remoteserver.host to bigbluebutton-sip.properties to be able to call a remote SIP FreeSWITCH on a different port than the default 5060 2012-11-13 15:57:20 +01:00
Hugo Lazzari
0d77d9cbe8 Global Audio 2012-11-08 15:09:27 -02:00
alexbbb
c2d4415b38 Added configurable parameter sip.client.rtp-ip in bigbluebutton-sip.properties to be able to talk correctly to an external FreeSWITCH server. If everything runs locally the value of this parameter will be identical to sip.server.host. If you're connecting to an external FreeSWITCH then this parameter's value must be the IP of the BBB box and sip.server.host's value will be that of the external FreeSWITCH server. 2012-11-08 17:10:21 +01:00
Richard Alam
6ea4b78f72 - fix problem where only one user is able to join the voice conf. We are renaming the sip context which makes
red5 not find it
2012-09-14 15:15:11 +00:00
Richard Alam
239744713a - call super methods of Red5 application adapter 2012-09-14 15:13:29 +00:00
Richard Alam
ad35b2ab08 - upgrade to red5 r4415 2012-09-12 20:39:34 +00:00
Richard Alam
2c67f67e9c - make deskshare and voice work with latest red5 (r4406) 2012-09-04 20:20:29 +00:00
Richard Alam
420d5f13dd - try to fix why it's not working properly 2012-09-03 18:39:51 +00:00
Richard Alam
808588cb5d - try upgrading to red5 r4406 2012-09-03 17:15:46 +00:00
Richard Alam
b5b6d5f954 - update red5 to latest (r4316) 2012-04-22 15:03:43 +00:00
Richard Alam
77b443299b - don't start publishing when closing stream 2012-04-05 12:51:57 +00:00
Richard Alam
8cc18ca4ae - act as gateway. Forward call to FreeSWITCH even if not registered. 2012-03-27 15:09:46 +00:00
Richard Alam
892de246d3 - cleanup 2012-03-05 15:25:02 +00:00
Richard Alam
edc494ff97 connect to 127.0.0.1 to freeswitch 2012-03-03 10:35:50 -08:00
Richard Alam
1437374a0c - trim paramaters for sip server 2012-01-25 21:10:50 +00:00
Richard Alam
427f827ba6 - allow users with no mic to listen to audio stream 2012-01-24 21:53:52 +00:00
Richard Alam
6bf086f27b - fail fast when an attempt to join the voice conference is made but we failed to register with FS. 2012-01-09 21:51:54 +00:00
Richard Alam
e7c1d5e334 - call FS anyway even if red5 hasn't registered 2012-01-09 16:42:43 +00:00
Richard Alam
5ea0e41b2d upgrading to fixed red.jar for rtmpt 2011-11-16 21:28:09 +00:00
Richard Alam
bb86f44150 - compile with red5-r4293
- still some errors to resolve
   - had to add aop jars in bbb-apps
   - deskshare is choking on tunneling
   - exceptions when starting red5 manually
2011-11-04 02:07:35 +00:00
Richard Alam
b795d159f7 build bbb-voice with red5 r4293 2011-11-03 20:24:50 +00:00
Markos Calderon
0e26498b49 changed bbb-voice to use the latest version of red5 2011-10-28 13:03:41 -07:00
Richard Alam
3fa22c6909 - changing build dependencies 2011-10-19 10:34:15 -04:00
Fred Dixon
09d72242f8 Starting to add logic in bbb-conf to help debug record and playback 2011-06-26 10:42:31 -07:00
Richard Alam
75abfce102 - upgrade bbb-video and bbb-voice to red5 1.0 rc1 2011-05-04 11:03:57 -04:00
Richard Alam
14dc18e392 - add util class to dump bytes to a file...useful for debugging 2011-04-04 11:04:57 -04:00
Richard Alam
775d7fff3c - cleanup 2011-03-22 10:22:44 -04:00
Richard Alam
2e821681f0 - add check for logging 2011-03-02 01:34:15 +00:00
Richard Alam
e7a3fa690e - fix start/stop stream errors 2011-03-02 01:27:01 +00:00
Richard Alam
15459681f6 - minor cleanup and add start/stop into transcoder
TODO:
  - cleanup logging
  - create abstract class to implement common methods that individual transcoders override
2011-03-01 21:42:42 +00:00
yuan
a86c7e6186 Support to fix speex wideband 2011-02-28 14:49:40 +00:00
Fred Dixon
20058eb495 - Assigned values for startAudioPort=15000 and stopAudioPort=16383 in bigbluebutton-sip.properties 2011-01-10 21:12:32 -05:00
Fred Dixon
cd5c510df3 - Change value for startAudioPort and stopAudioPort to be 16384 and 32767 2011-01-10 19:19:03 -05:00
Richard Alam
a246f5452c - modify to use NIO buffer and add more documentation to transcoding process 2011-01-04 16:20:28 -05:00
Richard Alam
5941e6371e - drop packets when there is connection congestion 2011-01-04 11:47:40 -05:00
Richard Alam
bd7c7bd17f - send two of the remaining 3 packets at the same time to minimize choppy audio if we just dropped the 3 extra packets 2011-01-03 13:48:07 -05:00
Richard Alam
e49e1cc83b - use FloatBuffer to store transcoded audio 2011-01-03 12:50:06 -05:00
Richard Alam
6151a60cfc - cleanup 2010-12-15 17:05:01 -05:00
Richard Alam
71588b22de - change how we increment timestamps for audio packet 2010-12-14 15:38:09 -05:00
Richard Alam
bcd8d07b9f - change how we put timestamps into the audio packet and mark the packet as live
that way the RTMPProtocolEncoder can filter packets and start dropping those
   that have been in the queue for long
2010-12-07 16:09:27 -05:00
Richard Alam
a9c7605fad - change audio packet queues into pipedinput/outputstream
- drop audio bytes if it grown larger than 1000
2010-12-07 13:51:01 -05:00
Richard Alam
19066eb91a - null rtppacket to check garbage collection issues 2010-12-03 19:14:23 -05:00
Richard Alam
02970d2b4d Merge branch 'master' of github.com:bigbluebutton/bigbluebutton 2010-12-03 18:53:06 -05:00
Richard Alam
a01541ec1c - send and receive udp packets only from the specified address 2010-12-03 18:50:50 -05:00
Scott Morris
3261a669a2 Updated some debug issues 2010-12-03 18:05:39 -05:00
Richard Alam
68f94062c1 - merge scott's fixes for voip threads
Conflicts:
	bbb-voice/src/main/java/org/bigbluebutton/voiceconf/red5/media/SipToFlashAudioStream.java
2010-12-02 16:07:44 -05:00
Scott Morris
e0a0e510e8 Added posioning support the the audioByteData class and check to see if a posioned packet has been added to the queue. If so then stop consuming packets from the queue. This fixes the left over audio threads. 2010-12-02 12:45:53 -05:00
Richard Alam
e5f1536ae2 - add more logging on why local UDP port for audio is hanging around 2010-12-01 12:12:44 -05:00
Richard Alam
75b6f10582 - increase delay check time as we notice we are dropping too many packets when Asterisk/FreeSWITCH is on a different server 2010-11-29 10:24:42 -05:00
Richard Alam
9ba6b2e878 - add logging when FS/Asterisk is the one telling us to hangup (e.g. being kicked from the conference) 2010-11-26 14:27:06 -05:00
Richard Alam
4665abd490 - change the logs so it's a little bit clear on what the user is doing 2010-11-26 13:46:17 -05:00
Richard Alam
db8ba6cd14 - fix log format 2010-11-25 16:32:49 -05:00
Richard Alam
095f532e35 - add more info on log so we can correlate with the red5 error.log if the client dropped because of connection problems 2010-11-25 15:59:07 -05:00
Richard Alam
b456c92822 - add meaningfull logging so we can track a user when joining/leaving conference. 2010-11-25 15:38:38 -05:00
Richard Alam
c28258d1f3 - format log a little bit better so as not to flood logging when we go thourhg a lot of ports and fail 2010-11-23 17:02:29 -05:00
Richard Alam
98e950ce13 - add more debugging info 2010-11-23 14:51:19 -05:00
Richard Alam
55a10e750a - aggressively try to get a local audio port 2010-11-23 14:42:39 -05:00
Richard Alam
480c3e990d - change license headers for bbb-voice 2010-11-06 11:30:32 -04:00
Richard Alam
c8aa90c790 - cleanup 2010-10-27 14:32:17 -04:00
Richard Alam
d3bc9fd29a - fix problem where audio is silent because of how we set the fake metadata timestamp 2010-10-05 12:25:47 -04:00
Richard Alam
17b3f3bdae - cleanup and add comment on possible reason why Asterisk sends RTCP 2010-09-25 11:14:08 -04:00
Richard Alam
00b2759bfd - add comments and fix timestamps (should be incremented based on codec not based on clock) 2010-09-24 10:48:37 -04:00
Richard Alam
a44648a515 - drop delayed RTP packets
- add some comments
2010-09-24 10:47:47 -04:00
Richard Alam
b5b427298a - remove debug logs 2010-09-24 10:46:52 -04:00
Richard Alam
7f29dfe3b0 - add some debug logs to determine how long Red5 is receiveing audio packets from the client 2010-09-24 10:43:10 -04:00
Richard Alam
1f9457395a - make debug logging only when debug id enabled 2010-09-21 14:25:29 -04:00
Richard Alam
54fa14a809 - handle (discard) RTCP packets properly 2010-09-21 12:21:22 -04:00
Richard Alam
2ab97b4727 - just process received rtp packet without trying to figure out the sequence number to drop
delayed packets.
2010-09-20 15:25:27 -04:00
Richard Alam
fd1a87bea9 - handling the 52 byte packet doesn't work quite well...we keep on hearing a clicking sound.
Reverting to the old way of throwing away incorrect size packets.
2010-09-20 15:23:03 -04:00
Richard Alam
59023f6304 - see what happens when handling the 52 byte ulaw packet from Asterisk 2010-09-20 15:19:31 -04:00
Richard Alam
1134104118 - add log to display incoming frame length when not equal to expected frame length. Need to figure out
why we are getting incorrect frame length under heavy load
2010-09-20 11:11:06 -04:00
Richard Alam
e05555f2ad - if we drop 3 consecutive rtp audio packets, reset the stream to handle the next incoming packets.
This way, we avoid dropping all remaining packets resulting in a silent stream for the unfortunate user.
2010-09-20 10:45:41 -04:00
Richard Alam
2018c74a81 - recognize market rtppacket to handle changes in rtp seq num and timestamp in the middle of the stream 2010-09-19 12:57:57 -04:00
Richard Alam
8b171a6055 - clean up some more 2010-09-10 10:46:40 -04:00
Richard Alam
3bed51ca1e - minor cleanup 2010-09-10 10:37:58 -04:00
Richard Alam
42433ffccb - handle rolling over of sequence number. Sequence is only 16-bits (65535) and can start at any number so it
can rollover if the audio stream is too long.
2010-09-09 16:15:28 -04:00
Richard Alam
6e961caab8 - change log to debug 2010-09-09 14:32:47 -04:00
Richard Alam
eef0c12091 - init last seq num and last timestamp from first packet received. Don't assume that seq num always start at 0. 2010-09-09 13:33:32 -04:00
Richard Alam
5100fff24b - investigate why a user looses incoming audio (can't hear but can still talk) 2010-09-09 11:29:43 -04:00
Richard Alam
1fe65660fd - throw away delayed rtp packets 2010-09-07 15:08:01 -04:00
Richard Alam
bdfd342159 - add comment on where the timestamp values came from so that others won't wonder 2010-08-27 11:58:40 -04:00
Richard Alam
78ca8120c8 - add a recording stream hook...used it to record ulaw and speex stream flv 2010-08-26 13:10:51 -04:00
Richard Alam
8aaccc024c - cleanup of printlns 2010-08-24 15:48:11 -04:00
Richard Alam
b397c6130b - increment timestamps
Ulaw: 160 (RTMP -> RTP)
           32 (RTP -> RTMP)
    Speex WB: 320 (RTMP -> RTP)
               20 (RTP -> RTMP)
2010-08-24 15:39:55 -04:00
Richard Alam
905e47e8a7 - generate fake metadata to fix problem when upgrading from FP 10.0 to 10.1 2010-08-24 15:38:59 -04:00