Richard Fuchs
92ae6a2dec
MT#55283 add warning for mutually exclusive option
...
Change-Id: Ifd47a60e85ba2f5eaa0ee4e545cb8ab6b385066b
1 month ago
Donat Zenichev
10c003a158
MT#61856 `!IS_OWN_CALL()` has a dedicated equivalent
...
There is `IS_FOREIGN_CALL()`, just use it.
Change-Id: Ice23bc34a9ff674717a15d47583e6bb215c8d8d1
1 month ago
Donat Zenichev
8b5f505fc2
MT#61856 call.c/.h: fix commentary and declaration typos
...
Just typos.
Change-Id: I39380d2cdf8143c01b2298e6d32d9fd6fd7af891
1 month ago
Donat Zenichev
4bce6bd411
MT#61856 call.h: fix `stream_params` typo
...
Not `media_session_bandiwdth` but `media_session_bandwidth`.
Change-Id: I2a6b40c441f2f24842f9149303dbef0fe5cae5db
1 month ago
Donat Zenichev
6cc463d354
MT#61856 call_get_dialogue: remove `__monologue_unconfirm()` dups
...
Some duplicated usage of `__monologue_unconfirm()`
on the same monologues after the latest refactors
(removal of `dialog_unconfirm()`).
Change-Id: Ic61b0f81382cedf3c7fe59d0f78762ec5a55d3f3
1 month ago
Donat Zenichev
3730f8ed32
MT#61856 deprecate `dialog_unconfirm()`
...
The `dialog_unconfirm()` func simply does similar
work as `__monologue_unconfirm()` but works instead
on subscriptions additionally.
So just deprecate it and then `__monologue_unconfirm()`
just takes the work on subscribers/subscriptions as well.
Change-Id: I047fd86b8eba700d0347b21137a2aa40fab01643
1 month ago
Donat Zenichev
88f13a644d
MT#61856 make `call_timer_delete_monologues()` return void
...
It never returns anything apart 0 (`ret` always remains
set to the originally defined 0).
So just make it returning void.
Change-Id: Ibc0a1b86f1820055f3459dacbdfea0274fbf7377
1 month ago
Donat Zenichev
4303e191c7
MT#61856 check PS before cleaning in `__streams_set_sinks()`
...
Usage before hints that given pointer might be NULL,
so better to check before actually clean.
Change-Id: I8463476ab584474b7459bc52dba82f4919938489
1 month ago
Donat Zenichev
9bb0a7a968
MT#61856 `monologue_call_create_answer()` returns bool
...
Just return `false` in case of failure.
Change-Id: I04ab96e60d07ca84b7039f6a91859fb48dc2ef6a
1 month ago
Richard Fuchs
eb108705b2
MT#55283 ignore ICE=force for answer SDPs
...
It doesn't make sense to produce an answer SDP with ICE attributes (and
enabling ICE processing) if the offer didn't indicate ICE support.
Closes #2106
Change-Id: I7cc6083beffc3f76f34c965049e8179866df2e6f
1 month ago
Donat Zenichev
d86f51ac54
MT#61856 monologue_publish: refactor the func for ports
...
Add the error alias for ports allocation failure
and use it where possible.
Change-Id: I6095c44385508ab9626a9582ef314500061708f1
1 month ago
Donat Zenichev
b1b6e63245
MT#61856 monologue_call_create_media: check output of `monologue_open_ports()`
...
Check what it actually returns and accordingly return false
in case of error to the `monologue_call_create_media()` caller.
Change-Id: I90b8069dcc770187aabefb40d96c1c6929c2f703
1 month ago
Donat Zenichev
2d714cb44b
MT#61856 monologue_subscribe_request: check output of `monologue_open_ports()`
...
Check what it actually returns and accordingly return -1
in case of error to the `monologue_subscribe_request1()` caller.
Change-Id: I5a14a19c97c1ca51d212d133670bbd8e8158628e
1 month ago
Donat Zenichev
fb6d6508f2
MT#61856 monologue_publish: check output of `monologue_open_ports()`
...
Check what it actually returns and accordingly return -1
in case of error to the `monologue_publish()` caller.
Change-Id: Ibcf8e71bc1234787654667b04afd43db5cebe5bb
1 month ago
Donat Zenichev
3cd93d4796
MT#61856 call.c: correction for `unsubscribe_all_from_monologue()`
...
This wrapper should likely call the `__unsubscribe_all_from_monologue()`
instead of the `__unsubscribe_monologue_from_all()`, because
the latter is already used by another wrapper of the same name.
And "unsubscriber all from monologue" name hints that
we unsubscribe our subscribers from us.
Change-Id: I6a16ab7320c619adedd9ba7c05e0d9a401971bfe
1 month ago
Richard Fuchs
6ed2e239d3
MT#55283 fix __unsubscribe_all_from_media
...
Use the correct list/table direction for removal
Change-Id: Idaf1a8cc32d9a4732c8b9ba6121b0926315d5820
1 month ago
Richard Fuchs
1a832a8af3
MT#55283 fix possible null pointer
...
Change-Id: I1fd579e7403b291e03a7ea0f7aee08370a308721
2 months ago
Richard Fuchs
c016e3cd89
MT#55283 enable audio player after answer
...
Change-Id: Ia1d0cb8522a0d2b6424b5dbfceed14ee0d57d280
2 months ago
Richard Fuchs
be45af8cb5
MT#55283 support audio player for "publish"
...
Change-Id: Ib07c2e048aecf5ee884c7f7cb31f575629414202
2 months ago
Richard Fuchs
ac1ddccb9c
MT#55283 audio player only for "send" streams
...
Change-Id: I1260b9604818492e0326c9ab4e5b5ddfc775e37a
2 months ago
Richard Fuchs
6af46141a6
MT#55283 switch publish to update_init_subscribers
...
Change-Id: I1ba71289f9323c3014957346810eaa773c122f3b
2 months ago
Richard Fuchs
e2d06debe0
MT#55283 support sendrecv subscribe req
...
Change-Id: I3a4905cea448017d21e6a59360b553e97ac6c6b6
2 months ago
Richard Fuchs
3b27538fd4
MT#55283 split up dialogue_connect
...
Change-Id: I240f0bb089700f072258aa47d98da529d06e8b71
2 months ago
Richard Fuchs
d484f81b49
MT#55283 global namespacing for some funcs
...
Change-Id: I7d9cffabefd0af18b133d10e9d675cad42cef483
2 months ago
Richard Fuchs
88f0483c4e
MT#55283 revamp calls_merge once again
...
Maybe this makes sense now
Change-Id: I94c668969aaffd3582d94f8872106f073bb939ba
2 months ago
Richard Fuchs
cf38ee00af
MT#55283 change obj_release to inline
...
to avoid compiler warnings
Change-Id: I0cecb3bb03297616ddd4f376abf68dcceb1c8a99
2 months ago
Richard Fuchs
c70c8b44e4
MT#55283 move flags processing to new file
...
Change-Id: I9058f18573993f193a61b82d038b2d08af81856c
2 months ago
Richard Fuchs
d2b99acaaf
MT#55283 reset memory arena after call merge
...
Change-Id: Ie4deb5b723e15b4517da8623a8e39fc00a595179
2 months ago
Richard Fuchs
af991ee58f
MT#55283 new "mix" flag
...
Change-Id: I4d1dfa2a38533707e9c0f080377c880fc3b678a5
2 months ago
Richard Fuchs
826da140e6
MT#55283 update all subs after sub-ans
...
Change-Id: I30e92ed71954ea77e1ab0d1149bb880c3720eccc
2 months ago
Richard Fuchs
3a31f3dd9e
MT#55283 fix possible deadlock
...
Change-Id: I35aa96f09639cab4eb57dd834f3570e9cdca33b2
2 months ago
Richard Fuchs
19c3a17dfa
MT#55283 support early-media for create-answer
...
Change-Id: Ic8ed944df6266d703319e11e90b150901e5093ef
2 months ago
Richard Fuchs
698455617a
MT#55283 move audio player activation
...
Change-Id: Ia9af1a236fa5f7242add496a28f5d967d2ce4f54
2 months ago
Richard Fuchs
6231f8570d
MT#55283 rename variables for clarity
...
Change-Id: Ibe2d731b9a10e64fd956c23a793709144e82c6ee
2 months ago
Richard Fuchs
19e2aa2ea4
MT#55283 extended "connect" matching
...
Change-Id: If751f1373fecf50e868ca76813ddd3d9e6423f82
3 months ago
Richard Fuchs
9491a81ec6
MT#55283 simplify call2_get
...
Change-Id: I92407ea9ed9ab794e22e00cfa43a61599d768f48
3 months ago
Richard Fuchs
a5d067f4cc
MT#55283 use medias_q instead of subscriptions
...
Change-Id: I7bb2bbc79b2da7fa7e7d9d4158de20e3afb9aa11
3 months ago
Richard Fuchs
3fb608bffb
MT#55283 fuller init of subs on connect
...
Change-Id: I2f1c2fc9f9e3174883e6047d12de376177b7ec83
3 months ago
Richard Fuchs
fd992d5324
MT#55283 support bidirectional unsubscribe
...
Change-Id: Icf367a2ce80b9d5d5d6017d4f53a49cf09ae70f5
3 months ago
Richard Fuchs
ef817fccef
MT#55283 support individual unsubscribe action
...
Change-Id: Id4ea984ce8109b6a962edb52d0e81532bbfbd701
3 months ago
Richard Fuchs
61c4cf8052
MT#55283 add new connect options
...
Change-Id: Ic175e5d7cd6138e6e659b982265701aebf65235e
3 months ago
Richard Fuchs
320b293dd5
MT#55283 add "create" method
...
Change-Id: I626996028a6c5a9ee296efdeba8f301411b74ec7
3 months ago
Richard Fuchs
dd3b4eae7f
MT#55283 handle possible null
...
Change-Id: Id643455c7440a954ce70c138f58eca244fc40849
3 months ago
Richard Fuchs
e59ee48a06
MT#55283 update unsubscribed subs as well
...
Change-Id: I9d4e0c06186d97a8bf34ca8103ac2b628109d796
3 months ago
Richard Fuchs
f6a5087f63
MT#55283 fuller sub update
...
Update all linked subscribers, not just the ones involved in the
connect, as they might also need to have their handlers updated.
Change-Id: Ib7a8aa3ca0d0f986bb90a99bf1337b358e96be33
3 months ago
Richard Fuchs
b157683945
MT#55283 move enabling of audio player
...
Change-Id: I24a0064a38548eeb94612b4096a058448810a339
3 months ago
Richard Fuchs
12f935db9c
MT#55283 support bidirectional publish
...
Change-Id: I530dbe297e839560055da94911a73e7c14e08dc0
3 months ago
Richard Fuchs
e948e5a976
MT#55283 move setting sdp_orig_out
...
Change-Id: Idb78bab83fb6d667a30a1683ae456d080b11f84f
3 months ago
Richard Fuchs
d8915abc79
MT#55283 rename SDP origin fields
...
and integrate them into the main struct
Change-Id: Ie5c0ed8e98bce4e20c801ff0413ff3245b0c9792
3 months ago
Richard Fuchs
9a65ab0335
MT#55283 parse a=label
...
This is needed to correctly print media labels for SIPREC in case the
input SDPs already had media labels.
Change-Id: I021f44ba28a3648ceb62db12425ddf545de42a96
3 months ago