ios - Video streaming in video player in appcelerator titanium for iPhone -


i have started iphone dev on appcelerator titanium. went through following stuff http://docs.appcelerator.com/titanium/3.0/#!/api/titanium.media.videoplayer. have tried media types mentioned no avail. can play sample link procided in document can't play blob link, store video. using azure media services storing video.

here's code

var videoplayer = titanium.media.createvideoplayer({     url:'http://101appstest1.origin.mediaservices.windows.net/6a7bde21-ebb1-4c5e-8dc5-b4b107b41de0/bigbuckbunny.ism/manifest(format=m3u8-aapl)',     media:'blob',     top : '120px',     autoplay : true,     backgroundcolor : 'blue',     height : 300,     width : 300,     mediacontrolstyle : ti.media.video_control_fullscreen,     scalingmode : ti.media.video_scaling_aspect_fit,     });       self.add(videoplayer); 

hi hemant tired url (hls v4), returned me 404. suggest following debugging reference:

  1. if using dynamic packaging, please make sure have 1 streaming reserved unit turned on. adjust through portal, under media services -> origin tab.

  2. if packaged media file through portal (static packaged hls content), please try see whether playback content through native safari browser.

  3. currently, support hls v4 , v3 through dynamic packaging (please read blog post here: http://mingfeiy.com/android-hls-playback-via-azure-media-services). maybe trying deliver v4 browser doesn't support v4?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -