Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed swf player

  • Loading branch information...
commit 46ed782a198c362b7f0d81f60fa5bf17dcd6dd5c 1 parent 8b5938e
@maxlapshin maxlapshin authored
View
2  src/apps/apps_recording.erl
@@ -71,7 +71,7 @@
'WAIT_FOR_DATA'({stop}, State) ->
- ?D({"Invalid state in STOP", State#rtmp_client.video_player}),
+ ?D({"Stop command, while not recording", State#rtmp_client.video_player}),
{next_state, 'WAIT_FOR_DATA', State, ?TIMEOUT};
'WAIT_FOR_DATA'(_Message, _State) -> {unhandled}.
View
2  src/media/stream_media.erl
@@ -120,7 +120,7 @@ handle_call({set_owner, _Owner}, _From, #media_info{owner = Owner} = MediaInfo)
handle_call({publish, Channel}, _From, #media_info{device = Device, clients = Clients} = Recorder) ->
Tag = ems_flv:to_tag(Channel),
- ?D({"Record",Channel#channel.id, Channel#channel.type,size(Channel#channel.msg), Channel#channel.delta, Channel#channel.timestamp}),
+ ?D({"Record",Channel#channel.type, Channel#channel.timestamp}),
case Device of
undefined -> ok;
_ -> file:write(Device, Tag)
View
2  wwwroot/player/Player.as
@@ -107,7 +107,7 @@ public function record() : void
_microphone.encodeQuality = 10;
_microphone.rate = 44;
_microphone.framesPerPacket = 2;
- _microphone.gain = 50;
+ _microphone.gain = 80;
_microphone.setUseEchoSuppression(true);
}
if (_camera) {
View
BIN  wwwroot/player/Player.swf
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.