I am using opentok(tokbox) for a video chat app. I tried swift code provided by the developer. hen I run the code in device, both publisher and subscriber shows the camera input of the device only.I tried with two device with same session and token. Please advice
Asked
Active
Viewed 480 times
1 Answers
2
I'm guessing you're using the opentok-ios-sdk-samples-swift repo with the Basic Video Chat Example. It is setup to subscribe to yourself so that you can see it working. If you don't want to subscribe to yourself set the subscribeToSelf variable to false here: https://github.com/opentok/opentok-ios-sdk-samples-swift/blob/master/Basic-Video-Chat/Basic-Video-Chat/ViewController.swift#L38

Adam Ullman
- 1,517
- 7
- 12
-
Yes, I am using Basic Video Chat . I shall change subscribeToSelf to false and check it. – Vinod Jul 13 '17 at 02:08