Stefan Sayer
5c5695ce80
MT#55831 core:rtp stream: take fmt params in payload initialization
...
(real ticket number: TT#13019)
Change-Id: I70bcc4154fbace90ce5b3c67e45176206a483884
3 years ago
Victor Seva
2bf464e5cb
Imported Upstream version 1.6.0~20150612~a2d214df36
11 years ago
Victor Seva
6a96ffdbbc
Imported Upstream version 1.6.0~20150519~ae8a42
11 years ago
Victor Seva
df9992620d
Imported Upstream version 1.6.0~20140516~eaa616
12 years ago
Victor Seva
d8b3cbf475
Imported Upstream version 1.4.3
13 years ago
Stefan Sayer
44bb815602
support for receiving RTP DTMF while not processing RTP
...
based on a patch by Robert Szokovacs
Conflicts:
apps/dsm/DSMCoreModule.cpp
apps/dsm/DSMCoreModule.h
core/AmRtpStream.h
core/AmSession.h
doc/dsm/dsm_syntax.txt
14 years ago
Stefan Sayer
44889f80bb
b/f: reset RTP-received timestamp when (re)starting process RTP stream
...
patch by Robert Szokovacs
14 years ago
Raphael Coeffic
c70dd31d9a
b/f: sequence number & SSRC while relaying RTP.
15 years ago
Raphael Coeffic
e3950674eb
b/f: disable streams with port == 0.
15 years ago
Raphael Coeffic
d92bf7e2b7
changed relay_rtp_stream to AmRtpStream**.
...
this allows for non-default AmRtpStream constructor.
15 years ago
Stefan Sayer
4bd9cd2025
sbc: RTP relay: symmetric RTP implementation
15 years ago
Stefan Sayer
1cb0bace17
sbc: RTP relay mode
...
first version, wip.
todo:
- variable number of streams (now fixed to 3 - consumes many ports)
- symmetric RTP
- multi interfaces
- optimization: parse SDP only once, pass AmSdp object with request event
15 years ago
Raphael Coeffic
40a276ab2a
b/f: fixes bug introduced with c64ab094.
15 years ago
Raphael Coeffic
c64ab094f4
use resolver instead of old p_s_i_f_n().
15 years ago
Raphael Coeffic
e3f48aba8c
adds multihomed support for RTP streams
15 years ago
Raphael Coeffic
aafc7ba080
Wip: adds multiple interface to config reader
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
697d8a1ff3
core: fix: set DTMF volume when sending
16 years ago
Stefan Sayer
184268f89d
support for sending DTMF via RTP payload (RFC4733)
16 years ago
Stefan Sayer
609995aa79
removed ICMP watcher.
...
icmpwatcher has not been used for some time, as it is a
quite dangerous method of checking for the remote party
(in the beginning of a call due to delays in signalling,
the port on the remote end could for example still be not
open for some time)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1652 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
b6241fe2da
initializing last_recv_time in constructor for safety. Patch by Robert Szokovacs
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1587 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
41a78d52e6
return 400 (client) error on invalid address. Log as warning, not error
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1465 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
533bcac186
checking whether at least one payload present
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1413 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
5ab8284bb6
DTMF detection improved, the timestamp of the DTMF RTP packets is considered
...
- if an RTP event with timestamps differing from the last one is received, the
event is sent out immediately
- RTP DTMF packets with the same timestamp as an already detected keypress are
ignored.
This allows to raise the value for timeout on sending out RTP DTMF event, to 5 packets
(100 or 150ms)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1352 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
218642decf
Fix incorrect handling of rtpevent packet. In AmRtpStream, rtpevent
...
packets are treated the same as other RTP packets, they are all put into
a map with timestamp as key. However, some UA may use the same timestamp
for all rtpevent packets that represents a digit.
patch by Rui Jin Zheng rjzheng at boronetworks dot com
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1090 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
d9884e05d1
first steps on proper shutdown:
...
- active sessions and other event receivers
get a SystemEvent::ServerShutdown,
default behaviour of AmSession is setStopped()
- session container waits for all sessions to be ended
- signaling server, rtp receiver, media processor, event dispatcher
are stopped and deleted
based on a patch by Rui Jin Zheng rjzheng at boronetworks dot com
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1087 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6f44a030bb
core ZRTP support (see zfoneproject.com)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@950 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
01e1d57a61
fixed error reporting from RTP receiver
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@920 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
b0e2eed667
- fixed more Darwin stuff: basic SEMS stuff work on Mac OS X now :-)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@878 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
42a02cb2bb
fixed rtp receiver deadlock on RTP packet receiver buffer overflow. clearing buffer on rtp stream initialization
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@825 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
82566a5315
removed obsolete stuff
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@815 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
407b31541f
optimization: the RTP packet buffer which is used in recvfrom() is used throughout the RTP packet
...
processing, avoiding unnecessary copying of the received RTP packet
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@787 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
f0c280ac10
symmetric RTP fix: if packet is received from advertised address, leave passive mode
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@755 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Richard Newman
7b3563b882
Use populate_sockaddr_in_from_name instead of inet_aton: this ensures that c= fields with FQDNs are handled correctly.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@744 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
78dd854bf7
removed unused icmp watcher
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@675 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
7e9f32768c
pinging remote on early session for opening FW/NAT/symmetric rtp
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@516 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
061dcad669
o early media receiving support
...
o local audio input support
o posting conference event support
o explicit monitor_rtp_timeout set
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@505 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
577fb427e1
initialized RTP seqno with random number
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@422 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
fc31e44976
bugfixes: recv_offset_i was not initialized, which could lead to no audio input on big TS difference. timestamps correctly reset on resync.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@414 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
8132928ace
renaming of jitter_buf in receive_buf, wallclock_ts (to be continued)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@308 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
00629bc2dc
removed double parsing of received RTP packet
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@307 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
027de94734
fixes rtp ts handling bug in receiving introduced in r281.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@306 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
4d2a007772
correct checking of rtp timeout diff
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@287 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
5eb2a7325a
handling of RTP timeout improved
...
* rtp packet parse called in RtpStream, so rtp keepalive packets are not disregarded in respect to rtp timeout
* rtp timeout made configurabe in sems.conf: dead_rtp_time
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@281 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Maxim Sobolev
3b527c2353
Include all possible payload types into 200 OK and actually accept any of them
...
in the RTP stream. It is possible to disable this new behaviour using
single_codec_in_ok parameter in the sems.conf.
Developed by: Sippy Software, Inc.
Sponsored by: Digifonica Canada Limited
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@279 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
4e6f4a917b
sessions can be set onHold with AmSession::setOnHold, if you want a reinvite with on Hold, call AmSession::Reinvite after setOnHold
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@277 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
7c964b9b03
unifies indentation level in all source files to 2 (-i2)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@261 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
f4d64a3d76
applies patch from Andriy which makes adaptive jitter buffer and adaptive playout buffer selectable at run time
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@254 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Raphael Coeffic
4a82d793a3
- added a centralized pseudo-random number function.
...
- changed rand() calls to get_random().
- added/fixed ssrc (RTP header) generation.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@252 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
866b8703ac
drops received packets if not using input
...
set this with AmSession::setReceiving
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@243 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago