File tree Expand file tree Collapse file tree
src/components/video-chromecast Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,13 +154,11 @@ export class VideoChromecast extends LitElement {
154154 url : this . poster ,
155155 } ,
156156 ] ;
157- console . log ( "Setting DRM options: " , this . drmOptions ) ;
158157 media . customData = this . drmOptions ? {
159158 "drm" : {
160159 "licenseUrl" : this . drmOptions [ KeySystems . widevine ] ?. licenseUrl
161160 }
162161 } : { } ;
163- console . log ( "Media custom data: " , media . customData ) ;
164162
165163 const request = new window . chrome . cast . media . LoadRequest ( media ) ;
166164
@@ -173,11 +171,9 @@ export class VideoChromecast extends LitElement {
173171 subtitlesLanguageIdx !== - 1 ? [ subtitlesLanguageIdx ] : [ ] ;
174172 }
175173
176- console . log ( "Setting Mux data: " , this . muxData ) ;
177174 request . customData = {
178175 ...( this . muxData ?. env_key && { "mux" : { "envKey" : this . muxData . env_key } } )
179176 } ;
180- console . log ( "Request custom data: " , request . customData ) ;
181177
182178 try {
183179 await window . cast . framework . CastContext . getInstance ( ) . requestSession ( ) ;
@@ -210,7 +206,6 @@ export class VideoChromecast extends LitElement {
210206 }
211207
212208 initChromeCast ( ) {
213- console . log ( "Using receiver application ID: " , this . receiverApplicationId || window . chrome . cast . media . DEFAULT_MEDIA_RECEIVER_APP_ID ) ;
214209 window . cast . framework . CastContext . getInstance ( ) . setOptions ( {
215210 receiverApplicationId : this . receiverApplicationId || window . chrome . cast . media . DEFAULT_MEDIA_RECEIVER_APP_ID ,
216211 autoJoinPolicy : window . chrome . cast . AutoJoinPolicy . ORIGIN_SCOPED ,
You can’t perform that action at this time.
0 commit comments