Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aes67
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aes-standards
aes67
Commits
983916c9
Commit
983916c9
authored
3 years ago
by
phil
Browse files
Options
Downloads
Patches
Plain Diff
command documentation
parent
03353084
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/aes67/utils/sapd.h
+19
-3
19 additions, 3 deletions
src/include/aes67/utils/sapd.h
with
19 additions
and
3 deletions
src/include/aes67/utils/sapd.h
+
19
−
3
View file @
983916c9
...
...
@@ -172,13 +172,13 @@ extern "C" {
/**
* RAVLIST known ravenna sessions
*
* Command: ravls [
SPACE
<return-sdp> [
SPACE
<session-name>]] NL
* Command: ravls [<return-sdp> [<session-name>]] NL
* <return-sdp> 0 (default) do not return, 1 do return -> if 0 implies returned <sdp-len> = 0
* <origin> If given will only return matching session
*
* On success returns a series of RAVLS items (see below) terminated by an OK (NL)
*
* RAVLS
SPACE
<state>
SPACE
<last-activity>
SPACE
<sdp-len>
SPACE
<hosttarget>
SPACE
<port>
SPACE <ipv4> SPACE
<session-name> NL [<sdp>]
* RAVLS <state> <last-activity> <sdp-len> <hosttarget> <port>
<ipv4-str>
<session-name> NL [<sdp>]
*
* <state> (also see enum rav_state in sapd.c)
* 0 error (inactive)
...
...
@@ -187,6 +187,7 @@ extern "C" {
* 3 published through SAP
* (4 published + updated (note, this is an transitory state and should be treated like 3)
* 5 not published (ie inactive), most likely because was announced through SAP by another host
* 6 self-hosted (ravenna sessions as made available/announced by daemon)
* <last-activity> typical timestamp in sec from last update
* <sdp-len> length of sdp payload which follows terminating NL
* <hosttarget> hostname as discovered through mdns
...
...
@@ -200,12 +201,27 @@ extern "C" {
#define AES67_SAPD_RESULT_RAV_LIST "RAVLS"
#define AES67_SAPD_RESULT_RAV_LIST_FMT "RAVLS %d %lu %u %s %hu %s %s"
/**
* RAVPUB / RAVUNPUB
* Publish / Unpublish a discovered ravenna service through / from SAP server
*
* Command: ravpub/ravunpub <session-name>
*/
#define AES67_SAPD_CMD_RAV_PUBLISH "ravpub"
#define AES67_SAPD_CMD_RAV_PUBLISH_FMT "ravpub %s"
#define AES67_SAPD_CMD_RAV_UNPUBLISH "ravunpub"
#define AES67_SAPD_CMD_RAV_UNPUBLISH_FMT "ravunpub %s"
/**
* RAVAN / RAVUNAN
* Announce / unannounce a locally managed service as ravenna session (publishing mdns service and providing
* SDP file lookup service through RTSP)
*
* Command: ravan/ravunan <origin> NL
*
* Note: announcing a ravenna session will add the given service to the ravls-able ravenna sessions (with a particular
* state)
*/
#define AES67_SAPD_CMD_RAV_ANNOUNCE "ravan"
#define AES67_SAPD_CMD_RAV_UNANNOUNCE "ravunan"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment