Skip to content

Commit eb860eb

Browse files
authored
OTPublisher change from OTPublisherKit and readme with H264 only (#274)
1 parent 67a3e1b commit eb860eb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Broadcast-Ext/OpenTok Live/OTBroadcastExtHelper.m

+3-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ @implementation OTBroadcastExtHelper
2020

2121
// OT vars
2222
OTSession* _session;
23-
OTPublisherKit* _publisher;
23+
OTPublisher* _publisher;
2424
OTSubscriber* _subscriber;
2525
OTBroadcastExtAudioDevice* _audioDevice;
2626

@@ -99,9 +99,8 @@ - (void)doPublish
9999
settings.videoCapture = _videoCapturer;
100100

101101
settings.name = [[UIDevice currentDevice] name];
102-
_publisher =
103-
[[OTPublisherKit alloc] initWithDelegate:self
104-
settings:settings];
102+
_publisher = [[OTPublisher alloc] initWithDelegate:self
103+
settings:settings];
105104

106105
// We need to set publishAudio to false
107106
// since we don't know the broadcast session is

Broadcast-Ext/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Broadcast Extension sample app
22
===========================
33

4+
** The sample app will only work with H264 video codec. Make sure that your API key is enabled for it.** Please contact
5+
support if you want it to be enabled.
6+
47
The Broadcast Extension app shows how to implement the iOS Broadcast Upload extension
58
using the OpenTok iOS SDK.
69

0 commit comments

Comments
 (0)