Skip to content

Commit

Permalink
{FEC} Updated existing documents (#855)
Browse files Browse the repository at this point in the history
Update documents
  • Loading branch information
ethouris authored and rndi committed Sep 10, 2019
1 parent c5787c3 commit b5da1ef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/API-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ connection parties.
#### SRT_REJ_FILTER

The `SRTO_PACKETFILTER` option has been set differently on both connection
parties (NOTE: this flag may not exist yet in this version).
parties.


### srt_rejectreason_str
Expand Down
11 changes: 11 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,17 @@ dropped

---

| OptName | Since | Binding | Type | Units | Default | Range |
| --------------------- | ----- | ------- | ------ | ------ | -------- | ------- |
| `SRTO_PACKETFILTER` | 1.4.0 | pre | string | | | [...512]|

- **[SET]** - Set up the packet filter. The string must match appropriate syntax
for packet filter setup.

For details, see [Packet Filtering & FEC](packet-filtering-and-fec.md).

---

| OptName | Since | Binding | Type | Units | Default | Range |
| ------------------- | ----- | ------- | ------ | ----- | -------- | -------- |
| `SRTO_PASSPHRASE` | 0.0.0 | pre | string | | [0] | [10..79] |
Expand Down
6 changes: 3 additions & 3 deletions srtcore/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,10 +594,10 @@ class CSeqNo
/// and with the statement that only the sign of the result matters.
/// That is, it returns a negative value if seq1 < seq2,
/// positive if seq1 > seq2, and zero if they are equal.
/// The only tolerable use of this function is only when you
/// compare two values and it works faster than seqoff, however
/// The only correct application of this function is when you
/// compare two values and it works faster than seqoff. However
/// the result's meaning is only in its sign. DO NOT USE THE
/// VALUE for any other purpose and its not meant to be the
/// VALUE for any other purpose. It is not meant to be the
/// distance between two sequence numbers.
///
/// Example: to check if (seq1 %> seq2): seqcmp(seq1, seq2) > 0.
Expand Down

0 comments on commit b5da1ef

Please sign in to comment.