Shaka Player Embedded
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes
ShakaPlayer.h File Reference
#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>
#include "error_objc.h"
#include "macros.h"
#include "manifest_objc.h"
#include "net_objc.h"
#include "player_externs_objc.h"
#include "stats_objc.h"
#include "track_objc.h"

Go to the source code of this file.

Classes

protocol  <ShakaPlayerClient >
 
protocol  <ShakaPlayerNetworkFilter >
 
class  ShakaPlayerUiInfo
 
class  ShakaPlayer
 
typedef void(^ ShakaPlayerAsyncBlock) (ShakaPlayerError *_Nullable)
 
typedef NS_ENUM (NSInteger, ShakaPlayerLogLevel)
 
NS_ASSUME_NONNULL_BEGIN NSString * ShakaPlayerLicenseServerConfig (const NSString *key_system)
 
NSString * ShakaPlayerAdvancedDrmConfig (const NSString *key_system, const NSString *config)
 

Typedef Documentation

§ ShakaPlayerAsyncBlock

typedef void(^ ShakaPlayerAsyncBlock) (ShakaPlayerError *_Nullable)

This creates a configuration key that sets the license server URL for the given key system.

[player configure:ShakaPlayerLicenseServerConfig(@"com.widevine.alpha")
withString:@"https://example.com/server"];

Definition at line 36 of file ShakaPlayer.h.

Function Documentation

§ NS_ENUM()

typedef NS_ENUM ( NSInteger  ,
ShakaPlayerLogLevel   
)

This creates a configuration key that sets the license server URL for the given key system.

[player configure:ShakaPlayerLicenseServerConfig(@"com.widevine.alpha")
withString:@"https://example.com/server"];

Definition at line 38 of file ShakaPlayer.h.

§ ShakaPlayerAdvancedDrmConfig()

NSString* ShakaPlayerAdvancedDrmConfig ( const NSString *  key_system,
const NSString *  config 
)

This creates a configuration key that sets advanced DRM configuration for the given key system.

[player configure:ShakaPlayerAdvancedDrmConfig(@"com.widevine.alpha", @"videoRobustness")
withString:@"SW_SECURE_DECODE"];

Definition at line 214 of file ShakaPlayer.mm.

§ ShakaPlayerLicenseServerConfig()

NS_ASSUME_NONNULL_BEGIN NSString* ShakaPlayerLicenseServerConfig ( const NSString *  key_system)

This creates a configuration key that sets the license server URL for the given key system.

[player configure:ShakaPlayerLicenseServerConfig(@"com.widevine.alpha")
withString:@"https://example.com/server"];

Definition at line 209 of file ShakaPlayer.mm.