Skip to content

how to send voice message? #38

@rising32

Description

@rising32

stop = () => {
NimSession.endAudioRecord();
console.log('audio length = ', this.state.audioLength);
};

record = () => {
NimSession.onTouchVoice();
NimSession.startAudioRecord();
};

when I send voice message to server,
NimSession.sendAudioMessage(path, duration);

in here, please explain about path in detail.....

now in my app, it occurs record error - 录音失败,请重试

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions