示例#1
0
 public ChromecastStream(ChromecastSession session, string protocolNamespace)
 {
     if (session.GCKApplicationSession.Channel != null)
     {
         stream = new GCKMessageStream(protocolNamespace);
         session.GCKApplicationSession.Channel.AttachMessageStream(stream);
     }
 }
示例#2
0
 public ChromecastStream(ChromecastSession session, string protocolNamespace) {
     if (session.GCKApplicationSession.Channel != null) {
         stream = new GCKMessageStream(protocolNamespace);
         session.GCKApplicationSession.Channel.AttachMessageStream(stream);
     }
 }