Tests how to use AVFoundation AVPlayer API in order to have a custom User-Agent on each network request

Overview

Testing iOS AVFoundation AVPlayer API

Tests how to use AVFoundation AVPlayer API in order to have a custom User-Agent on each network request.

In this demo, can test different setups of AVPlayer. The goal is to making sure the User-Agent used in each network request is always the same, always the one that clearly identify your application.

There is a built-in webserver that logs on the Xcode console all requests that comes in. Xcode Console logs example

Goal

Run the app on the simulator, and click on the Demo with custom headers button. App screenshot with action buttons

Inside Xcode console, you should always see requests with this user agent:

User-Agent: MyPodcastApp/1.0.1 (iPhone; iOS 14.4; en)

and never with this one:

User-Agent: AppleCoreMedia/1.0.0.18D46 (iPhone; U; CPU OS 14_4 like Mac OS X; en_us)

Credits

Bundled audio file bensound-goinghigher.mp3 comes from Bensound.com

License

MIT

Owner
Spreaker
Spreaker
ModernAVPlayer is a persistence AVPlayer wrapper

ModernAVPlayer ModernAVPlayer is a persistence AVPlayer wrapper ++ Cool features ++ Get 9 nice and relevant player states (playing, buffering, loading

no reason PROJECTS 220 Nov 19, 2021
The Amazing Audio Engine is a sophisticated framework for iOS audio applications, built so you don't have to.

Important Notice: The Amazing Audio Engine has been retired. See the announcement here The Amazing Audio Engine The Amazing Audio Engine is a sophisti

null 509 Nov 26, 2021
A drop-in universal library allows to record audio within the app with a nice User Interface.

IQAudioRecorderController IQAudioRecorderController is a drop-in universal library allows to record and crop audio within the app with a nice User Int

Mohd Iftekhar Qurashi 634 Oct 28, 2021
🗣 An overlay that gets your user’s voice permission and input as text in a customizable UI

Overview Voice overlay helps you turn your user's voice into text, providing a polished UX while handling for you the necessary permissions. It uses i

Algolia 469 Nov 16, 2021
Start recording when the user speaks

FDSoundActivatedRecorder Start recording when the user speaks. All you have to do is tell us when to start listening. Then we wait for an audible nois

William Entriken 254 Nov 17, 2021
Custom iOS music player view

InteractivePlayerView Custom iOS music player view Screen About InteractivePlayerView is an IBDesignableView (Custom View) which has its own progress,

AhmetKeskin 273 Oct 1, 2021
Minimalistic Swift HTTP request agent for iOS and OS X

Agent Table of Contents Introduction Usage HTTP Verbs Overloading Method Chaining Response Closure Verbs Methods NSMutableURLRequest Contributing Lice

null 595 Nov 19, 2021
This library uses ARKit Face Tracking in order to catch user's smile.

SmileToUnlock Make your users smile before opening the app :) Gif with the demonstration Installation Cocoapods The most preferable way to use this li

Ruslan Serebriakov 622 Nov 8, 2021
Each step you take reveals a new horizon. You have taken the first step today.

The story Seeing the animations behind Paper, or the transitions behind Mail, being in a world of flat design and transitions, user interaction, app b

Ramon Gilabert 151 Aug 30, 2021
Mathias Köhnke 1.1k Nov 21, 2021
Mathias Köhnke 1.1k Nov 8, 2021
Make your UIScrollView scroll automatically when user is looking 👀 by tracking face using ARKit and AVFoundation

Baraba from Korean: meaning, Look at me Make your UIScrollView scroll automatically when user is looking at the screen ?? Features Automatic scrolling

Soojin Ro 289 Nov 8, 2021
DBNetworkStack is a network abstraction for fetching request and mapping them to model objects

DBNetworkStack Main Features ?? Typed network resources ?? Value oriented architecture ?? Exchangeable implementations ?? Extendable API ?? Composable

