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

[PBE-0] support livestream #584

Merged
merged 4 commits into from
Nov 21, 2024
Merged

[PBE-0] support livestream #584

merged 4 commits into from
Nov 21, 2024

Conversation

kanat
Copy link
Contributor

@kanat kanat commented Oct 23, 2024

🎯 Goal

Allow starting/joining livestreams from the Demo app

🎨 Showcase

Scenario Demo
Starting a Livestream
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-11-12.at.17.05.57.mov
Joining a livestream with an ID
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-11-12.at.17.10.42.mov
Joining a livestream with url Just paste any call url with the type query parameter set to livestream

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change follows zero ⚠️ policy (required)
  • This change should receive manual QA
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (Docusaurus, tutorial, CMS)

@kanat kanat requested a review from a team as a code owner October 23, 2024 16:15
@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Oct 23, 2024

SDK Size

title develop branch diff status
StreamVideo 7.61 MB 7.61 MB 0 KB 🟢
StreamVideoSwiftUI 2.18 MB 2.18 MB +1 KB 🟢
StreamVideoUIKit 2.31 MB 2.31 MB +1 KB 🟢
StreamWebRTC 8.69 MB 8.69 MB 0 KB 🟢

@kanat kanat marked this pull request as draft October 23, 2024 16:48
@ipavlidakis ipavlidakis added the enhancement New feature or request label Nov 12, 2024
@ipavlidakis ipavlidakis marked this pull request as ready for review November 12, 2024 15:44
Copy link
Collaborator

@martinmitrevski martinmitrevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just few small things. Also the call state has conflicts.

roles(),
joinedAt,
userId
combineComparators([
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to change this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is changed to match React sorting comparators as they seem to have been updated https://github.com/GetStream/stream-video-js/blob/3d115dd349fb0f4c57ff162dbaf829c2f96b45b9/packages/client/src/sorting/presets.ts#L93

Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

Copy link

sonarcloud bot commented Nov 20, 2024

Copy link
Collaborator

@martinmitrevski martinmitrevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

public init(
type: String,
id: String,
muted: Bool = false,
showParticipantCount: Bool = true,
joinPolicy: JoinPolicy = .auto,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better 👍

@ipavlidakis ipavlidakis merged commit 1bf0b61 into develop Nov 21, 2024
13 checks passed
@ipavlidakis ipavlidakis deleted the livestream branch November 21, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants