Google Cast Media Player Library - for streaming from Local Device

Ryan Heitner

Despite reading the documentation it not not clear to me exactly what " Google Cast Media Player Library" is and whether it is the route I need to take for my Chromecast app.

What I am trying to achieve is to play media from my local IOS device on Chromecast. My main aim to to play users videos and photos and not necessarily DRM media.

Up till now I have been doing this by exporting the AVAsset and then passing file address this to a simple HTTP server. This seems horribly inefficient and I thought I could use AVAssetReader to pass a stream to Chromecast. During my research I came across terms

  • MPEG-DASH -

  • SmoothStreaming

  • HTTP Live Streaming (HLS)

    But I do not understand whether I need such complex implementations

I find the name - Google Cast Media Player Library, to be very ambiguous and there is no concise explanation of what it is.

https://developers.google.com/cast/docs/player

Ali Naddaf

This is a piece of the definition given there:

... It provides JavaScript support for parsing manifests and playing HTTP Live Streaming (HLS), MPEG-DASH, and Smooth Streaming content. It also provide support for HLS AES encryption, PlayReady DRM, and Widevine DRM.

I hope this is not ambiguous; if your media has encryption and/or you are dealing with adaptive streams of the types specified (HLS, ..), then this library can help you. If you are playing a simple mp4 or showing images, you don't need to use this library.

There is plenty of posts in this forum on how to cast local media; it amounts to embedding a local tiny embedded web server in your sender app and then sending the url of the media (that is now exposed through your embedded web server via a URL) to chromecast and have your receiver show or play that media tiem (via the url that was exposed).

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다debugcn@gmail.com 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Media Player Shoutcast error

분류에서Dev

Windows Media Player 7

분류에서Dev

Make VLC Media Player my default player

분류에서Dev

how to store data to local device from server with titanium?

분류에서Dev

Back button not working in Media player

분류에서Dev

Remote Controlled / Network Media Player

분류에서Dev

Debian의 Media Player Classic

분류에서Dev

WPF Media Player 자연 시간

분류에서Dev

Are there any expert configuration guides for VLC Media Player?

분류에서Dev

VLC media player select audio track for conversion

분류에서Dev

How to add Notification code in media player?

분류에서Dev

VLC media player shuts down automatically

분류에서Dev

Android Media Player : setDataSource 실패

분류에서Dev

Device stop receive push notification from Google cloud messaging

분류에서Dev

Parse anonymous array from JSON result with Google HTTP Client Library

분류에서Dev

casper toram specify live-media device

분류에서Dev

Local variable inside linked movieclip (from library) seems to reset to default state

분류에서Dev

Windows Media Player 11 + 12, Wine 포함

분류에서Dev

Unable to start Ubuntu 13.04 installation media on VMware Player

분류에서Dev

Coded UI Test checking for an open Windows Media Player file

분류에서Dev

VLC Media player automatically create a blank duplicate when I open it

분류에서Dev

Windows Media Player 11 + 12, Wine 포함

분류에서Dev

how to get media player state using adb command

분류에서Dev

how to get media player state using adb command

분류에서Dev

navigate using arrow keys in Media Player Classic-HC

분류에서Dev

스크립팅 및 Windows Media Player 창

분류에서Dev

Creators Update 후 Windows Media Player가 누락 됨

분류에서Dev

Windows Media Player를 호출하는 C # WPF

분류에서Dev

왜 "Unchecked cast from ..."

Related 관련 기사

뜨겁다태그

보관