Thomas Guillem
44fece7da5
chromecast: add asserts on Close()
9 years ago
Thomas Guillem
0a9f0a2848
chromecast: initialise streams count in proxy
9 years ago
Thomas Guillem
ffe06453bc
chromecast: drain sout_access when empty
This will close the sout chain and the chromecast-http sout_access that will
send an EOF instead of closing the http stream.
9 years ago
Thomas Guillem
e2bf65e51b
chromecast: use our own "access out" module
In order to allow finer controls and host several files (like artworks) on the
same server.
9 years ago
Thomas Guillem
796d9765f7
chromecast: move sout destruction in a method
9 years ago
Thomas Guillem
c75c369079
chromecast: remove useless NULL check
9 years ago
Francois Cartegnie
61cc84ed46
sout: chromecast: don't call pf_ directly/use sout stream helper
9 years ago
Thomas Guillem
107f5e01e6
chromecast: only show perfs dialog when transcoding video
9 years ago
Thomas Guillem
434b7eb69e
chromecast: disable passthrough by default
Since there are too many TV/receivers in the wild that don't support AC3
passthrough.
9 years ago
Thomas Guillem
062896c509
chromecast: fix out_streams inconsistency
9 years ago
Thomas Guillem
3f7e5de907
chromecast: destroy var on Close()
9 years ago
Thomas Guillem
de6d57f823
chromecast: fix cc not restarted when a track was disabled
9 years ago
Thomas Guillem
5a44c99e6a
chromecast: don't restart if casting streams didn't change
9 years ago
Thomas Guillem
4355eea6d9
chromecast: add back stop when streams are empty
9 years ago
Thomas Guillem
5b03a718fd
chromecast: add assert
9 years ago
Thomas Guillem
f469f7c866
chromecast: initialise new members
CID #1464181
9 years ago
Thomas Guillem
6a12a20599
chromecast: remove deadcode
CID #1464406
9 years ago
Jean-Baptiste Kempf
ba3870d624
ChromeCast: missing "."
9 years ago
Jean-Baptiste Kempf
d1afa43cbc
CC: fix typo
9 years ago
Thomas Guillem
13095327c6
chromecast: delay stop request
Do it only when there is no streams from UpdateOutput.
9 years ago
Thomas Guillem
5fb95aaf5e
chromecast: add a stream out proxy
This new submodule wait for all tracks to be added into the last stream out
(the http one) before running a chromecast session.
This fixes chromecast timeout errors when the session was started during the
middle of a playback and when the http sout was still empty (because no video
IFrames were available for example).
This also fixes the "You can try increasing sout-mux-caching value" error (when
the timeout came from VLC and not the CC).
9 years ago
Thomas Guillem
e26d41660a
chromecast: clear out_streams on error
9 years ago
Thomas Guillem
91b8d962a3
chromecast: delete ids when they fail
9 years ago
Thomas Guillem
e5a12b97ef
chromecast: iterate through out_streams
9 years ago
Thomas Guillem
556d8a94b2
chromecast: don't setup video transcode when not needed
9 years ago
Thomas Guillem
5088bc7bb2
chromecast: fix typo
9 years ago
Thomas Guillem
12298e6072
chromecast: don't reload if disabled track is removed
9 years ago
Thomas Guillem
2fa9ea9b07
chromecast: send/transcode only one audio/video track
It's useless to send tracks that are not supported by the CC.
9 years ago
Thomas Guillem
1f5411487e
chromecast: use iterator
9 years ago
Thomas Guillem
ddca3d13fd
chromecast: refactor, make place for SPUs
9 years ago
Thomas Guillem
86b9327500
chromecast: more verbose retry log
9 years ago
Thomas Guillem
9015016418
chromecast: always re-encode if the first pass failed
Even if the failing codec is h264, we should re-encoding since the cc may not
support the h264 resolution or profile.
9 years ago
Thomas Guillem
96deec5a6f
chromecast: add MPGA support
9 years ago
Thomas Guillem
05838a1cf2
chromecast: limit to 24fps when re-encoding
9 years ago
Thomas Guillem
05de65fe5f
chromecast: setup conversion quality
9 years ago
Thomas Guillem
1323485ac1
chromecast: encode multipcm in vorbis
9 years ago
Hugo Beauzée-Luyssen
2dead4fc92
chromecast: Don't assume Playing means the playback has started correctly
It seems the chromecast will gladly send a Playing state while it
actually doesn't know if the media can be played or not.
9 years ago
Hugo Beauzée-Luyssen
7aac9b989a
chromecast: Hide some private variable from settings
9 years ago
Hugo Beauzée-Luyssen
2be0e04d11
chromecast: Add a setting to enable/disable casting multichannel PCM
9 years ago
Hugo Beauzée-Luyssen
8a19baae44
chromecast: Add a setting to enable/disable audio passthrough
This is for (E)AC-3 only, since DTS isn't supported by the chromecast so
far
9 years ago
Hugo Beauzée-Luyssen
5810b8d6bd
chromecast: Handle multiple transcode/remux configurations
This is a best guess strategy, since we might receive a message stating
"LOAD_FAILED" (without any information about what failed), but we might
also receive nothing.
9 years ago
Thomas Guillem
1ba2861529
chromecast: transcode in AAC when needed
In order to support more than 2 audio channels.
9 years ago
Hugo Beauzée-Luyssen
40605135c7
chromecast: Display a warning dialog when transcoding
refs #19306
9 years ago
Thomas Guillem
c682ebc079
chromecast: fix leak when the stream is not supported
9 years ago
Thomas Guillem
a8a2a66eae
chromecast: fix block leak in case of error
9 years ago
Sebastian Ramacher
3c576f319d
chromecast: Fix spelling of 'controller'
Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
9 years ago
Steve Lhomme
abfa36e7dc
chromecast:cast: compare fourccs as vlc_fourcc_t
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Hugo Beauzée-Luyssen
dee5abc1c5
chromecast: Fix streamId leak
9 years ago
Hugo Beauzée-Luyssen
42db691c4b
chromecast: Always recreate the stream output chain
This was yielding false negative when remuxing (as the chain wouldn't
change, while the streams would)
9 years ago
Hugo Beauzée-Luyssen
a47ae56003
chromecast: Invert a condition to reduce indentation
9 years ago