{"id":20110608,"url":"https://github.com/deepch/sample_rtsp","last_synced_at":"2025-08-08T15:36:51.418Z","repository":{"id":45700873,"uuid":"60852092","full_name":"deepch/sample_rtsp","owner":"deepch","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-27T19:17:08.000Z","size":31,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-19T09:39:36.659Z","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/deepch.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}},"created_at":"2016-06-10T14:04:57.000Z","updated_at":"2022-07-15T03:45:52.000Z","dependencies_parsed_at":"2022-08-28T17:50:19.875Z","dependency_job_id":null,"html_url":"https://github.com/deepch/sample_rtsp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fsample_rtsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fsample_rtsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fsample_rtsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fsample_rtsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepch","download_url":"https://codeload.github.com/deepch/sample_rtsp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224499901,"owners_count":17321605,"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","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-11-13T18:12:40.178Z","updated_at":"2024-11-13T18:12:40.707Z","avatar_url":"https://github.com/deepch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtsp client\n\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/deepch/rtsp\"\n)\n\nfunc main() {\n\tcount := 0\n\tClient := rtsp.RtspClientNew()\n\tClient.Debug = false\n\tif err := Client.Open(\"rtsp://admin:123456@171.25.235.18/mpeg4\"); err != nil {\n\t\tfmt.Println(\"[RTSP] Error\", err)\n\t} else {\n\t\tfor {\n\t\t\tselect {\n\t\t\tcase \u003c-Client.Signals:\n\t\t\t\tfmt.Println(\"Exit signals by rtsp\")\n\t\t\t\treturn\n\t\t\tcase data := \u003c-Client.Outgoing:\n\t\t\t\tcount += len(data)\n\t\t\t\tfmt.Println(\"recive  rtp packet size\", len(data), \"recive all packet size\", count)\n\t\t\t}\n\t\t}\n\t}\n\tClient.Close()\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Fsample_rtsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepch%2Fsample_rtsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Fsample_rtsp/lists"}