Hi all!
Does gocoder SDK sample should work on iPad 4 iOS 10.3.3 ?
We use gocoder sdk for streaming wowza from mobile devies. It works fine on iPhones, iPad Pro ios 11 , but doesnt work on iPad 4 iOS 10.3.3
I launch WowzaGoCoderSDKSampleApp (target SwiftSDKSampleApp) and it doesnt stream as well.
Please find the logs bellow:
WowzaGoCoderSDK version =
major: 1
minor: 5
revision: 1
build: 949
string: 1.5.1
verbose string: 1.5.1.949
Platform Info:
Device Model = iPad3,4 [iPad (4th Generation)], OS Version = Version 10.3.3 (Build 14G60)
2018-07-25 10:38:52.873601+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Registering application with license key GOSK-3C45-010C-B70D-DB40-1A20, SDK version: 1.5.1.949
2018-07-25 10:38:52.916072+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Registering application with license key GOSK-3C45-010C-B70D-DB40-1A20, SDK version: 1.5.1.949
2018-07-25 10:38:52.921255+0300 SwiftSDKSampleApp[297:27260] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-07-25 10:38:52.928526+0300 SwiftSDKSampleApp[297:27260] [MC] Reading from public effective user settings.
Camera permission is: authorized
Microphone permission is: authorized
2018-07-25 10:38:52.987843+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:38:52.988850+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Config changed - resetting capture manager
2018-07-25 10:38:53.059299+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Setting Capture Orientation to 1
2018-07-25 10:38:53.059735+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Setting Capture Orientation to 1
2018-07-25 10:38:53.066301+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:38:53.125937+0300 SwiftSDKSampleApp[297:27260] Sample Rate:48000Hz I/O Buffer Duration:0.021333
2018-07-25 10:38:53.140313+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Setting Capture Orientation to 1
2018-07-25 10:38:53.140604+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:38:53.140738+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Starting capture with frame rotation angle = 0
2018-07-25 10:38:53.500795+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Starting Capture with config:
WOWZMediaConfig:
Video Enabled = YES
Video Width = 640
Video Height = 480
Video Frame Rate = 30
Video Keyframe Interval = 30
Video Bitrate = 1500000
Front Camera Mirroring = On
Use HLS Playback = Off
HLS Fallback Url: (null)
Audio Enabled = YES
Audio Channels = 2
Audio Sample Rate = 0
Audio Bitrate = 0
Rotate Video = YES
Rotate Preview = NO
Broadcast Orientation = Same as Device
Broadcast Scale Mode = Aspect Fit
Low bandwidth scaling factor = 0.75
Frame buffer size multiplier = 4
Encoder Skip Frame Count = 4
Background Broadcast Enabled = NO
WOWZStreamConfig:
Host Address = (null)
PortNumber = 1935
Application Name = (null)
Stream Name = (null)
Username = (null)
Query String = (null)
2018-07-25 10:38:53.612029+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:41:01.697254+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:41:02.804619+0300 SwiftSDKSampleApp[297:27260] Warning: Libinfo call to mDNSResponder on main thread
2018-07-25 10:41:02.903897+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Default socket buffer size: 131072 with err = 0
2018-07-25 10:41:02.904024+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updated socket buffer size: 1024000 with err = 0
2018-07-25 10:41:03.483197+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Connected
2018-07-25 10:41:03.485868+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Preparing broadcaster with width = 640, height = 480, frameRate = 30, video bitRate = 1500000, audio sample rate = 48000, audio bitrate = 128000
2018-07-25 10:41:03.874191+0300 SwiftSDKSampleApp[297:27260] Session state changed from HANDSHAKE_SERVER0_SENT to CONNECT_SENT
2018-07-25 10:41:03.874499+0300 SwiftSDKSampleApp[297:27260] Sending message with the following properties:
2018-07-25 10:41:03.874715+0300 SwiftSDKSampleApp[297:27260] [00]: “connect”,
[01]: 1,
[02]: {“app”: “dev02?authmod=adobe&user=guardian”,
"flashVer": “Wowza GoCoder SDK/1.0”,
"swfUrl": “WowzaTransportSDK”,
"tcUrl": “wowz://tst01.ccoc.applabs.nec.com.au:1935/dev02?authmod=adobe&user=guardian”,
"fpad": false,
"audioCodecs": 3191,
"videoCodecs": 252,
"pageUrl": “”}
2018-07-25 10:41:04.343133+0300 SwiftSDKSampleApp[297:27260] message[setbuffersize:unknown]: size:6 cmdId:0
2018-07-25 10:41:04.343339+0300 SwiftSDKSampleApp[297:27260] Function call FAILURE result received with the following properties:
2018-07-25 10:41:04.343454+0300 SwiftSDKSampleApp[297:27260] [00]: “_error”,
[01]: 1,
[02]: (NULL),
[03]: {“level”: “error”,
"code": “NetConnection.Connect.Rejected”,
"description": “[ AccessManager.Reject ] : [ authmod=adobe ] : ?reason=needauth&user=guardian&salt=E/KAsA==&challenge=4FKcIg==&opaque=4FKcIg==”}
2018-07-25 10:41:04.343528+0300 SwiftSDKSampleApp[297:27260] Invoking the function response handler for function id 1
2018-07-25 10:41:04.343597+0300 SwiftSDKSampleApp[297:27260] pushPublishMessageReceiveHandleResultConnect: code:NetConnection.Connect.Rejected
2018-07-25 10:41:04.343701+0300 SwiftSDKSampleApp[297:27260] Session state changed from CONNECT_SENT to CONNECT_AUTH_NEEDAUTH
2018-07-25 10:41:04.343925+0300 SwiftSDKSampleApp[297:27260] Session state changed from CONNECT_AUTH_NEEDAUTH to CLOSING
2018-07-25 10:41:04.343995+0300 SwiftSDKSampleApp[297:27260] Session state changed from CLOSING to CLOSED
2018-07-25 10:41:04.344539+0300 SwiftSDKSampleApp[297:27260] Warning: Libinfo call to mDNSResponder on main thread
2018-07-25 10:41:04.347978+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Default socket buffer size: 131072 with err = 0
2018-07-25 10:41:04.348088+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updated socket buffer size: 1024000 with err = 0
2018-07-25 10:41:04.913556+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Connected
2018-07-25 10:41:04.914071+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Preparing broadcaster with width = 640, height = 480, frameRate = 30, video bitRate = 1500000, audio sample rate = 48000, audio bitrate = 128000
2018-07-25 10:41:05.323236+0300 SwiftSDKSampleApp[297:27260] Session state changed from HANDSHAKE_SERVER0_SENT to CONNECT_SENT
2018-07-25 10:41:05.323440+0300 SwiftSDKSampleApp[297:27260] Sending message with the following properties:
2018-07-25 10:41:05.323577+0300 SwiftSDKSampleApp[297:27260] [00]: “connect”,
[01]: 1,
[02]: {“app”: “dev02?authmod=adobe&user=guardian&challenge=cCh7+Q==&response=PGiX9Bds6aEthe6s0t70Zg==&opaque=4FKcIg==”,
"flashVer": “Wowza GoCoder SDK/1.0”,
"swfUrl": “WowzaTransportSDK”,
"tcUrl": “wowz://tst01.ccoc.applabs.nec.com.au:1935/dev02?authmod=adobe&user=guardian&challenge=cCh7+Q==&response=PGiX9Bds6aEthe6s0t70Zg==&opaque=4FKcIg==”,
"fpad": false,
"audioCodecs": 3191,
"videoCodecs": 252,
"pageUrl": “”}
2018-07-25 10:41:05.733344+0300 SwiftSDKSampleApp[297:27260] message[setbuffersize:unknown]: size:6 cmdId:0
2018-07-25 10:41:05.733566+0300 SwiftSDKSampleApp[297:27260] Function call SUCCESS result received with the following properties:
2018-07-25 10:41:05.733711+0300 SwiftSDKSampleApp[297:27260] [00]: “_result”,
[01]: 1,
[02]: {“fmsVer”: “FMS/3,5,7,7009”,
"capabilities": 31,
"mode": 1},
[03]: {“level”: “status”,
"code": “NetConnection.Connect.Success”,
"description": “Connection succeeded.”,
"data": {“version”: “3,5,7,7009”},
"clientid": 1.42246e+09,
"objectEncoding": 0}
2018-07-25 10:41:05.733789+0300 SwiftSDKSampleApp[297:27260] Invoking the function response handler for function id 1
2018-07-25 10:41:05.733858+0300 SwiftSDKSampleApp[297:27260] pushPublishMessageReceiveHandleResultConnect: code:NetConnection.Connect.Success
2018-07-25 10:41:05.733926+0300 SwiftSDKSampleApp[297:27260] Session state changed from CONNECT_SENT to CONNECTED
2018-07-25 10:41:05.734133+0300 SwiftSDKSampleApp[297:27260] Sending message with the following properties:
2018-07-25 10:41:05.734221+0300 SwiftSDKSampleApp[297:27260] [00]: “releaseStream”,
[01]: 0,
[02]: (NULL),
[03]: "5b5826be9ede92401273949a"
2018-07-25 10:41:05.734359+0300 SwiftSDKSampleApp[297:27260] Sending message with the following properties:
2018-07-25 10:41:05.734468+0300 SwiftSDKSampleApp[297:27260] [00]: “createStream”,
[01]: 2,
[02]: (NULL)
2018-07-25 10:41:06.140319+0300 SwiftSDKSampleApp[297:27260] Function call SUCCESS result received with the following properties:
2018-07-25 10:41:06.140523+0300 SwiftSDKSampleApp[297:27260] [00]: “_result”,
[01]: 2,
[02]: (NULL),
[03]: 1
2018-07-25 10:41:06.140606+0300 SwiftSDKSampleApp[297:27260] Invoking the function response handler for function id 2
2018-07-25 10:41:06.140673+0300 SwiftSDKSampleApp[297:27260] pushPublishMessageReceiveHandleResultCreateStream: isError: 0
2018-07-25 10:41:06.140746+0300 SwiftSDKSampleApp[297:27260] Sending message with the following properties:
2018-07-25 10:41:06.140828+0300 SwiftSDKSampleApp[297:27260] [00]: “publish”,
[01]: 3,
[02]: (NULL),
[03]: "5b5826be9ede92401273949a"
2018-07-25 10:41:06.557431+0300 SwiftSDKSampleApp[297:27260] message[setbuffersize:unknown]: size:6 cmdId:0
2018-07-25 10:41:06.968113+0300 SwiftSDKSampleApp[297:27260] Function call request received: onStatus() wth the following parameters:
2018-07-25 10:41:06.968292+0300 SwiftSDKSampleApp[297:27260] [00]: “onStatus”,
[01]: 0,
[02]: (NULL),
[03]: {“level”: “status”,
"code": “NetStream.Publish.Start”,
"description": “Publishing 5b5826be9ede92401273949a.”,
"clientid": 1.42246e+09}
2018-07-25 10:41:06.968374+0300 SwiftSDKSampleApp[297:27260] Invoking registered function handler onStatus() for function onStatus()
2018-07-25 10:41:06.968451+0300 SwiftSDKSampleApp[297:27260] Stream 0 state changed from START to PUBLISH
2018-07-25 10:41:06.976823+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Broadcast Message: Started
2018-07-25 10:41:06.977827+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Video Device - start broadcasting
2018-07-25 10:41:06.977979+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:41:06.978069+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:41:06.978403+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Setting Capture Orientation to 1
2018-07-25 10:41:06.978568+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:41:06.978645+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Starting capture with frame rotation angle = 0
2018-07-25 10:41:07.021127+0300 SwiftSDKSampleApp[297:27839] WowzaGoCoderSDK: correctBufferOrientation: inWidth = 480, inHeight = 640
2018-07-25 10:41:07.021314+0300 SwiftSDKSampleApp[297:27839] WowzaGoCoderSDK: correctBufferOrientation: transforming frames:
x-scale = 0.75
y-scale = 0.75
x-translate = 140.00
y-translate = 0.00
outWidth = 640
outHeight = 480
angle = 0
broadcast orientation = 0
2018-07-25 10:41:07.046396+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Could not enable metering
2018-07-25 10:41:07.046785+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Could not set audio bit rate to target of &d
2018-07-25 10:41:07.047110+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Couldn’t get queue’s maximum output packet size
2018-07-25 10:41:07.047462+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: AudioQueueAllocateBuffer failed
2018-07-25 10:41:07.047645+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: ERROR: the PCM encoder could not be started with the specified audio settings
2018-07-25 10:41:07.061193+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: @@@@@ VideoToolbox compression session created height: 480, width: 640
2018-07-25 10:41:07.085241+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Video Device - stop broadcasting
2018-07-25 10:41:07.085446+0300 SwiftSDKSampleApp[297:27260] Session state changed from CONNECTED to CLOSING
2018-07-25 10:41:07.085528+0300 SwiftSDKSampleApp[297:27260] Session state changed from CLOSING to CLOSED
2018-07-25 10:41:07.106433+0300 SwiftSDKSampleApp[297:27260] <CATransformLayer: 0x14d02d20> - changing property magnificationFilter in transform-only layer, will have no effect
2018-07-25 10:41:07.117060+0300 SwiftSDKSampleApp[297:27260] <CATransformLayer: 0x14d08400> - changing property magnificationFilter in transform-only layer, will have no effect
2018-07-25 10:41:07.150253+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Broadcast Message: Stopped
2018-07-25 10:41:07.321924+0300 SwiftSDKSampleApp[297:27839] WowzaGoCoderSDK: WOWZH264Encoder - stopBroadcastingInternal
2018-07-25 10:41:07.363215+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
2018-07-25 10:41:13.110531+0300 SwiftSDKSampleApp[297:27260] WowzaGoCoderSDK: Updating capture with frame rotation angle = 0
Should it work on iPad?
I tried to change config audio settings, but always result the same: it doesn’t work.
I am looking forward to hearing from you.