{"id":22603618,"url":"https://github.com/chayanforyou/calling-app-pip-demo-ios","last_synced_at":"2025-04-10T20:32:52.605Z","repository":{"id":265845916,"uuid":"896733972","full_name":"chayanforyou/calling-app-pip-demo-ios","owner":"chayanforyou","description":"Picture-in-Picture (PIP) mode in a calling application iOS","archived":false,"fork":false,"pushed_at":"2024-12-01T10:25:04.000Z","size":214,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T18:07:33.337Z","etag":null,"topics":["avkit","avpictureinpicturecontroller","avpictureinpictureviewcontroller","ios","picture-in-picture","pip","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/chayanforyou.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-12-01T06:43:48.000Z","updated_at":"2025-03-18T15:46:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"99ba413d-796d-4321-8111-958dc7ad320c","html_url":"https://github.com/chayanforyou/calling-app-pip-demo-ios","commit_stats":null,"previous_names":["chayanforyou/calling-app-pip-demo-ios"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayanforyou%2Fcalling-app-pip-demo-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayanforyou%2Fcalling-app-pip-demo-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayanforyou%2Fcalling-app-pip-demo-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayanforyou%2Fcalling-app-pip-demo-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chayanforyou","download_url":"https://codeload.github.com/chayanforyou/calling-app-pip-demo-ios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290041,"owners_count":21078923,"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":["avkit","avpictureinpicturecontroller","avpictureinpictureviewcontroller","ios","picture-in-picture","pip","swift"],"created_at":"2024-12-08T13:07:06.874Z","updated_at":"2025-04-10T20:32:52.597Z","avatar_url":"https://github.com/chayanforyou.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"## iOS PictureInPicture Sample\nThis example demonstrates the implementation of Picture-in-Picture (PIP) mode in a calling application that uses WebRTC for VoIP functionality. The sample showcases how a video call continues seamlessly when the app switches to PIP mode. In the PIP window, the app provides action buttons to pause or resume the video stream, ensuring a smooth user experience.\n\n### The PiP (Picture-in-Picture) window offers versatile controls:\n\n- Drag to reposition.\n- Single-tap for options like full-screen toggle.\n- Double-tap to switch between minimized and maximized sizes.\n- Stash the window by dragging it to the screen's edge, and unstash by tapping or dragging it out.\n\n### Video Demo\n\nhttps://github.com/user-attachments/assets/8109ef44-95cf-4baf-a856-a9765f07e416\n\n### Resources\n\n- [Adopting Picture in Picture for video calls](https://developer.apple.com/documentation/avkit/adopting-picture-in-picture-for-video-calls)\n- [Accessing the camera while multitasking](https://developer.apple.com/documentation/avkit/accessing-the-camera-while-multitasking-on-ipad)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchayanforyou%2Fcalling-app-pip-demo-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchayanforyou%2Fcalling-app-pip-demo-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchayanforyou%2Fcalling-app-pip-demo-ios/lists"}