Getting Error Media info after version update

Lee

New Member
Hi, after update to v.0.5.28.2753-5.2.133 of WCS, It stopped working.
I found on Javascript that stream.getRecordInfo() returns undefined on publishLocalMedia function.
Before update the version, was working fine.
I need to get strem file name on this point.
Can you help me?


//publish local video
function publishLocalMedia(room) {
var constraints = {
audio: true,
video: true
};
var display = document.getElementById("localDisplay");
if (Browser.isSafariWebRTC()) {
Flashphoner.playFirstVideo(display, true);
}
room.publish({
display: display,
constraints: constraints,
record: true,
receiveVideo: false,
receiveAudio: false
}).on(STREAM_STATUS.FAILED, function (stream) {
console.warn("Local stream failed!");
setStatus("#localStatus", stream.status());
onMediaStopped(room);
}).on(STREAM_STATUS.PUBLISHING, function (stream) {
setStatus("#localStatus", stream.status());
onMediaPublished(stream);
var filename = stream.getRecordInfo();
alert(filename );
// my function continues here...

}).on(STREAM_STATUS.UNPUBLISHED, function(stream) {
setStatus("#localStatus", stream.status());
onMediaStopped(room);
});
}
 

Max

Administrator
Staff member
Good day.
Please check if the problem reproduced with Conference example. If not please provide us a code example with a minimum changes to reproduce a problem.
 

Lee

New Member
By the way, when update the version it changes the flashphoner.properties file? It keeps the same configuration?

Thanks,
 

Lee

New Member
Sorry for posting other question in the same message: I see the stream recording on server, but cannot get the file name using stream.getRecordInfo(). And I noticed that stops recording after 1 minute. Need to click PUBLISH button again (and creates another file). Is any configuration on flashphoner.properties? We did not change after software update.
(we are in production and stopped working)

Thanks,
 

Max

Administrator
Staff member
Good day.
when update the version it changes the flashphoner.properties file? It keeps the same configuration?
No, flashphoner.properties file is not changed while updating 5.1 to 5.1 and 5.1 to 5.2 versions.
And I noticed that stops recording after 1 minute. Need to click PUBLISH button again (and creates another file)
Seems like stream publishing is stopped. Please, collect a report as described here and send to support@flashphoner.com, we will check.
 
Top