shaka-packager/packager/mpd/base
Cosmin Stejerean 98b44d01df
fix: escape media URLs in MPD (#1395)
Currently `media_info.media_file_url()` is not escaped when placed into
MPD for things like BaseURL. This for example breaks when trying to us a
file name that contains special characters like &. Since these are
supposed to be URLs let's URL encode them.

Fixes #1107

---------

Co-authored-by: Joey Parrish <joeyparrish@users.noreply.github.com>
2024-05-10 17:27:13 -07:00
..
xml fix: escape media URLs in MPD (#1395) 2024-05-10 17:27:13 -07:00
CMakeLists.txt feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
adaptation_set.cc fix: adaptation set IDs were referenced by lowest representation ID (#1394) 2024-05-10 17:24:04 -07:00
adaptation_set.h fix: adaptation set IDs were referenced by lowest representation ID (#1394) 2024-05-10 17:24:04 -07:00
adaptation_set_unittest.cc feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
bandwidth_estimator.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
bandwidth_estimator.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
bandwidth_estimator_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
content_protection_element.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
content_protection_element.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
media_info.proto feat: HLS / DASH support forced subtitle (#1020) 2024-02-14 20:27:57 -08:00
mock_mpd_builder.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mock_mpd_builder.h feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
mock_mpd_notifier.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mock_mpd_notifier.h feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
mpd_builder.cc fix: escape media URLs in MPD (#1395) 2024-05-10 17:27:13 -07:00
mpd_builder.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpd_builder_unittest.cc feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
mpd_notifier.h feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
mpd_notifier_util.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpd_notifier_util.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpd_options.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpd_utils.cc feat(DASH): Add Label element. (#1175) 2024-02-14 10:36:08 -08:00
mpd_utils.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mpd_utils_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
period.cc fix: adaptation set IDs were referenced by lowest representation ID (#1394) 2024-05-10 17:24:04 -07:00
period.h refactor: merge Period::ProtectedAdaptationSetMap into AdaptationSet (#844) 2024-05-02 19:11:04 -07:00
period_unittest.cc feat: add startwithSAP/subsegmentstartswithSAP for audio tracks (#1346) 2024-02-23 15:45:46 -08:00
representation.cc feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
representation.h feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
representation_unittest.cc feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
segment_info.h feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
simple_mpd_notifier.cc feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
simple_mpd_notifier.h feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00
simple_mpd_notifier_unittest.cc feat: get start number from muxer and specify initial sequence number (#879) 2024-05-02 13:25:49 -07:00