Can we set opentok publisher view resolution ?
I want to set Opentok publisher stream resolution , so Could you tell me how to setting streamming resolution using this SDK.
You can use styles for it like i.e
<OpenTok.PublisherView
style={{ height: 100, width: 200 }}
sessionId={sessionId}
onPublishStart={() => { console.log('started')}}
/>
I think that is the size of OpenTok PublisherView but I want the streaming resolution. when I check that streaming resolution via OpenTok Playground , that is set 600 * 480. I want to set the resolution with 1024 * 768 when I do streaming. is it possible using this link ? Looking forward your solving. Thanks.
OTPublisherSettings *_publisherSettings = [[OTPublisherSettings alloc] init]; _publisherSettings.name = @"Bob's video"; _publisherSettings.audioTrack = NO; _publisherSettings.videoTrack = YES; _publisherSettings.cameraResolution = OTCameraCaptureResolutionHigh; _publisherSettings.cameraFrameRate = OTCameraCaptureFrameRate30FPS; _publisher = [[OTPublisher alloc] initWithDelegate:self settings:_publisherSettings];
here is original Opentok SDK for iPhone and there is option for setting Resolution and is there same function on this SDK ?
@RoyalDeveloper2015 There is no such a thing right now, but we could implement it, is a cool feature – good tip – thank you. Are you interested in making a PR?
yes, if I can contribute to this , it would be appreciate.
I've already added for that and how can I commit that to this ?