Skip to content

Conversation

@Mike-Zhylevych
Copy link
Contributor

[Copilot is generating a summary...]

Contributing checklist

  • Code must follow existing styling conventions
  • Added a descriptive commit message
  • Sample apps updated if needed

Solves issue(s)


override fun onStreamCreated(publisher: PublisherKit, stream: Stream) {
val cameraPosition = this.props?.get("cameraPosition") as? String ?: "front"
if (cameraPosition == "back") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be possible to put back and front in some case of string literal, constant etc?

@Mike-Zhylevych Mike-Zhylevych merged commit 6a1e267 into 2.31.0 Jan 7, 2026
1 of 2 checks passed
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.

4 participants