Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTok Archiving Single Stream #177

Closed
shakil807g opened this issue Sep 10, 2018 · 4 comments
Closed

OpenTok Archiving Single Stream #177

shakil807g opened this issue Sep 10, 2018 · 4 comments

Comments

@shakil807g
Copy link

My use case is i'm using opentok video calling feature for broadcasting live stream where multiple user subscribe to a stream but only one can publish it .and i want to only archive only the publisher stream not other subscribers is it possible .

@marinaserranomontes
Copy link
Contributor

Hi @shakil807g ,

To recorder the publisher stream, you have several options:

  • You can use the MediaProjection API to record the screen.
  • You can use the MediaRecorder, but please note, you don't need to use a CustomCapturer, you can setup the MediaRecorder in the Activity, and feed it with the input surfaces for the publisher.
  • You can use MediaCodec to directly save the publisher video frames using a video encoder. In this case, you will need to build your own capturer in that case.

The last option seems to be the most difficult, so I recommend to you to try MediaProjection or MediaRecorder.

@shakil807g
Copy link
Author

@marcioaffonso Can i save the single stream to server with opentok archiving api instead of storing locally ??

@marinaserranomontes
Copy link
Contributor

@shakil807g You could use the individual stream archiving option.
https://tokbox.com/developer/guides/archiving/#individual-stream-and-composed-archives

@marinaserranomontes
Copy link
Contributor

Hi @shakil807g ,

I’m closing this issue because it has been inactive for a few weeks.

Please reopen if you still encounter this issue. You can also contribute directly to samples by providing a patch.

Thank you!

Best,
Marina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants