Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ These properties are required for **both** Publishers and Subscribers.
| bufferTime | number | 0.5 | Default buffer. |
| streamBufferTime | number | 4 | Default buffer for subscribers to allow on the server in sending packets. |
| parameters | string | none | Optional connection parameters. Often used for authentication. ***[See Note Below](#parameters-configuration-property)** |
| inheritAVSessionOptions | boolean | `REQUIRED` | Flag to allow SDK to set AVSessionCategroy options. Setting this to _true_ will have Red5Pro manage the audio session. |
| key | string | `REQUIRED` | Unique key to be used internally to access the configuration object. |

### Parameters Configuration Property
Expand Down
2 changes: 1 addition & 1 deletion ios/R5VideoView/R5VideoView/R5VideoViewManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ @implementation R5VideoViewManager
configuration.buffer_time = [json[@"bufferTime"] floatValue];
configuration.stream_buffer_time = [json[@"streamBufferTime"] floatValue];
configuration.parameters = json[@"parameters"];

configuration.inheritAVSessionOptions = [json[@"inheritAVSessionOptions"] boolValue];
[view loadConfiguration:configuration forKey:json[@"key"]];

}
Expand Down
1 change: 1 addition & 0 deletions src/view/R5VideoView.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ R5VideoView.propTypes = {
bufferTime: PropTypes.number,
streamBufferTime: PropTypes.number,
parameters: PropTypes.string,
inheritAVSessionOptions: PropTypes.bool.isRequired,
key: PropTypes.string.isRequired
}).isRequired,
onConfigured: PropTypes.func,
Expand Down