{"id":15661700,"url":"https://github.com/quentinms/webkit-268153","last_synced_at":"2025-10-10T15:49:33.763Z","repository":{"id":229748504,"uuid":"750339678","full_name":"quentinms/webkit-268153","owner":"quentinms","description":"https://bugs.webkit.org/show_bug.cgi?id=268153","archived":false,"fork":false,"pushed_at":"2024-01-30T13:11:02.000Z","size":12124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T16:48:18.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quentinms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-30T13:10:24.000Z","updated_at":"2024-01-30T13:11:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7d586df-d6da-43f5-9046-39087d551e55","html_url":"https://github.com/quentinms/webkit-268153","commit_stats":null,"previous_names":["quentinms/webkit-268153"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quentinms/webkit-268153","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quentinms%2Fwebkit-268153","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quentinms%2Fwebkit-268153/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quentinms%2Fwebkit-268153/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quentinms%2Fwebkit-268153/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quentinms","download_url":"https://codeload.github.com/quentinms/webkit-268153/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quentinms%2Fwebkit-268153/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004569,"owners_count":26083736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T13:29:01.939Z","updated_at":"2025-10-10T15:49:33.748Z","avatar_url":"https://github.com/quentinms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webkit-268153\nhttps://bugs.webkit.org/show_bug.cgi?id=268153\n\n## Running\n\n```sh\ngo run main.go\n```\n\nThe query params are:\n\n* `p_lang`: primary audio's language\n* `p_auto`: primary audio's AUTOSELECT value\n* `p_default`: primary audio's DEFAULT value\n* `ad_lang`: audio description's language\n* `ad_auto`: audio description's AUTOSELECT value\n* `ad_default`: audio description's DEFAULT value\n\n```sh\ncurl 'http://localhost:9999/playlist.m3u8?p_lang=it\u0026p_auto=YES\u0026ad_lang=en\u0026ad_auto=NO'\n```\n\nGenerated the playlists with:\n\n```sh\nffmpeg -i video.mp4 -c copy -hls_segment_type fmp4 -hls_list_size 0 -hls_time 6 -hls_fmp4_init_filename \"v_init.mp4\" v_index.m3u8\n\nffmpeg -i audio.mp4 -c copy -hls_segment_type fmp4 -hls_list_size 0 -hls_time 6 -hls_fmp4_init_filename \"a_init.mp4\" a_index.m3u8\n\nffmpeg -i audio_ad.mp4 -c copy -hls_segment_type fmp4 -hls_list_size 0 -hls_time 6 -hls_fmp4_init_filename \"ad_init.mp4\" ad_index.m3u8\n```\n\n## Specs \nhttps://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis\n\n\u003e **DEFAULT**  \nThe value is an enumerated-string; valid strings are YES and NO.\nIf the value is YES, then the client SHOULD play this Rendition of\nthe content in the absence of information from the user indicating\na different choice.  \nThis attribute is OPTIONAL.  Its absence\nindicates an implicit value of NO.\n\n\u003e **AUTOSELECT**  \nThe value is an enumerated-string; valid strings are YES and NO.\nThis attribute is OPTIONAL.  Its absence indicates an implicit\nvalue of NO.  If the value is YES, then the client MAY choose to\nplay this Rendition in the absence of explicit user preference\nbecause it matches the current playback environment, such as\nchosen system language.  \nIf the AUTOSELECT attribute is present, its value MUST be YES if\nthe value of the DEFAULT attribute is YES.\n\n## Test Results\n\nSystem locale set to \"en\".\nAD has `CHARACTERISTICS=\"public.accessibility.describes-video\"`\n\n\nPrimary: No tags  \nAD: No tags  \nActual: Primary  \nExpected: Primary  \n\nPrimary: No tags  \nAD: language=\"en\"  \nActual: AD  \nExpected: AD  \n\nPrimary: language=\"en\"  \nAD: language=\"en\"  \nActual: Primary  \nExpected: Primary  \n\nPrimary: language=\"it\"  \nAD: language=\"en\"  \nActual: AD  \nExpected: AD  \n\nPrimary: language=\"it\", AUTOSELECT=YES  \nAD: language=\"en\"  \nActual: AD  \nExpected: Primary  \n\nPrimary: language=\"it\", AUTOSELECT=YES  \nAD: language=\"en\", AUTOSELECT=NO  \nActual: AD  \nExpected: Primary\n\nPrimary: language=\"it\", AUTOSELECT=YES, DEFAULT=YES  \nAD: language=\"en\", AUTOSELECT=NO  \nActual: AD  \nExpected: Primary\n\nPrimary: language=\"en\", AUTOSELECT=YES  \nAD: language=\"en\", AUTOSELECT=NO  \nActual: Primary  \nExpected: Primary \n\nPrimary: language=\"en\", AUTOSELECT=NO  \nAD: language=\"en\", AUTOSELECT=YES  \nActual: Primary  \nExpected: AD \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquentinms%2Fwebkit-268153","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquentinms%2Fwebkit-268153","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquentinms%2Fwebkit-268153/lists"}