Enabling Debug Information on Screen

QUESTION:

How can I enable debug information in the publish preview?

 

ANSWER:

For Android:

In the file responsible for publishing add the following line to the onCreateView function:

publish = new R5Stream(connection);
publish.setLogLevel(R5Stream.LOG_LEVEL_DEBUG);

Then add this line to wherever you attach the R5VideoView to the stream:

r5VideoView.attachStream(publish);
r5VideoView.showDebugView(res.getBoolean(R.bool.debugView));

 

For iOS:

In your ViewController add the following line under viewDidLoad:

r5_set_log_levelr(5_log_level_debug);

 Then add this line to wherever you attach the R5VideoView to the stream:

R5VideoViewController.showDebugInfo:(BOOL)
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.