我想通过wowza rest api (/v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries).创建facebook流
Parameters `{
"shoutcast.destination": "",
"icecast2.public": false,
"akamai.destinationServer": "",
"shoutcast.icq": "",
"facebook.eventSourceName": "",
"timeToLive": 0,
"password": "",
"facebook.destType": "",
"rtpWrap": false,
"icecast2.name": "",
"akamai.hostId": "",
"icecast2.icq": "",
"host": "",
"connectionFlashVersion": "",
"cupertino.renditions": "",
"facebook.title": "",
"debugPackets": false,
"shoutcast.public": false,
"shoutcast.aim": "",
"profile": "",
"icecast2.description": "",
"sessionStatus": "",
"shoutcast.metaname": "",
"icecast2.genre": "",
"facebook.destId": "",
"queryString": "",
"akamai.eventName": "",
"version": "",
"shoutcast.name": "",
"sendStreamCloseCommands": false,
"port": 0,
"sendFCPublish": false,
"icecast2.aim": "",
"http.playlistCount": 0,
"http.playlistTimeout": 0,
"facebook.destName": "",
"audioPort": "",
"icecast2.metaname": "",
"sourceStreamName": "",
"connectionCode": "",
"localBindAddress": "",
"shoutcast.protocol": "",
"debugLogChildren": false,
"serverName": "",
"adaptiveStreaming": false,
"facebook.eventSourceType": "",
"enabled": false,
"shoutcast.irc": "",
"sendReleaseStream": false,
"shoutcast.url": "",
"icecast2.irc": "",
"facebook.description": "",
"debugLog": false,
"shoutcast.genre": "",
"akamai.streamId": "",
"akamai.hdNetwork": false,
"adaptiveGroups": "",
"saveFieldList": [
""
],
"http.playlistAcrossSessions": false,
"secureTokenSharedSecret": "",
"http.fakePosts": false,
"sendSSL": false,
"sendOriginalTimecodes": false,
"icecast2.destination": "",
"facebook.accessToken": "",
"userName": "",
"facebook.privacy": "",
"streamName": "",
"removeDefaultAppInstance": false,
"videoPort": "",
"http.writerDebug": false,
"icecast2.url": "",
"akamai.sendToBackupServer": false,
"destinationServer": "",
"application": "",
"entryName": "",
"streamWaitTimeout": 0,
"appInstance": "",
"originalTimecodeThreshold": "",
"autoStartTranscoder": false,
"sanjose.representationId": ""
}`
根据api文档,它们是很多参数,我在api调用过程中传递了这些参数,但他们没有提到适当的文档。
请帮帮我:)
发布于 2016-11-24 13:28:04
以下参数可用于通过REST API创建Facebook流目标。(/v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries)
{
"entryName": "fb-api",
"profile": "rtmp-facebook",
"sourceStreamName": "{StreamName}",
"facebook.title": "Live Test",
"facebook.destType": "timeline",
"facebook.destId": "{DestinationPageId}",
"facebook.destName": "My Timeline",
"facebook.description": "This is Wowza live test",
"facebook.accessToken": "{FacebookAccessToken}",
"facebook.privacy": "onlyMe",
"extraOptions": {
"destinationName": "facebook"
},
"enabled": true
}
如果您有权访问安装了Wowza的文件系统,则可以看到在\conf{appName}\PushPublishMap.txt文件中创建的所有流目标。您可以通过Wowza streaming engine接口配置一个流目标,并打开此文件以了解使用REST API的特定类型的流目标所需的参数。
请注意,这对Wowza Streaming Engine 4.5及以上版本有效。
https://stackoverflow.com/questions/40545900
复制相似问题