Martin Pulec
082a189c1f
fix CID 896222
...
not important at all
2025-10-08 08:56:58 +02:00
Martin Pulec
840ed1faf0
keycontrol: print Transmitted vfmt + in codec
...
- s/Captured/Transmitted/ video format (has compressed codec)
- print the input codec in brackets
- do not parse the format from istringstream and print directly
2025-10-06 10:26:41 +02:00
Martin Pulec
0ce208d026
video_rxtx: process SENDER_MSG_QUERY_VIDEO_MODE
...
moved from RTP - allows processing for all video_rxtx now
Note that (as just like previously), on the console if 'i' is pressed, the
compressed format is print, not Captured (as indicated by the message).
2025-10-06 08:56:03 +02:00
Martin Pulec
781ac7689b
rxrx/sdp: set actual audio specs
...
Instead of deducing from audio parameters, defer the creation until we
receive some audio data.
This complements identical change for RTSP in the commit 41b038862
(2024-08-13).
2024-08-14 11:28:11 +02:00
Martin Pulec
5f90324328
tx: pass parent in common_opts
2024-08-13 12:59:51 +02:00
Martin Pulec
41b0388624
rtsp server: fixed audio props
...
Do not deduce audio properties from command-line parameters but from
the actual format that is being to sent.
Until now, the properties like ch_count and sample rate was deduced from
command-line parameters (ch_count from `-a channels=` and sample rate from
`-A xxx:sample_rate`). However, this is a bit fragile - the source may not
respect the `-a` parameters and also the `-A sample_rate` doesn't need
to be set, like in the following case:
```
uv -x rtsp -A A-law -a sample_r=8000 -s testcard
```
Here the capture sample_rate is set to 8000 but not parsed from parameters
(it must have been in `-A`). So SDP parameeters for RTSP was set
incorrectly (48000).
2024-08-09 09:22:59 +02:00
Martin Pulec
b8d0c5e97d
video_rxtx: make should_exit private
2024-08-09 09:22:59 +02:00
Martin Pulec
1ab725d575
moved some common transmission opts to struct
2024-08-09 09:22:55 +02:00
Martin Pulec
0a0b14e2c6
video_rxtx: don't unregister callb. if not regist.
...
Do not unregister the should_exit callback if not registsterd. This
occurs eg. when invalid host was entered, like: `uv blah`.
2024-06-28 10:01:02 +02:00
Martin Pulec
a9225ff79e
added unregister_should_exit_callback
...
\+ unregister the callback for video_rxtx
2024-05-06 15:15:29 +02:00
Martin Pulec
0557730fc1
video_compress: del state with compress_done
...
The whole stuff with generic modules is mostly abandoned and
module::deleter should not be used, anyways.
2024-03-08 16:11:48 +01:00
Martin Pulec
1d3ca83c3e
video_rxtx/h264_rtp.cpp: deleteStream msg not proc
...
Fixed deleteStream message not being processed if the client doesn't
properly issue TEARDOWN on `Medium::close(instance->rtspServer);`.
(see also previous 2 commits)
2024-02-08 14:50:01 +01:00
Martin Pulec
608458b7b5
video_rxtx.cpp: optimized include/using
2023-11-21 11:27:31 +01:00
Martin Pulec
0484d98029
fixed CID 424205
2023-11-21 10:07:37 +01:00
Martin Pulec
87e0c61416
renamed video_rxtx hdrs from .h to .hpp
...
clang-tidy doesn't like naming C++ headers with .h
2023-10-02 08:44:17 +02:00
Martin Pulec
fc491d02ec
removed play/pause stuff
...
this stuff is no longer used (has been used by CoUniverse)
2023-06-29 16:30:30 +02:00
Martin Pulec
aa132a496e
video_rxtx: do not use global should_exit
...
use video_rxtx::m_should_exit variable instead
2023-03-24 14:06:49 +01:00
Martin Pulec
ae5f7fdcf9
video_rxtx: do not crash after querying rtsp usage
...
do not crash after `uv --video-protocol rtsp:help` call
Note: other video_rxtx modules handle help differently, eg. h264_sdp
throws 0 from constructor instead of returning nullptr from ::create.
2023-03-16 16:03:27 +01:00
Martin Pulec
ee4646d7cc
Separate function for video protocol listing
2019-11-13 16:19:55 +01:00
Martin Pulec
75fd88c7c3
Show hidden modules when fullhelp is given
...
+ updated copyrights in that files
2019-11-06 15:26:17 +01:00
Martin Pulec
7db96528cf
Name threads
2019-05-30 11:38:05 +02:00
Martin Pulec
5ac25a242b
Fixed --protocol {help|loopback} etc. behavior
...
With previous commit 3d69f376 this stopped to work because audio now
refuses unknown protocols.
2019-02-11 13:54:49 +01:00
Martin Pulec
2e04129948
Fixed compress deinitialization on startup
...
Fixed passing of poison pill to video compress when sender thread was
not actually started.
2018-06-27 14:32:55 +02:00
Martin Pulec
e06cd7f835
FEC: fail if command-line argument is wrong
2018-03-21 17:25:21 +01:00
Martin Pulec
29fec0d9c9
Export: created umbrella for audio and video
2017-05-11 13:53:26 +02:00
Martin Pulec
dde8a55a61
Stats/events: identify by stream ID (host:port)
2016-07-26 15:06:11 +02:00
Martin Pulec
d4295b8741
Control socket: report event play
2016-06-29 10:37:01 +02:00
Martin Pulec
0c3f23623a
Control: fixed FEC on-fly change
2016-03-07 15:57:53 +01:00
Martin Pulec
92609804c7
Video_rxtx: hide start() to factory
2016-01-18 11:55:37 +01:00
Martin Pulec
7a20056641
Select RX/TX protocol by name with --protocol param
...
This replaces -S/-i command-line switches.
2015-11-09 16:50:18 +01:00
Martin Pulec
322462c8de
Video RXTX - identify by name
2015-11-09 15:38:21 +01:00
Martin Pulec
6e968a1431
Video RXTX: use new module API
2015-10-27 13:10:54 +01:00
Martin Pulec
83c9421b4a
Fixed some Coverity issues
2015-10-19 11:31:10 +02:00
Martin Pulec
51b552a88f
Fixed '-p help' crash
2015-09-28 17:53:30 +02:00
Martin Pulec
536bae428d
Video RXTX: hot-fixed locking
2015-09-27 18:14:14 +02:00
Martin Pulec
72647559ab
Video rxtx: exit properly
...
Exit properly if poisoned pill passed multiple times.
2015-09-17 19:58:40 +02:00
Martin Pulec
ae7247775b
Added option to start UltraGrid paused
2015-09-15 17:46:41 +02:00
Martin Pulec
2cc6aab0e2
Added possibility to send message synchronously
...
+ in capabilities list, given bitrate is computed according to the
detected capture format (provided that '-t' argument is given)
2015-08-25 17:05:23 +02:00
Martin Pulec
a171e17441
Video rxtx fix
2015-07-24 16:11:56 +02:00
Martin Pulec
c558a44c30
Updated statistics for distributor
...
+ removed unused code
2015-05-18 18:45:12 +02:00
Martin Pulec
779c882b62
Another fix
2015-03-30 14:59:18 +02:00
Martin Pulec
5515315230
Small fix
2015-03-26 15:25:43 +01:00
Martin Pulec
eb064c7a81
Collect and report more statistics
...
Statistics are collected and reported through control socket where it
can be subscribed and further processed (eg. by CoUniverse).
2015-03-03 19:04:38 +01:00
Martin Pulec
69b7383a90
More descriptive return codes when UG exits
2015-02-19 14:32:38 +01:00
Martin Pulec
10ace4fb83
Stats: update counter only if video really sent
2014-12-07 16:07:27 +01:00
Martin Pulec
d131080184
Video RXTX: delete compress state from thread where it is used
2014-10-22 14:39:59 +02:00
Martin Pulec
607d1df324
Wrap some video_frame occurences by shared_ptr
...
This should replace .dispose member in video_frame in future.
2014-09-24 12:36:01 +02:00
Martin Pulec
e81f896a00
Move rxtx_mode global var to class
2014-09-22 13:58:16 +02:00
Martin Pulec
d8886e7c81
Fixed another Coverity bugs
2014-09-12 16:07:43 +02:00
Martin Pulec
b23aa50641
Added H.264 std TX into separate library
2014-07-25 12:40:15 +02:00