Comments (6)
https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.Media#editTracksInfo
from castvideos-chrome.
But if I call chrome.cast.media.Media.editTracksInfo
gives me an error. That's why I was asking if there's something else I need to do, or where do I obtain the elements for the Media constructor and create an instance of it
from castvideos-chrome.
Or is there a way from the remotePlayer or remotePlayerController to access that class instance?
from castvideos-chrome.
Since this isn't an issue with this sample app, please file an issue with the Google Cast SDK tracker: https://issuetracker.google.com/issues?q=componentid:190205%20status:open&s=modified_time:desc
from castvideos-chrome.
But if I call
chrome.cast.media.Media.editTracksInfo
gives me an error. That's why I was asking if there's something else I need to do, or where do I obtain the elements for the Media constructor and create an instance of it
@rafa8626 We're you able to find a good example on how this works?
from castvideos-chrome.
But if I call
chrome.cast.media.Media.editTracksInfo
gives me an error. That's why I was asking if there's something else I need to do, or where do I obtain the elements for the Media constructor and create an instance of it@rafa8626 We're you able to find a good example on how this works?
const castSession = cast.framework.CastContext.getInstance().getCurrentSession();
const media = castSession.getMediaSession();
media.editTracksInfo(tracksInfoRequest, success, fail);
from castvideos-chrome.
Related Issues (20)
- Question: multiple players handling HOT 3
- [Deprecation] Errors for M73 ( March 2019 ) HOT 3
- Initialization in Vue.js
- Initialization and transmission of video stream HOT 1
- home LAN web server, self-signed cert, chromecast not work HOT 3
- issue
- integration with react(chrome cast) HOT 2
- Cast button does not show when using application id. HOT 2
- Is it working with Cordova? HOT 2
- Builtin chrome cast button casts the video HOT 1
- No re-connection on page refresh HOT 1
- Cast button doesn't appear on mobile HOT 3
- Chromebook - Fails to load - cast is not defined HOT 2
- Wish-list: Chromecast Audio example HOT 1
- Media Sample URLs using http scheme
- Detect ChromeCast available receivers in JS
- DEFAULT_MEDIA_RECEIVER_APP_ID doesn't work while C0868879 does
- [Cast Docs] Codelab HOT 1
- Cast button not showing up for Custom Receiver or Styled Media Receiver Applications HOT 2
- Googlecast not working with AES 128 encryption without IV
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from castvideos-chrome.