[vlc-devel] [RFC PATCH 00/10] Activate chromecast live

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Sep 7 15:45:56 CEST 2017


As discussed during last workshop, this is an attempt at solving #18605 that
doesn't invole a demux_filter.
Instead, pausing, setting and fetching position/time is handled through new
sout commands.
The patchset might not be completely polished, but the main idea is there.

Regards,

Hugo Beauzée-Luyssen (10):
  input: Allow the sout to change on the fly
  input: Add INPUT_CONTROL_SET_RENDERER
  playlist: Add playlist_SetRenderer
  input: Provide the potential renderer upon input item creation
  qt: actions_manager: Rework renderer handling
  sout: Add time/pos/pause controls
  input: Query a potential stream output for its time/pos
  sout: Provide a default control callback
  chromecast: Handle pause/position/time from the stream_output
  chromecast: Remove demux filter

 include/vlc_es_out.h                               |   1 +
 include/vlc_input.h                                |  11 +-
 include/vlc_playlist.h                             |   8 +
 include/vlc_sout.h                                 |  12 +-
 lib/media_player.c                                 |   2 +-
 modules/gui/qt/actions_manager.cpp                 |  90 +++----
 modules/gui/qt/actions_manager.hpp                 |   2 +-
 modules/misc/fingerprinter.c                       |   2 +-
 modules/services_discovery/microdns.c              |   1 -
 modules/stream_out/Makefile.am                     |   7 +-
 modules/stream_out/chromecast/cast.cpp             |  43 ++-
 modules/stream_out/chromecast/chromecast.h         |  29 +-
 modules/stream_out/chromecast/chromecast_ctrl.cpp  | 105 +++-----
 modules/stream_out/chromecast/chromecast_demux.cpp | 300 ---------------------
 src/Makefile.am                                    |   1 +
 src/input/control.c                                |   8 +
 src/input/es_out.c                                 |   9 +
 src/input/es_out_timeshift.c                       |   3 +
 src/input/input.c                                  |  98 ++++++-
 src/input/input_internal.h                         |   3 +
 src/input/var.c                                    |   2 +
 src/input/vlm.c                                    |   5 +-
 src/libvlccore.sym                                 |   1 +
 src/playlist/engine.c                              |   3 +
 src/playlist/playlist_internal.h                   |   1 +
 .../chromecast_common.h => src/playlist/renderer.c |  63 ++---
 src/playlist/thread.c                              |   5 +-
 src/stream_output/stream_output.c                  |  76 +++++-
 src/stream_output/stream_output.h                  |   6 +
 29 files changed, 379 insertions(+), 518 deletions(-)
 delete mode 100644 modules/stream_out/chromecast/chromecast_demux.cpp
 rename modules/stream_out/chromecast/chromecast_common.h => src/playlist/renderer.c (50%)

-- 
2.11.0



More information about the vlc-devel mailing list