DB Systel GmbH 33 Sep 7, 2021
Automatically sets the network activity indicator for any performed request.

BigBrother BIG BROTHER IS WATCHING YOU. BigBrother is a Swift library made for iOS that automatically watches for any performed request and sets the n

Marcelo Fabri 446 Sep 27, 2021
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!

OHHTTPStubs OHHTTPStubs is a library designed to stub your network requests very easily. It can help you: test your apps with fake network data (stubb

Olivier Halligon 4.8k Nov 15, 2021
Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS projects.

?? Warning This repository is DEPRECATED and not maintained anymore. Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS

Tudo Gostoso Internet 1.4k Nov 18, 2021
Swift Library based on AVFoundation that allow to easily add camera feature with custom UI into your project.

Would you like to create your camera same as Snapchat or Instagram? I think this library could help you. Basicly it is a wrapper above AVFoundation th

Taras Chernyshenko 12 Aug 4, 2021
A video composition framework build on top of AVFoundation. It's simple to use and easy to extend.

中文说明 中文使用文档 A high-level video composition framework build on top of AVFoundation. It's simple to use and easy to extend. Use it and make life easier

VideoFlint 1.3k Nov 13, 2021
The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. This is a keyboard to help you test your app from your iOS device.

The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. I have put together

Romain Pouclet 589 Nov 19, 2021
Tool to debug layouts directly on iOS devices: inspect layers in 3D and debug each visible view attributes

Introduction Features Inspect layouts directly on iOS devices Inspection could be triggered only if app is running under DEBUG build configuration, so

Ihor Savynskyi 487 Nov 6, 2021
All the reusable code that we need in each project

SwiftyUtils SwiftyUtils groups all the reusable code that we need to ship in each project. This framework contains: Extensions Protocols Structs Subcl

Tom Baranes 508 Nov 15, 2021
📱AutoLayout can be set differently for each device

DeviceLayout DeviceLayout is a Swift framework that lets you set Auto Layout constraints's differently for each device Using only IBInspector of Xcode

Cruz 172 Nov 6, 2021
All the reusable code that we need in each project

SwiftyUtils SwiftyUtils groups all the reusable code that we need to ship in each project. This framework contains: Extensions Protocols Structs Subcl

Tom Baranes 493 Apr 27, 2021
Say goodbye to the Fat ugly singleton Network Manager with this Network Layer

MHNetwork Protocol Oriented Network Layer Aim to avoid having bloated singleton NetworkManager Philosophy the main philosophy behind MHNetwork is to h

Mohamed Emad Hegab 16 Oct 18, 2021
Use any custom view as custom callout view for MKMapView with cool animations. Use any image as annotation view.

MapViewPlus About MapViewPlus gives you the missing methods of MapKit which are: imageForAnnotation and calloutViewForAnnotationView delegate methods.

Okhan Okbay 158 Jun 3, 2021
A fully customisable and modern camera implementation for iOS made with AVFoundation.

Features Extremely simple and easy to use Controls autofocus & exposure Customizable interface Code-made UI assets that do not lose resolution quality

Gabriel Alvarado 1.3k Nov 11, 2021
:monkey::camera: Camera engine for iOS, written in Swift, above AVFoundation. :monkey:

?? The most advanced Camera framework in Swift ?? CameraEngine is an iOS camera engine library that allows easy integration of special capture feature

Remi ROBERT 559 Sep 25, 2021
AudioPlayer is syntax and feature sugar over AVPlayer. It plays your audio files (local & remote).

AudioPlayer AudioPlayer is a wrapper around AVPlayer. It also offers cool features such as: Quality control based on number of interruption (buffering

Kevin Delannoy 652 Nov 23, 2021
ModernAVPlayer is a persistence AVPlayer wrapper

ModernAVPlayer ModernAVPlayer is a persistence AVPlayer wrapper ++ Cool features ++ Get 9 nice and relevant player states (playing, buffering, loading

no reason PROJECTS 220 Nov 19, 2021