Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shaka build source_map using the absolute paths. #413

Closed
asdftu opened this issue Jun 12, 2016 · 3 comments
Closed

shaka build source_map using the absolute paths. #413

asdftu opened this issue Jun 12, 2016 · 3 comments
Assignees
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@asdftu
Copy link

asdftu commented Jun 12, 2016

following is a clip in the file of "shaka-player.compiled.debug.map",

"sources":["d:/venus/shaka-player/third_party/closure/goog/base.js","d:/venus/shaka-player/lib/polyfill/patchedmediakeys_v01b.js","d:/venus/shaka-player/lib/abr/ewma.js","d:/venus/shaka-player/lib/abr/ewma_bandwidth_estimator.js","d:/venus/shaka-player/lib/abr/simple_abr_manager.js","d:/venus/shaka-player/lib/media/presentation_timeline.js","d:/venus/shaka-player/lib/media/segment_reference.js","d:/venus/shaka-player/lib/media/time_ranges_utils.js","d:/venus/shaka-player/lib/polyfill/all.js","d:/venus/shaka-player/lib/polyfill/fullscreen.js","d:/venus/shaka-player/lib/polyfill/patchedmediakeys_nop.js","d:/venus/shaka-player/lib/polyfill/promise.js","d:/venus/shaka-player/lib/polyfill/videoplaybackquality.js","d:/venus/shaka-player/lib/util/array_utils.js","d:/venus/shaka-player/lib/util/config_utils.js","d:/venus/shaka-player/lib/util/error.js","d:/venus/shaka-player/lib/util/cancelable_chain.js","d:/venus/shaka-player/lib/util/data_view_reader.js","d:/venus/shaka-player/lib/util/pssh.js","d:/venus/shaka-player/lib/util/ebml_parser.js","d:/venus/shaka-player/lib/util/fake_event.js","d:/venus/shaka-player/lib/util/functional.js","d:/venus/shaka-player/lib/media/segment_index.js","d:/venus/shaka-player/lib/media/text_engine.js","d:/venus/shaka-player/lib/util/language_utils.js","d:/venus/shaka-player/lib/util/map_utils.js","d:/venus/shaka-player/lib/util/multi_map.js","d:/venus/shaka-player/lib/util/event_manager.js","d:/venus/shaka-player/lib/media/playhead.js","d:/venus/shaka-player/lib/util/fake_event_target.js","d:/venus/shaka-player/lib/util/public_promise.js","d:/venus/shaka-player/lib/media/media_source_engine.js","d:/venus/shaka-player/lib/media/streaming_engine.js","d:/venus/shaka-player/lib/offline/db_engine.js","d:/venus/shaka-player/lib/offline/storage.js","d:/venus/shaka-player/lib/util/string_utils.js","d:/venus/shaka-player/lib/util/text_parser.js","d:/venus/shaka-player/lib/media/vtt_text_parser.js","d:/venus/shaka-player/lib/util/uint8array_utils.js","d:/venus/shaka-player/lib/media/drm_engine.js","d:/venus/shaka-player/lib/polyfill/patchedmediakeys_20140218.js","d:/venus/shaka-player/lib/polyfill/mediakeys.js","d:/venus/shaka-player/lib/util/stream_utils.js","d:/venus/shaka-player/lib/util/xml_utils.js","d:/venus/shaka-player/lib/dash/content_protection.js","d:/venus/shaka-player/third_party/closure/goog/uri/utils.js","d:/venus/shaka-player/third_party/closure/goog/uri/uri.js","d:/venus/shaka-player/lib/dash/mpd_utils.js","d:/venus/shaka-player/lib/dash/segment_base.js","d:/venus/shaka-player/lib/media/mp4_segment_index_parser.js","d:/venus/shaka-player/lib/media/webm_segment_index_parser.js","d:/venus/shaka-player/lib/dash/segment_list.js","d:/venus/shaka-player/lib/dash/segment_template.js","d:/venus/shaka-player/lib/net/networking_engine.js","d:/venus/shaka-player/lib/media/manifest_parser.js","d:/venus/shaka-player/lib/dash/dash_parser.js","d:/venus/shaka-player/lib/net/data_uri_plugin.js","d:/venus/shaka-player/lib/net/http_plugin.js","d:/venus/shaka-player/lib/offline/download_manager.js","d:/venus/shaka-player/lib/offline/offline_manifest_parser.js","d:/venus/shaka-player/lib/offline/offline_scheme.js","d:/venus/shaka-player/lib/player.js"],

you see that the paths are all the absolute paths.
is there any way to change to use the relative path?

the reason i want to use the relative path is that when i debugged in chrome using source map
i got the following error

Source map http://localhost:8000/shaka-player.compiled.debug.map points to the files missing from the workspace: [http://localhost:8000/d:/venus/shaka-player/third_party/closure/goog/base.js, http://localhost:8000/d:/venus/shaka-player/lib/polyfill/patchedmediakeys_v01b.js, http://localhost:8000/d:/venus/shaka-player/lib/abr/ewma.js, …]

if map file uses the relative path, the issue will gone.

@TheModMaker
Copy link
Contributor

What version are you using and on what platform? Have you tried with a clean version on master? This is a duplicate of #323 and should have been fixed in 58ac690.

@asdftu
Copy link
Author

asdftu commented Jun 15, 2016

i am sure that i am using an clean version ofmaster.

my platform is :
OS: windows 10
Python 2.7

@TheModMaker TheModMaker added the type: bug Something isn't working correctly label Jun 15, 2016
@TheModMaker TheModMaker added this to the v2.0.0 milestone Jun 15, 2016
@TheModMaker TheModMaker self-assigned this Jun 15, 2016
@TheModMaker
Copy link
Contributor

I have verified that this happens on Windows, will investigate further.

@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants