- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4.3 vs 4.1 (new add protocol,parameters ) how to use it?
I‘m try
url = 'rtmp://127.0.0.1/live/ttttt' (rtmp service is ok)
stream = roomId + '-common'
media = { audio: { from: stream }, video: { from: stream, parameters: { keyFrameInterval: 2 } } }
protocol = 'rtmp'
parameters = {method: 'PUT'}
error : startStreamingOut failed (startStreamingOut : {"error":{"code":2001,"message":"Error RPC:addServerSideS
ubscription failed"}}
)
Do you have an example?
Thank you!
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The detail format can be found in REST API document.
POST ${host}/v1/rooms/{roomId}/streaming-outs
{
protocol: "rtmp" | "rtsp" | "hls" | "dash",
url: "your url"
media: { audio: { from: "xxx" }, video: {from: "xxx"}}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@
Li C. (Intel)
V4.3
REST API var startStreamingOut = function(room, protocol, url, parameters, media, callback, callbackError) {}
send format :
var protocol = 'rtmp' var parameters = {method: 'put'}
icsREST.API.startStreamingOut(
room,
protocol,
url,
parameters ,
media: { audio: { from: "xxx" }, video: {from: "xxx"}}
)
result:"{"error":{"code":2001,"message":"Error RPC:addServerSideSubscription failed"}}"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sorry,my audio_agent not supporting fdk_aac。
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page