gfuentesdev / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Can't use 'CustomAttributes' with Smooth Streaming. #215

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make Smooth Streaming manifest file like...

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>                         

<SmoothStreamingMedia MajorVersion="2" MinorVersion="1" Duration="7341654921" 
TimeScale="10000000">                                                           

<StreamIndex Type="video" Name="video" Chunks="368" QualityLevels="10" 
TimeScale="10000000" MaxWidth="1920" MaxHeight="800" DisplayWidth="1920" 
DisplayHeight="800" 
Url="QualityLevels({bitrate},{CustomAttributes})/Fragments(video={start time})">
<QualityLevel Index="0" Bitrate="6564606" 
CodecPrivateData="0000000127640028AC2D14078065B01100112A860337F980E0400016E36000
02DC6C6F7BE0ED044228B00000000128EE3C30" FourCC="H264" MaxWidth="1920" 
MaxHeight="800">
<CustomAttributes>
<Attribute Name="Lang" Value="und"></Attribute>                                 

</CustomAttributes>                                                             

2. Play this Smooth Streaming video with Media Player Library.

3. Chrome cast will connect to 
"http://xxx/QualityLevels(1558993,%7BCustomAttributes%7D)/Fragments(video=0)"

4. video does not play with a error.

What is the expected output? What do you see instead?

Chrome cast should connect to 
"http://xxx/QualityLevels(1558993,Lang=und)/Fragments(video=0)"

What version of the product are you using? On what operating system?

Media Player Library : version 0.4.0, Revision 1 ( 
http://www.gstatic.com/cast/sdk/libs/mediaplayer/0.4.0/media_player.js )

Please provide any additional information below.

http://msdn.microsoft.com/en-us/magazine/ee336025.aspx

Original issue reported on code.google.com by happy...@gmail.com on 28 Mar 2014 at 1:29

GoogleCodeExporter commented 8 years ago
Custom attributes in Manifest are currently not supported. We will look into it 
at some point in future but it won't be immediate.

Original comment by anad...@google.com on 1 Apr 2014 at 7:46

GoogleCodeExporter commented 8 years ago

Original comment by z...@google.com on 22 Sep 2014 at 7:39