Richard Fuchs
0863302a7b
MT#56471 reset codec handlers when player finishes
Return true/false from media player run functions to signal whether
playback is finished and whether codec handlers should be reset.
Change-Id: Ieb2e0861190ad2851d986bae28becc5548e215ce
3 years ago
Richard Fuchs
b58de96095
MT#56471 add media_player_is_active()
Change-Id: I0ff15e930311a4b1a6b95ae39d8a25d06ba786e5
3 years ago
Richard Fuchs
9375d763f1
MT#56471 add media_player_pt_match()
Convenience function to check whether any formats have changed, which
would indicate that a restart of the media player is needed.
Functional no-op.
Change-Id: I2bc9b57b95bb229bc4f8cfc49ca662fa724d3642
3 years ago
Richard Fuchs
cf12ffc264
MT#55283 support buffered media player
Change-Id: I9e935b8561bb8710933fa11de383458896c0a5d9
3 years ago
Richard Fuchs
a3b30f0e78
MT#55283 split out media_player_coder
All structures related to en/decoding can go into a separate struct so
that they can be reused.
Change-Id: I74ba2e4a54cd8d4b2828b0923f70e5ebbe32e653
3 years ago
Richard Fuchs
54f797c080
MT#55283 store AVStream in media_player
For convenience
Change-Id: I0fa23f2efbc5b3b583d14a981d36bf16a8288413
3 years ago
Richard Fuchs
70ef2f1a02
MT#55283 separate destination PT determination
Split out the logic to determine the destination payload type into a
separate functions. This makes it possible to supply a different, or
pre-determined, payload type instead.
Change-Id: I9b67b29cafc0c6ce4e18eede64dea3d1973f8b63
3 years ago
Damir Nedžibović
dd2956dc66
Implement playing from a given position for db and blob.
3 years ago
Damir Nedžibović
bab3c94fd0
Implement playing from a start position.
3 years ago
Richard Fuchs
b110072ae4
TT#14008 deprecate av_init_packet
Recent ffmpeg versions have removed AVPacket from the public ABI,
therefore deprecating av_init_packet on statically allocated objects.
The replacement is av_packet_alloc()/av_packet_free().
Change-Id: I5f93fbd19e43413c3328e143cc9147fbdf12d910
5 years ago
dvillaume
e4e3112498
TT#14008 support repeat-times in media player
closes #1159
Change-Id: Idf177b3e9d674d220b9c73a46ecd58453c6e3b39
5 years ago
Richard Fuchs
64ba12c4c7
TT#99503 fix possible T.38 gateway deadlock
closes #1100
Change-Id: Ifd4be1ca5d4f343a805be31d39abdb73011ec6c4
(cherry picked from commit 0c581e59a1 )
5 years ago
Stefan Mititelu
8ba5d162dd
Fix Valgrind "still reachable" for a few others
log, ice, media_player, jitter_buffer,
statistics, codeclib, call_interfaces
6 years ago
Richard Fuchs
20607bbabc
TT#76711 generalise media_player mechanism
Change-Id: I940bd8c156691418ee0fe7743e9fade59ba8635a
6 years ago
Richard Fuchs
18634c4202
TT#74301 refactor send_timer into generic timer
Change-Id: I81dae7ae8bb1bfe0324f9a8ce256cf9d1c377840
6 years ago
Richard Fuchs
349954d2bc
TT#50652 handle SRTP output for media playback
Change-Id: Ie83c9c01c4c17e14d30aa14272b86af9ea38e1fb
7 years ago
Richard Fuchs
e1825e3577
TT#50652 ensure consistent RTP timestamp across media restarts
Change-Id: I96b72dd13c13728b4f401f42951fbc231cc36705
7 years ago
Richard Fuchs
7da2b523a7
TT#50652 return media duration to SIP proxy in play_media response
Change-Id: Ib09519f960b37ca41a554aa2779f71c91ef9b49d
7 years ago
Richard Fuchs
5b0a0105ef
TT#50652 support playing back media files from database
Change-Id: Ib21b6605553f67d6892ec8e2c75a7b0fca40936e
7 years ago
Richard Fuchs
831946a8d4
TT#50652 fix compilation for with_transcode=no
Change-Id: Ie65827be7e27a6f77019a983a1ce131c11b694d3
7 years ago
Richard Fuchs
3bdad88063
TT#50652 create timer to gradually send packets without jitter
Change-Id: I5b28f7514f54c6df9f3ee607e3bca76274b431b3
7 years ago
Richard Fuchs
21535faea6
TT#50652 support playing back media from memory stream
Change-Id: I400c4edbda4633abcff07319ce8cd0609b0021b1
7 years ago
Richard Fuchs
92b08d899c
TT#50652 add media playback capability
Change-Id: I935812639e4f42cd89c4ecf02f5ae1a9a8243a65
7 years ago
Richard Fuchs
83965bdb1f
TT#50652 infrastructure to support reading/playing of media files
Change-Id: I8212f5c74bcb9557d41f80ef3a1595f53bafde8a
7 years ago