diff --git a/src/services/Chromecast/ChromecastTransport.js b/src/services/Chromecast/ChromecastTransport.js index 0a489262c..8c2f6e8c9 100644 --- a/src/services/Chromecast/ChromecastTransport.js +++ b/src/services/Chromecast/ChromecastTransport.js @@ -86,7 +86,7 @@ function ChromecastTransport() { cast.framework.CastContext.getInstance().setOptions(options); }; this.requestSession = function() { - cast.framework.CastContext.getInstance().requestSession(); + return cast.framework.CastContext.getInstance().requestSession(); }; this.endCurrentSession = function(stopCasting) { cast.framework.CastContext.getInstance().endCurrentSession(stopCasting);