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

Agora broadcasting #74

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Agora broadcasting #74

wants to merge 5 commits into from

Conversation

ChaAbby
Copy link
Member

@ChaAbby ChaAbby commented Sep 12, 2024

With this PR.
Directors can start live streams and participants can join the channel.

I am currently not seeing the video on my end -- with the app simulator on my mac it is not compatible with the laptop camera, so not sure if I haven't gotten it set up correctly or its not showing up because of that.

Copy link
Member

@nate-thegrate nate-thegrate left a comment

Choose a reason for hiding this comment

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

Woohoo! Thanks for submitting this.

I'd be happy to get in there and resolve the merge conflicts soon, unless you're already on it.

@ChaAbby
Copy link
Member Author

ChaAbby commented Sep 12, 2024

Woohoo! Thanks for submitting this.

I'd be happy to get in there and resolve the merge conflicts soon, unless you're already on it.

That would be great! TY!

Copy link
Member

@nate-thegrate nate-thegrate left a comment

Choose a reason for hiding this comment

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

Looks really good overall!

Most of this feedback is for readability, though we definitely should factor out the dart:io imports.

functions/_previous_package-lock.json Outdated Show resolved Hide resolved
lib/agora/agora_user.dart Show resolved Hide resolved
lib/agora/broadcasting/broadcast_stream.dart Outdated Show resolved Hide resolved
lib/agora/channel/create_channel.dart Outdated Show resolved Hide resolved
lib/agora/channel/create_channel.dart Outdated Show resolved Hide resolved
lib/agora/join_active_stream.dart Outdated Show resolved Hide resolved
lib/agora/join_active_stream.dart Outdated Show resolved Hide resolved
lib/agora/join_active_stream.dart Outdated Show resolved Hide resolved
lib/agora/channel/create_channel.dart Outdated Show resolved Hide resolved
lib/agora/active_stream.dart Outdated Show resolved Hide resolved
Copy link
Member

@nate-thegrate nate-thegrate left a comment

Choose a reason for hiding this comment

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

@ChaAbby btw, let me know if I can help out with your checkout of this branch—I know that having someone else force-push to it can make things sort of wonky

lib/agora/channel/create_channel.dart Outdated Show resolved Hide resolved
functions/_previous_package-lock.json Outdated Show resolved Hide resolved
@nate-thegrate nate-thegrate self-requested a review October 4, 2024 01:49
Copy link
Member

@nate-thegrate nate-thegrate left a comment

Choose a reason for hiding this comment

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

Thanks for the updates, and also thanks for your patience!

I just have a couple of concerns about the ThcUser class structure, and I guess we still gotta take care of those dart:io imports too.

Comment on lines +204 to +206
if (isAudioEnabled != isAudioEnabled) 'isAudioEnabled': isAudioEnabled,
if (isVideoEnabled != isVideoEnabled) 'isVideoEnabled': isVideoEnabled,
if (view != view) 'view' : view,
Copy link
Member

Choose a reason for hiding this comment

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

A couple of questions here:

  1. It seems as though if (x != x) will always return false, do you know what the intended behavior is here?
  2. I noticed that view has a the Widget? type, and I'm not exactly sure how we're intending to represent it in JSON format.
    (I also haven't seen anywhere that sets a value for view.)

Comment on lines +103 to +104
bool? isAudioEnabled;
bool? isVideoEnabled;
Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately, adding these non-final values to an @immutable class is triggering some static analysis problems.

In my opinion, it would make the most sense to store these values in LocalStorage. What are your thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants