Post

Replies

Boosts

Views

Activity

HLS AVPlayer modify master manifest
Hi, I am using AVPLayer for play HLS video(live, vod). Is there any possibility to modify master manifest on the fly? The goal to remove some of variants from the playlist. Example: We have master manifest which contains several variants: #EXTM3U #EXT-X-STREAM-INF:BANDWIDTH=150000,RESOLUTION=416x234,CODECS="avc1.42e00a,mp4a.40.2" http://example.com/low/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=240000,RESOLUTION=416x234,CODECS="avc1.42e00a,mp4a.40.2" http://example.com/lo_mid/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=440000,RESOLUTION=416x234,CODECS="avc1.42e00a,mp4a.40.2" http://example.com/hi_mid/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=640000,RESOLUTION=640x360,CODECS="avc1.42e00a,mp4a.40.2" http://example.com/high/index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=64000,CODECS="mp4a.40.5" http://example.com/audio/index.m3u8 And I want dynamically remove all variants except the last and have in the result: #EXTM3U #EXT-X-STREAM-INF:BANDWIDTH=64000,CODECS="mp4a.40.5" http://example.com/audio/index.m3u8 Thanks in advance for any help! PS: URLProtocol doesn't suitable for this https://developer.apple.com/forums/thread/75328
2
0
2.3k
Jan ’21
AVPLayer switch to Audio only playlist
Hello! I am using AVPLayer for play HLS-stream videos. But I want to switch player to audio only representation of video. For that purpose we have separate playlist in master manifest: ..... #EXT-X-STREAM-INF: Video playlists ........ #EXT-X-STREAM-INF:BANDWIDTH=123456, CODECS="mp4a.40.2", AUDIO="AACL" index.m3u8/blablabla ..... Is there any possibility to switch AVPLayer to play this audio manifest? PS: I have tried to set frame of PlayerView to 0x0 but it is not switch to audio only playlist and also disabling tracks not working because it is not file-based playing.
4
1
2.1k
Jan ’21
App Clips Advanced Experience
Hi, could you please help me with next case: I have configured in iTunes Connect 2 Advanced App Clip experiences, associated by next links: 1) myWebSite.com/advanced1 2) myWebSite.com/advanced2 User invokes my advanced1 clip and after it he invokes advanced2. How it will looks in user iPhone Home screen? It will be to separate AppClip icons(if yes, how I can manage the icons if all clips "for my own bussines")? Or it will be one icon(if yes, what will be opened when user tapp to this icon? the advanced2 clip?) I didn't find answer in docs and wwdc videos :(
3
0
712
Sep ’20
App Clips editing
Hello, I have 2 questions related to editing App Clips: 1) Can we activate/deactivate App Clips for the "live" application? How it can affect users which already have installed my App Clips and use it? Or it is only affect new user, they cannot be install my AppClip or some other scenario? 2) Can we edit App Clip Card information for "live" application? For example, can we change description/header image "on the fly" and all new users which will invoke app clip will see new image?
5
0
1.2k
Sep ’20