Profile cover photo
Profile photo
Shawn Shen
2,081 followers -
Working on Google Chromecast
Working on Google Chromecast

2,081 followers
About
Shawn's posts

Post has shared content
Announcing updates to Google’s Internet of Things platform: Android Things and Weave

Today we are announcing a full range of solutions to make it easier to build secure smart devices and get them connected. We are releasing a Developer Preview of Android Things, an operating system for connected devices that has the support and scale of existing Android developer infrastructure. You can now develop IoT software using Android Studio and the Android SDK. We are also updating the Weave platform to provide an easy way to add cloud connectivity and management to devices, and enable access to Google services like the Google Assistant and many more over time.

Learn more about Google’s IoT platform from our blog post at https://goo.gl/eENGtu

Post has attachment
In memory of the great Yogi Berra who passed away at age 90 today.

- Facebook on reaching 1 billion DAU: "Congratulations. I knew the record would stand until it was broken."
- Facebook to Snapchat: "When you come to a fork in the road, take it."
- Facebook feeds: "You can observe a lot by just watching."
- Facebook on social: "It ain't over till it's over"
- Facebook on history of social networks: "It's like déjà vu all over again."
- Facebook for Teens: "No one goes there nowadays, it’s too crowded."
- Facebook on acquiring WhatsApp: "A nickel ain't worth a dime anymore."
- Facebook on winning social war: "Always go to other people's funerals, otherwise they won't come to yours."
Photo

Post has attachment
Google Cast SDK: Media Player Library 1.0.0 Released: sample updated

Media Player Library 1.0.0 was just released.  Make sure to update your code to point to:

//www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js

This release version will be kept up to date and all prior beta will be deprecated and unsupported.

There is also an updated sample for streaming and DRM at:

https://github.com/googlecast/CastMediaPlayerStreamingDRM

Note that Widevine support was added and in the sample there's a public MPEG-DASH stream with Widevine for your testing convenience.

Post has attachment
This week Cast extension for Chrome got updated to:

Google Cast 14.805.0.6

and an oft-requested feature by developers that enables joining an existing session by session ID became available.  The API call goes like this:

chrome.cast.requestSessionById(storedSession.id);

and sample code for this is available at:

https://github.com/googlecast/CastHelloVideo-chrome/

The way this feature is implemented in the above sample is that a user can start casting from one tab.  The auto join policy is set to be:

chrome.cast.AutoJoinPolicy.TAB_AND_ORIGIN_SCOPED

therefore when a second is opened, it does not automatically join the session.  However it detects the session that is saved into localStorage from the first tab and the option to join by that session ID is available to the 2nd tab.

Note that in the sample session ID is saved into localStorage and passed to the 2nd tab.  Alternatively it can be saved/retrieved from the backend depending on the requirements of your apps.

Post has attachment
Update: CastMediaPlayerStreamingDRM

Added corsproxy.com to work around CORS issue for HLS streams in this sample. Now you can play them out of the box.

 * Added support of credentials for manifest, segment and license
 * Added audio/video bitrates picker: override getQualityLevel
 * Added support for custom license server

https://github.com/googlecast/CastMediaPlayerStreamingDRM
Photo

Post has attachment
Cast Extension Beta Updated

New features of the Cast extension beta 14.402.0.3 include:

* Universal media controls in extension UI for v2 apps
* Better device discovery using either/or (mDNS & DIAL) e.g. Windows antivirus issue
* App filtering to only show usable devices in a given context
* Enable users to choose casting method

Bonus: check out the entire screen mode!
 
Photo
Photo
2014-04-04
2 Photos - View album

Post has attachment
Sample: Cast Media Player Library for Streaming with DRM

https://github.com/googlecast/CastMediaPlayerStreamingDRM

This Google Cast sample app demonstrates how to play streaming media on Chromecast. It uses Cast Receiver SDK and Media Player Library and highlights the following features.

* Streaming: MPEG-DASH, Smooth Streaming, and HLS
* Enable live streaming
* Captions: external and in-stream
* Adaptive Bitrate Streaming
* DRM license server URL
* CORS and cross domain policy

It uses a Chrome sender but can work with Android or iOS senders as well. It also provides debugging features with live code snippets to illustrate interactions between sender and receiver.
Photo

Post has attachment
Google Cast Chrome TicTacToe sample available

I added a Cast Chrome TicTacToe sample on github:

https://github.com/googlecast/Cast-TicTacToe-chrome

and it works like the Android TicTacToe sample and even shares the same backend receiver app.  Check it out.

ProTip: If you look into the source, a bonus there is how to do asynchronous loading of Chrome sender API using window['__onGCastApiAvailable'] = callback.

Post has attachment
Updates on Cast extensions and Media Player library

  - Cast extension stable update
  - Cast extension beta update
  - Media Player library improvements

For more detailed info check out: https://developers.google.com/cast/docs/release-notes

Post has attachment
New Chrome sample code for variety of media types

This Google Cast demo app shows how to cast various media e.g. video, movies, TV show, music and photo from a Chrome browser using Cast Chrome Sender SDK. It highlights metadata types listed here:https://developers.google.com/cast/docs/reference/chrome/chrome.cast.media.MetadataType and how metadata get sent to and handled by the Cast default receiver app.

This app also illustrates various auto join policy settings that define how sessions can be retrieved.

https://github.com/googlecast/CastMedia-chrome
Wait while more posts are being loaded