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

Is it possible to send customData? #4133

Closed
AbeEstrada opened this issue Apr 18, 2022 · 2 comments
Closed

Is it possible to send customData? #4133

AbeEstrada opened this issue Apr 18, 2022 · 2 comments
Labels
status: archived Archived and locked; will not be updated type: question A question from the community

Comments

@AbeEstrada
Copy link

Have you read the Tutorials?
Yes

Have you read the FAQ and checked for duplicate open issues?
Yes

What version of Shaka Player are you using?
^3.3.2

Please ask your question

I'm migrating from VideoJS to ShalaPlayer and VideoJS has a plugin to add the cast button silvermine/videojs-chromecast, that plugin can send customData to the receiver as part of the requestData.media (ChromecastTech.js#L172), I already tried with controls.getCastProxy().setAppData({}) but it is different and I do not control the receiver web app. I see the receiver can handle it (cast_receiver.js#L786)

My questions is: Is there a way to include customData as part of the request?

@joeyparrish
Copy link
Member

The shaka.cast APIs are meant to be used on the sender side with shaka.cast used also on the receiver side. For a receiver you don't control, you should probably use the Cast SDK directly. In a future release, Shaka Player's shaka.cast API will be replaced with a cast button in our UI that talks directly to generic receivers.

See also #4214

Are you using the Shaka Player UI or a custom UI? If your UI is custom, you can just choose not to use shaka.cast and talk directly to the Cast SDK.

If you are using our UI, it will use shaka.cast.CastProxy no matter what. You could choose not to configure it with an app ID, but you would still need to hook into or replace the various UI elements to make them communicate with your receiver.

Sorry for the inconvenience!

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 12, 2022
@github-actions
Copy link
Contributor

Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.

@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 19, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: question A question from the community
Projects
None yet
Development

No branches or pull requests

3 participants