{"id":19317827,"url":"https://github.com/queeniecplusplus/cdn_rtsp","last_synced_at":"2026-02-09T22:31:20.099Z","repository":{"id":104588159,"uuid":"300500149","full_name":"QueenieCplusplus/CDN_RTSP","owner":"QueenieCplusplus","description":"即時串流傳輸協定","archived":false,"fork":false,"pushed_at":"2020-10-04T04:49:01.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T08:42:44.464Z","etag":null,"topics":["stream-processing","streaming","streaming-audio","streaming-data","streaming-video"],"latest_commit_sha":null,"homepage":"https://github.com/QueenieCplusplus/QuickGoThru/blob/master/README.md#cdn-in-2020","language":null,"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/QueenieCplusplus.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":"2020-10-02T04:28:23.000Z","updated_at":"2020-10-04T04:49:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"72a45b53-e90f-46ee-9607-54cb8ff3600c","html_url":"https://github.com/QueenieCplusplus/CDN_RTSP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QueenieCplusplus/CDN_RTSP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCDN_RTSP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCDN_RTSP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCDN_RTSP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCDN_RTSP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QueenieCplusplus","download_url":"https://codeload.github.com/QueenieCplusplus/CDN_RTSP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCDN_RTSP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29283565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["stream-processing","streaming","streaming-audio","streaming-data","streaming-video"],"created_at":"2024-11-10T01:16:21.860Z","updated_at":"2026-02-09T22:31:20.083Z","avatar_url":"https://github.com/QueenieCplusplus.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CDN_RTSP\n即時串流傳輸協定\n\n其實 HTTP, Hyper Text Transport Protocol 也是串流媒體傳輸協定的一種，而 RTSP 即時串流傳輸協定用於具有即時性的串流媒體撥放控制，它在用戶端和伺服器端建立起即時（連結）階段，用戶端可以發起 play、pause、rewind、fast forward、quit 等控制指令，從用戶端發起連接請求至連接中斷的整個過程中，伺服器會持續監聽客戶端狀態，持續不間斷的發送媒體資料封包，保障傳輸品質。\n\nRTSP 僅支援 3GP 格式，對 MP4、FLV、TS 等格式不支援。RSTP 自我調整串流媒體，會同時在檔案的 SDP, Session Description Protocol 資訊中增加資料。\n\n關於切換串流頻道由客戶端還是伺服器端兩方中一方的機制：\n\n* 如客戶端得到多串流速率檔案的 SDP 資料，可由客戶端發起切換指令。\n\n* 如伺服器端主動進行串流速率切換，卻沒有發通知予客戶端，則客戶端之前的 SDP 資訊沒有更新，倘若客戶端再次主動發起串流速度切換請求時，則傳送的參數與目前使用的串流速度資料不一致，將進一步導致切換失敗。\n\n* 如果伺服器端和客戶端同時發起串流速度切換，哪一方優先順序更高。\n\n3GPP TS26.234 標準亦規範了能力協商的方式：\n\n1. 用戶端與伺服器端建立連接時，請求中的描述檔案會攜帶 Capability Profile 的 URL 位址，伺服器下載後獲得用戶端的能力集（解析度、緩存容量、解碼器）。\n\n2. 用戶端從串流平台上取得 URL 時，就會將其能力集檔案的 URL 位置告知串流平台，由串流平台下載該檔案後進行解析獲得用戶端能力集資訊，並將其中關鍵參數嵌入至 URL 參數欄位中，伺服器則透過串流平台改寫的 URL 獲得用戶端的能力集。\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fcdn_rtsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueeniecplusplus%2Fcdn_rtsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fcdn_rtsp/lists"}